Caoyunkang commited on
Commit
2984e25
1 Parent(s): a3e6571

Update app.py

Browse files

update eval resolution for faster inference

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -31,7 +31,7 @@ dino_checkpoint = 'weights/groundingdino_swint_ogc.pth'
31
  sam_checkpoint = 'weights/sam_vit_h_4b8939.pth'
32
  box_threshold = 0.1
33
  text_threshold = 0.1
34
- eval_resolution = 1024
35
  device = f"cpu"
36
  root_dir = 'result'
37
 
 
31
  sam_checkpoint = 'weights/sam_vit_h_4b8939.pth'
32
  box_threshold = 0.1
33
  text_threshold = 0.1
34
+ eval_resolution = 256
35
  device = f"cpu"
36
  root_dir = 'result'
37