Spaces:
Runtime error
Runtime error
Update model/utils.py
Browse files- model/utils.py +1 -1
model/utils.py
CHANGED
|
@@ -9,7 +9,7 @@ from huggingface_hub import hf_hub_download
|
|
| 9 |
import mmengine
|
| 10 |
from mmdet3d.apis import init_model, inference_mono_3d_detector
|
| 11 |
|
| 12 |
-
DEVICE = 'cuda' if torch.cuda.is_available() else 'cpu'
|
| 13 |
|
| 14 |
MODEL_REGISTRY: Dict[str, Tuple[str, Tuple[str, str]]] = {
|
| 15 |
"regnetx4.0gf+detr3d": (
|
|
|
|
| 9 |
import mmengine
|
| 10 |
from mmdet3d.apis import init_model, inference_mono_3d_detector
|
| 11 |
|
| 12 |
+
DEVICE = 'cuda:0' if torch.cuda.is_available() else 'cpu'
|
| 13 |
|
| 14 |
MODEL_REGISTRY: Dict[str, Tuple[str, Tuple[str, str]]] = {
|
| 15 |
"regnetx4.0gf+detr3d": (
|