hlydecker commited on
Commit
2b1278f
1 Parent(s): 31c964b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -24,7 +24,7 @@ from detectron2.data import MetadataCatalog, DatasetCatalog
24
  from detectron2.checkpoint import DetectionCheckpointer
25
 
26
  cfg = get_cfg()
27
- cfg.merge_from_file(model_zoo.get_config_file('COCO-Detection/faster_rcnn_R_101_FPN_3x.yaml'))
28
  cfg.MODEL.DEVICE='cpu'
29
  cfg.MODEL.ROI_HEADS.SCORE_THRESH_TEST = 0.5
30
  cfg.MODEL.WEIGHTS = "model_weights/chatswood_buildings_poc.pth"
 
24
  from detectron2.checkpoint import DetectionCheckpointer
25
 
26
  cfg = get_cfg()
27
+ cfg.merge_from_file("model_weights/buildings_poc_cfg.yml")
28
  cfg.MODEL.DEVICE='cpu'
29
  cfg.MODEL.ROI_HEADS.SCORE_THRESH_TEST = 0.5
30
  cfg.MODEL.WEIGHTS = "model_weights/chatswood_buildings_poc.pth"