install sam2 the way facebook says
This commit is contained in:
@@ -27,8 +27,8 @@ class MattingConfig:
|
||||
use_disparity_mapping: bool = True
|
||||
memory_offload: bool = True
|
||||
fp16: bool = True
|
||||
sam2_model_cfg: str = "sam2_hiera_l"
|
||||
sam2_checkpoint: str = "sam2_hiera_large.pt"
|
||||
sam2_model_cfg: str = "sam2.1_hiera_l"
|
||||
sam2_checkpoint: str = "segment-anything-2/checkpoints/sam2.1_hiera_large.pt"
|
||||
|
||||
|
||||
@dataclass
|
||||
|
||||
Reference in New Issue
Block a user