jatamura commited on
Commit
f368cd3
·
verified ·
1 Parent(s): f524400

Update python_utils/get_model.py

Browse files
Files changed (1) hide show
  1. python_utils/get_model.py +1 -1
python_utils/get_model.py CHANGED
@@ -25,7 +25,7 @@ def load_model():
25
  ## define relevant parameters
26
  cfg = get_cfg()
27
  cfg.merge_from_file("./configs/test_model_config.yaml")
28
- cfg.MODEL.WEIGHTS = model_zoo.get_checkpoint_url("./configs/test_model_config.yaml")
29
  if not torch.cuda.is_available():
30
  cfg.MODEL.DEVICE = "cpu"
31
  else:
 
25
  ## define relevant parameters
26
  cfg = get_cfg()
27
  cfg.merge_from_file("./configs/test_model_config.yaml")
28
+ cfg.MODEL.WEIGHTS = model_zoo.get_checkpoint_url("https://huggingface.co/TZProject/test_model/model_final.pth")
29
  if not torch.cuda.is_available():
30
  cfg.MODEL.DEVICE = "cpu"
31
  else: