mosidi commited on
Commit
1eb44a8
·
1 Parent(s): 53590df

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -91,7 +91,7 @@ def inference(image_url, image, min_score):
91
  # Model expect BGR!
92
  im = image[:,:,::-1]
93
 
94
- cfg.MODEL.ROI_HEADS.SCORE_THRESH_TEST = min_score
95
  predictor = DefaultPredictor(cfg)
96
 
97
  outputs = predictor(im)
 
91
  # Model expect BGR!
92
  im = image[:,:,::-1]
93
 
94
+ cfg.MODEL.ROI_HEADS.SCORE_THRESH_TEST = 0.005
95
  predictor = DefaultPredictor(cfg)
96
 
97
  outputs = predictor(im)