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