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
Firstly thank you for the awesome work.
I've been trying out the demo Jupyter notebooks on Colab but I'm having issues exporting the quantized and optimized model.
The text was updated successfully, but these errors were encountered:
Thanks for writing the issue.
Installing the old onnxruntime version solved the problem in our environment. pip3 install onnxruntime==1.16.0
pip3 install onnxruntime==1.16.0
We could export the quantized onnx model. python3 scripts/export_onnx_model.py --checkpoint sam_vit_b_01ec64.pth --model-type vit_b --output sam_vit_b_01ec64.onnx --quantize-out sam_vit_b_01ec64_q.onnx
python3 scripts/export_onnx_model.py --checkpoint sam_vit_b_01ec64.pth --model-type vit_b --output sam_vit_b_01ec64.onnx --quantize-out sam_vit_b_01ec64_q.onnx
Sorry, something went wrong.
quantize_dynamic
AttributeError: 'NoneType' object has no attribute 'HasField'
No branches or pull requests
Firstly thank you for the awesome work.
I've been trying out the demo Jupyter notebooks on Colab but I'm having issues exporting the quantized and optimized model.
The text was updated successfully, but these errors were encountered: