update to latest SAM 2
This commit is contained in:
@@ -19,6 +19,7 @@ def build_sam2(
|
||||
mode="eval",
|
||||
hydra_overrides_extra=[],
|
||||
apply_postprocessing=True,
|
||||
**kwargs,
|
||||
):
|
||||
|
||||
if apply_postprocessing:
|
||||
@@ -47,6 +48,7 @@ def build_sam2_video_predictor(
|
||||
mode="eval",
|
||||
hydra_overrides_extra=[],
|
||||
apply_postprocessing=True,
|
||||
**kwargs,
|
||||
):
|
||||
hydra_overrides = [
|
||||
"++model._target_=sam2.sam2_video_predictor.SAM2VideoPredictor",
|
||||
|
Reference in New Issue
Block a user