ultralytics
ultralytics copied to clipboard
Specify ONNX OpSet version on export
Search before asking
- [X] I have searched the YOLOv8 issues and discussions and found no similar questions.
Question
When exporting to an ONNX model, is there a way to provide a target OpSet version? The current version is not supported by the .NET ONNX Runtime.
Additional
No response
Yes, this works for me. Note, I'm using OpenCV not .NET.:
yolo mode=export model=runs/detect/train/weights/best.pt imgsz=[640,640] format=onnx opset=11
Yes, this works for me. Note, I'm using OpenCV not .NET.:
yolo mode=export model=runs/detect/train/weights/best.pt imgsz=[640,640] format=onnx opset=11
Awesome. Thanks!
You're welcome.
👋 Hello there! We wanted to give you a friendly reminder that this issue has not had any recent activity and may be closed soon, but don't worry - you can always reopen it if needed. If you still have any questions or concerns, please feel free to let us know how we can help.
For additional resources and information, please see the links below:
- Docs: https://docs.ultralytics.com
- HUB: https://hub.ultralytics.com
- Community: https://community.ultralytics.com
Feel free to inform us of any other issues you discover or feature requests that come to mind in the future. Pull Requests (PRs) are also always welcomed!
Thank you for your contributions to YOLO 🚀 and Vision AI ⭐
@knoppmyth feel free to reach out if you have any more questions or need further assistance. Happy to help!