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

the value should be a list to unpack #688

Merged
merged 1 commit into from
Aug 10, 2020

Conversation

tkianai
Copy link
Contributor

@tkianai tkianai commented Aug 10, 2020

πŸ› οΈ PR Summary

Made with ❀️ by Ultralytics Actions

🌟 Summary

Improved label caching by specifying default cache structure for exceptions in YOLOv5 datasets.

πŸ“Š Key Changes

  • Changed how label caching handles exceptions: instead of assigning None to a cache entry, it now assigns [None, None] to maintain data structure continuity.

🎯 Purpose & Impact

  • Consistency: Helps maintain a constant data structure even when an error occurs, improving data handling robustness.
  • Error Handling: Enhances the clarity of error outputs, making it easier to debug issues with label loading.
  • User Experience: Indirectly benefits users by possibly reducing label-related errors during model training, leading to a smoother experience.

@glenn-jocher glenn-jocher merged commit 9ae8683 into ultralytics:master Aug 10, 2020
burglarhobbit pushed a commit to burglarhobbit/yolov5 that referenced this pull request Jan 1, 2021
KMint1819 pushed a commit to KMint1819/yolov5 that referenced this pull request May 12, 2021
BjarneKuehl pushed a commit to fhkiel-mlaip/yolov5 that referenced this pull request Aug 26, 2022
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