ultralytics icon indicating copy to clipboard operation
ultralytics copied to clipboard

Specify ONNX OpSet version on export

Open sstainba opened this issue 2 years ago • 3 comments

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

sstainba avatar Jan 15 '23 18:01 sstainba

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

knoppmyth avatar Jan 15 '23 20:01 knoppmyth

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!

sstainba avatar Jan 15 '23 20:01 sstainba

You're welcome.

knoppmyth avatar Jan 15 '23 20:01 knoppmyth

👋 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 ⭐

github-actions[bot] avatar Mar 21 '23 00:03 github-actions[bot]

@knoppmyth feel free to reach out if you have any more questions or need further assistance. Happy to help!

pderrenger avatar Nov 16 '23 07:11 pderrenger