yaghi27 commited on
Commit
658c2a4
·
verified ·
1 Parent(s): 410ea00

Update model/utils.py

Browse files
Files changed (1) hide show
  1. 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": (