fix sam2 hopefully
This commit is contained in:
@@ -19,7 +19,7 @@ class SAM2VideoMatting:
|
||||
"""SAM2-based video matting with memory optimization"""
|
||||
|
||||
def __init__(self,
|
||||
model_cfg: str = "sam2_hiera_l.yaml",
|
||||
model_cfg: str = "sam2_hiera_l",
|
||||
checkpoint_path: str = "sam2_hiera_large.pt",
|
||||
device: str = "cuda",
|
||||
memory_offload: bool = True,
|
||||
|
||||
Reference in New Issue
Block a user