Guide - How to interpet onnx predictions from detection model #18776
Replies: 2 comments
-
👋 Hello @romanvelichkin, thank you for sharing your conversion process and interpretation guide for YOLO ONNX predictions 🚀! This level of detail is super insightful for the community. For clarity and to ensure we address any potential issues with using the
Additionally, ensure your pip install -U ultralytics For more guidance:
For simplicity, for ONNX workflows and deployment environments, also review our tested setups:
Lastly, an Ultralytics engineer will be here soon to dive deeper into your workflow 🚀✨. Thank you for contributing to the ONNX inference space for YOLO models! |
Beta Was this translation helpful? Give feedback.
-
@romanvelichkin your approach is correct for interpreting ONNX predictions from a YOLO11 detection model. To ensure accurate results, apply non-maximum suppression (NMS) to filter overlapping boxes and retain the most confident detections. For further guidance, refer to the ONNX Runtime documentation or YOLO predict examples. |
Beta Was this translation helpful? Give feedback.
-
I converted fine-tuned yolo11 to onnx with input_size=640. I have 4 classes to detect.
Onnx model returns prediction of (1, 1, 8, 8400) size.
This 8 dimension contains x, y, w, h, class probabilities
Your main target is to extract those values and find most confident boxes.
Beta Was this translation helpful? Give feedback.
All reactions