-
-
Notifications
You must be signed in to change notification settings - Fork 16.3k
New issue
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
Yolov5_V7.0 while export dynamic onnx, netron layer error #13356
Comments
👋 Hello @fenghuoxiguozu, thank you for reaching out about YOLOv5 🚀! It seems like you're encountering an issue with exporting to ONNX with dynamic axes. To help you better, we suggest providing a minimum reproducible example to identify the problem more precisely. 🐛 In the meantime, please ensure that you've followed the installation requirements and that your setup meets the conditions specified in our Requirements📋. Here's a quick start guide: git clone https://github.com/ultralytics/yolov5 # clone
cd yolov5
pip install -r requirements.txt # install EnvironmentsEnsure you're using a verified environment. YOLOv5 runs smoothly in several setups, including: For a dynamic ONNX export, make sure you've installed all dependencies, including the latest PyTorch and ONNX. StatusIf this badge is green, all CI tests are passing, ensuring reliability. 🔍 Please remember, this is an automated response, but don't worry—an Ultralytics engineer will assist you soon. In the meantime, explore our YOLOv8 for advanced capabilities 🚀! Looking forward to your minimum reproducible example or any additional details to help resolve your query more effectively. |
class Detect(nn.Module):
|
@fenghuoxiguozu thank you for sharing your code snippet. If you're experiencing issues, please ensure you're using the latest version of YOLOv5. If the problem persists, feel free to provide more details about the specific error or behavior you're encountering. |
Search before asking
Question
use export code:
python export.py --weights yolov5m.pt --include onnx --dynamic --simplify
then i put it into netron, find last Detect layer error
how to solve it
Additional
No response
The text was updated successfully, but these errors were encountered: