Skip to content
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

--single-cls segments fix #10260

Merged
merged 1 commit into from
Nov 22, 2022
Merged

--single-cls segments fix #10260

merged 1 commit into from
Nov 22, 2022

Conversation

glenn-jocher
Copy link
Member

@glenn-jocher glenn-jocher commented Nov 22, 2022

May resolve #10230

Signed-off-by: Glenn Jocher [email protected]

🛠️ PR Summary

Made with ❤️ by Ultralytics Actions

🌟 Summary

Improved data loader logic for single-class training in YOLOv5.

📊 Key Changes

  • Removed redundant lines of code that unnecessarily modified segments during single-class training.

🎯 Purpose & Impact

  • The simplification of the data loader will result in cleaner code and potentially fewer bugs.
  • Users performing single-class training will benefit from this change, although the impact on training performance or results should be minimal.
  • 🚀 This contributes to the overall maintainability and readability of the YOLOv5 codebase.

May resolve #10230

Signed-off-by: Glenn Jocher <[email protected]>
@glenn-jocher glenn-jocher self-assigned this Nov 22, 2022
@glenn-jocher glenn-jocher merged commit b32f67f into master Nov 22, 2022
@glenn-jocher glenn-jocher deleted the glenn-jocher-patch-1 branch November 22, 2022 19:30
@glenn-jocher glenn-jocher mentioned this pull request Nov 22, 2022
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

--single-cls throws an error
1 participant