-
-
Notifications
You must be signed in to change notification settings - Fork 14
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
Model comptatibility #994
Comments
👋 Hello @rogerlette, thank you for raising this issue about Ultralytics HUB 🚀! We’re excited to help you with your YOLO journey. Please visit our HUB Docs to learn more:
It sounds like you're encountering an issue related to model export compatibility with YoloDotNet 2.0. To assist us in understanding the situation better and providing the most helpful guidance, could you kindly provide the following details?
Please note that models exported via the HUB are generally compatible with common deployment frameworks, but YoloDotNet 2.0 may have specific or additional requirements. If you believe the Pytorch version is contributing to the issue, let us know the full pipeline details so we can verify and guide you accordingly 😊. An Ultralytics engineer will review this issue and provide further assistance soon. Thank you for your patience and for being part of the Ultralytics community! 🚀 |
Ok, an AI is assiting me ;)
|
@rogerlette hello! 😊 Thank you for sharing your observations and the models for reference. Based on your description, it seems like you’re facing compatibility issues between the ONNX model exported from Ultralytics HUB and YoloDotNet 2.0. Let’s break this down and explore potential solutions: 1. Compatibility of ONNX Models
2. Steps to Troubleshoot
3. Potential Adjustments in YoloDotNet
4. Next Steps
Let me know how it goes! I’m here to assist further if needed. 🚀 |
Hello, is there a human here to answer questions ? 1 . Sure that's what I think, using netron I can see that the working model I sent to you (yolov8s.onnx) is using pytorch 2.1.0 while the model I export with ultralytics hub is using pytoorch 2.5.1
So it's not working. Thanks for you help. |
Hello @rogerlette, Thank you for the detailed follow-up! I can see you've been quite thorough in your troubleshooting, so let's narrow this down further to try to resolve the issue. Here's a breakdown based on your observations: Key Observations:
Suggested Steps to Resolve:1. Force Export with PyTorch 2.1.0:
2. Compare ONNX Graphs:
3. Re-export with HUB Options:
4. Debug YoloDotNet:
Final Notes:If the issue persists after trying these steps, I recommend reaching out to the YoloDotNet maintainers to clarify any specific ONNX graph requirements or constraints they might have. The HUB-exported model passes ONNX Runtime validation, which indicates that it adheres to ONNX standards. Let me know how it goes or if you need further assistance! 😊 |
Search before asking
Question
Hello,
How to deploy or convert my own model with pytorch 2.1.0 or make it compatible ? = working with YoloDotNet 2.0 ?
https://www.nuget.org/packages/YoloDotNet/2.2.0#readme-body-tab
Additional
No response
The text was updated successfully, but these errors were encountered: