We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Such as onnx or torchscript
The text was updated successfully, but these errors were encountered:
You can export SAM 2.1 ONNX models for image prediction using export_onnx.py in sam-cpp-macos repository.
Install Segment Anything Model 2 and download checkpoints.
Copy yaml files in sam2/configs/sam2.1 to sam2.
Put export_onnx.py and david-tomaseti-Vw2HZQ1FGjU-unsplash.jpg to the root folder.
To export an ONNX model.
python export_onnx.py --mode export
To check how the ONNX model works.
python export_onnx.py --mode import
You can download exported SAM 2.1 ONNX models.
Sorry, something went wrong.
No branches or pull requests
Such as onnx or torchscript
The text was updated successfully, but these errors were encountered: