wgetdd commited on
Commit
f21da21
1 Parent(s): b81a943

Update src/detect.py

Browse files
Files changed (1) hide show
  1. src/detect.py +1 -1
src/detect.py CHANGED
@@ -11,7 +11,7 @@ from src.utils import cells_to_bboxes, non_max_suppression, draw_predictions, Yo
11
 
12
  model = YOLOv3(num_classes=20)
13
 
14
- weights_path = "Final_trained_model.pth"
15
  ckpt = torch.load(weights_path, map_location="cpu")
16
  model.load_state_dict(ckpt)
17
  model.eval()
 
11
 
12
  model = YOLOv3(num_classes=20)
13
 
14
+ weights_path = "/home/user/app/Final_trained_model.pth"
15
  ckpt = torch.load(weights_path, map_location="cpu")
16
  model.load_state_dict(ckpt)
17
  model.eval()