lkeab commited on
Commit
ffb9fb5
1 Parent(s): c6c496f

udpate app

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -27,6 +27,7 @@ cfg = get_cfg()
27
  # add project-specific config (e.g., TensorMask) here if you're not running a model in detectron2's core library
28
  cfg.merge_from_file(model_name)
29
  cfg.MODEL.ROI_HEADS.SCORE_THRESH_TEST = 0.5 # set threshold for this model
 
30
  # Find a model from detectron2's model zoo. You can use the https://dl.fbaipublicfiles... url as w ell
31
  #cfg.MODEL.WEIGHTS = './output_3x_transfiner_r50.pth'
32
  cfg.MODEL.WEIGHTS = './output_3x_transfiner_r50_deform.pth'
 
27
  # add project-specific config (e.g., TensorMask) here if you're not running a model in detectron2's core library
28
  cfg.merge_from_file(model_name)
29
  cfg.MODEL.ROI_HEADS.SCORE_THRESH_TEST = 0.5 # set threshold for this model
30
+ cfg.VIS_PERIOD = 100
31
  # Find a model from detectron2's model zoo. You can use the https://dl.fbaipublicfiles... url as w ell
32
  #cfg.MODEL.WEIGHTS = './output_3x_transfiner_r50.pth'
33
  cfg.MODEL.WEIGHTS = './output_3x_transfiner_r50_deform.pth'