Skip to content

Commit

Permalink
load the correct model type
Browse files Browse the repository at this point in the history
  • Loading branch information
cpuhrsch committed Feb 8, 2025
1 parent fa95dcf commit f147fdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/sam2_amg_server/cli_on_modal.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ def build(self):
)
from compile_export_utils import load_exported_model
export_model_path = Path(TARGET) / Path("exported_models")
export_model_path = export_model_path / Path("sam2") / Path("sam2_amg")
export_model_path = export_model_path / Path("sam2") / Path(f"sam2_{self.task_type}")
if not self.baseline:
load_exported_model(mask_generator,
export_model_path,
Expand Down

0 comments on commit f147fdc

Please sign in to comment.