Spaces:
Runtime error
Runtime error
Update app.py
Browse filesupdate eval resolution for faster inference
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 =
|
| 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 |
|