-
-
Notifications
You must be signed in to change notification settings - Fork 16.7k
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
Reduce val device transfers #7525
Conversation
device error after one epoch finish |
@hans0809 👋 hi, thanks for letting us know about this possible problem with YOLOv5 🚀. I trained correctly with master just now in Colab with a V100, so I'm not able to reproduce any issues with this PR: We've created a few short guidelines below to help users provide what we need in order to start investigating a possible problem. How to create a Minimal, Reproducible ExampleWhen asking a question, people will be better able to provide help if you provide code that they can easily understand and use to reproduce the problem. This is referred to by community members as creating a minimum reproducible example. Your code that reproduces the problem should be:
For Ultralytics to provide assistance your code should also be:
If you believe your problem meets all the above criteria, please close this issue and raise a new one using the 🐛 Bug Report template with a minimum reproducible example to help us better understand and diagnose your problem. Thank you! 😃 |
Verified fix for #7525 (comment)
Verified fix for #7525 (comment)
@hans0809 good news 😃! Your original issue may now be fixed ✅ in PR #7539. To receive this update:
Thank you for spotting this issue and informing us of the problem. Please let us know if this update resolves the issue for you, and feel free to inform us of any other issues you discover or feature requests that come to mind. Happy trainings with YOLOv5 🚀! |
Reduced device transfers for data, improved speeds, reduced code.
EDIT: seems to shave about 1 second off of COCO val. Not huge but it's something!
🛠️ PR Summary
Made with ❤️ by Ultralytics Actions
🌟 Summary
Optimization of validation metrics computation in YOLOv5.
📊 Key Changes
🎯 Purpose & Impact