asalhi85 commited on
Commit
64b01d4
1 Parent(s): bbda759

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("./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_X_101_32x8d_FPN_3x.yaml")
29
  cfg.MODEL.ROI_HEADS.NUM_CLASSES = 2
30
  cfg.MODEL.WEIGHTS = model_path
31