Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -28,7 +28,7 @@ cfg = get_cfg()
|
|
28 |
cfg.merge_from_file("model_weights/buildings_poc_cfg.yml")
|
29 |
cfg.MODEL.DEVICE='cpu'
|
30 |
cfg.MODEL.ROI_HEADS.SCORE_THRESH_TEST = 0.25
|
31 |
-
cfg.MODEL.WEIGHTS = "model_weights/
|
32 |
cfg.MODEL.ROI_HEADS.NUM_CLASSES = 8
|
33 |
predictor = DefaultPredictor(cfg)
|
34 |
|
|
|
28 |
cfg.merge_from_file("model_weights/buildings_poc_cfg.yml")
|
29 |
cfg.MODEL.DEVICE='cpu'
|
30 |
cfg.MODEL.ROI_HEADS.SCORE_THRESH_TEST = 0.25
|
31 |
+
cfg.MODEL.WEIGHTS = "model_weights/model_final.pth"
|
32 |
cfg.MODEL.ROI_HEADS.NUM_CLASSES = 8
|
33 |
predictor = DefaultPredictor(cfg)
|
34 |
|