Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -43,7 +43,7 @@ def box_cxcywh_to_xyxy(x: torch.Tensor, width: int, height: int) -> torch.Tensor
|
|
43 |
b[:, [1, 3]] *= height
|
44 |
return b
|
45 |
|
46 |
-
GROUNDING_DINO_CONFIG = os.path.join(APP_ROOT, "
|
47 |
GROUNDING_DINO_CHECKPOINT = os.path.join(APP_ROOT, "weights/groundingdino_swint_ogc.pth")
|
48 |
SAM_CHECKPOINT = os.path.join(APP_ROOT, "weights/sam_l.pt")
|
49 |
|
|
|
43 |
b[:, [1, 3]] *= height
|
44 |
return b
|
45 |
|
46 |
+
GROUNDING_DINO_CONFIG = os.path.join(APP_ROOT, "groundingdino_loca/groundingdino/config/GroundingDINO_SwinT_OGC.py")
|
47 |
GROUNDING_DINO_CHECKPOINT = os.path.join(APP_ROOT, "weights/groundingdino_swint_ogc.pth")
|
48 |
SAM_CHECKPOINT = os.path.join(APP_ROOT, "weights/sam_l.pt")
|
49 |
|