asalhi85 commited on
Commit
bbda759
1 Parent(s): eb6d037

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -25,7 +25,7 @@ from detectron2.data import MetadataCatalog
25
  model_path = "https://huggingface.co/dbmdz/detectron2-model/resolve/main/model_final.pth"
26
 
27
  cfg = get_cfg()
28
- cfg.merge_from_file("./configs/detectron2/faster_rcnn_R_50_FPN_3x.yaml")
29
  cfg.MODEL.ROI_HEADS.NUM_CLASSES = 2
30
  cfg.MODEL.WEIGHTS = model_path
31
 
 
25
  model_path = "https://huggingface.co/dbmdz/detectron2-model/resolve/main/model_final.pth"
26
 
27
  cfg = get_cfg()
28
+ cfg.merge_from_file("./faster_rcnn_R_50_FPN_3x.yaml")
29
  cfg.MODEL.ROI_HEADS.NUM_CLASSES = 2
30
  cfg.MODEL.WEIGHTS = model_path
31