Update engine.py
Browse files
engine.py
CHANGED
@@ -10,7 +10,7 @@ from utils.geometry import center_pointmaps, uncenter_pointmaps
|
|
10 |
# import wandb
|
11 |
# from utils import misc
|
12 |
# from torch.amp import GradScaler
|
13 |
-
|
14 |
from utils.geometry import depth2pts
|
15 |
|
16 |
def batch_to_device(batch,device='cuda'):
|
|
|
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'):
|