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

Filter the None labels #705

Merged
merged 3 commits into from
Aug 11, 2020
Merged

Filter the None labels #705

merged 3 commits into from
Aug 11, 2020

Conversation

tkianai
Copy link
Contributor

@tkianai tkianai commented Aug 11, 2020

πŸ› οΈ PR Summary

Made with ❀️ by Ultralytics Actions

🌟 Summary

Improved label loading robustness in dataset processing.

πŸ“Š Key Changes

  • Added an additional check to verify that labels are not None before processing them.

🎯 Purpose & Impact

  • Purpose: Prevent errors that could occur when a label file is empty or corrupted.
  • Impact: Enhances the stability of dataset loading, reducing the likelihood of crashes during model training and evaluation due to problematic label data. This makes the YOLOv5 user experience more reliable for developers working on object detection tasks.

@glenn-jocher glenn-jocher merged commit 542833c into ultralytics:master Aug 11, 2020
burglarhobbit pushed a commit to burglarhobbit/yolov5 that referenced this pull request Jan 1, 2021
* the value should be a list to unpacking

* filter the None labels
KMint1819 pushed a commit to KMint1819/yolov5 that referenced this pull request May 12, 2021
* the value should be a list to unpacking

* filter the None labels
BjarneKuehl pushed a commit to fhkiel-mlaip/yolov5 that referenced this pull request Aug 26, 2022
* the value should be a list to unpacking

* filter the None labels
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.

2 participants