-
-
Notifications
You must be signed in to change notification settings - Fork 5k
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
export RTDETR to Openvino failed #8927
Comments
👋 Hello @Kayzwer, thank you for your interest in Ultralytics YOLOv8 🚀! We recommend a visit to the Docs for new users where you can find many Python and CLI usage examples and where many of the most common questions may already be answered. If this is a 🐛 Bug Report, please provide a minimum reproducible example to help us debug it. If this is a custom training ❓ Question, please provide as much information as possible, including dataset image examples and training logs, and verify you are following our Tips for Best Training Results. Join the vibrant Ultralytics Discord 🎧 community for real-time conversations and collaborations. This platform offers a perfect space to inquire, showcase your work, and connect with fellow Ultralytics users. InstallPip install the pip install ultralytics EnvironmentsYOLOv8 may be run in any of the following up-to-date verified environments (with all dependencies including CUDA/CUDNN, Python and PyTorch preinstalled):
StatusIf this badge is green, all Ultralytics CI tests are currently passing. CI tests verify correct operation of all YOLOv8 Modes and Tasks on macOS, Windows, and Ubuntu every 24 hours and on every commit. |
@Kayzwer hey there! 👋 It looks like you've encountered an issue while trying to export the RTDETR model to OpenVINO. The error message suggests a problem with the This is a known limitation with certain operations in PyTorch models when converting to OpenVINO, as OpenVINO expects inputs to be non-boolean for the A potential workaround could involve modifying the model to replace boolean operations with equivalent operations that result in non-boolean tensors before export. However, this might require some changes to the model's source code. As an immediate step, could you please ensure that you're using the latest versions of both Ultralytics YOLOv8 and OpenVINO? Sometimes, compatibility issues are resolved in newer releases. If the issue persists, it would be great if you could open an issue on the Ultralytics YOLOv8 GitHub repository with the details you've provided here. Our team can then look into this more closely and work on a fix or provide a more specific workaround. Thanks for bringing this to our attention, and we appreciate your patience as we work through this! 🚀 |
I will do a quick check later to look for multiplication operations that involve boolean |
@glenn-jocher this pull request fixes the RTDETR openvino export problem. |
Thanks for the update and the pull request! 🚀 We'll review it shortly to ensure everything aligns with our standards and then proceed from there. Great work on addressing the RTDETR export issue! |
Search before asking
YOLOv8 Component
Export
Bug
terminal output
Environment
No response
Minimal Reproducible Example
Additional
No response
Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: