Spaces:
Running
Running
Update florence_sam/utils/sam.py
Browse files
florence_sam/utils/sam.py
CHANGED
@@ -7,7 +7,7 @@ from PIL import Image
|
|
7 |
from sam2.build_sam import build_sam2, build_sam2_video_predictor
|
8 |
from sam2.sam2_image_predictor import SAM2ImagePredictor
|
9 |
|
10 |
-
SAM_CHECKPOINT = "checkpoints/sam2_hiera_small.pt" #"./checkpoints/sam2_hiera_small.pt"
|
11 |
SAM_CONFIG = "sam2_hiera_s.yaml"
|
12 |
|
13 |
|
|
|
7 |
from sam2.build_sam import build_sam2, build_sam2_video_predictor
|
8 |
from sam2.sam2_image_predictor import SAM2ImagePredictor
|
9 |
|
10 |
+
SAM_CHECKPOINT = "./florence_sam/checkpoints/sam2_hiera_small.pt" #"./checkpoints/sam2_hiera_small.pt"
|
11 |
SAM_CONFIG = "sam2_hiera_s.yaml"
|
12 |
|
13 |
|