bartduis commited on
Commit
db4b25c
·
verified ·
1 Parent(s): 46766bf

Update engine.py

Browse files
Files changed (1) hide show
  1. engine.py +11 -9
engine.py CHANGED
@@ -1,15 +1,17 @@
1
  bb=breakpoint
2
  import torch
3
- from utils.geometry import center_pointmaps, uncenter_pointmaps
4
- from utils.utils import scenes_to_batch, batch_to_scenes
5
  from utils.batch_prep import prepare_fast_batch, normalize_batch, denormalize_batch
6
- from utils.viz import save_pointmaps
7
- from tqdm import tqdm
8
- import wandb
9
- from utils import misc
10
- from torch.amp import GradScaler
11
- from utils.eval import eval_pred
12
- from utils.geometry import depth2pts
 
 
 
 
13
 
14
  def batch_to_device(batch,device='cuda'):
15
  for key in batch:
 
1
  bb=breakpoint
2
  import torch
 
 
3
  from utils.batch_prep import prepare_fast_batch, normalize_batch, denormalize_batch
4
+ from utils.utils import scenes_to_batch, batch_to_scenes
5
+ from utils.geometry import center_pointmaps, uncenter_pointmaps
6
+
7
+
8
+ # from utils.viz import save_pointmaps
9
+ # from tqdm import tqdm
10
+ # import wandb
11
+ # from utils import misc
12
+ # from torch.amp import GradScaler
13
+ # from utils.eval import eval_pred
14
+ # from utils.geometry import depth2pts
15
 
16
  def batch_to_device(batch,device='cuda'):
17
  for key in batch: