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

Update cache comments #8414

Merged
merged 2 commits into from
Jun 30, 2022
Merged

Update cache comments #8414

merged 2 commits into from
Jun 30, 2022

Conversation

glenn-jocher
Copy link
Member

@glenn-jocher glenn-jocher commented Jun 30, 2022

For better readability

πŸ› οΈ PR Summary

Made with ❀️ by Ultralytics Actions

🌟 Summary

Improved clarity in the cache validation process within the YOLOv5 data loader.

πŸ“Š Key Changes

  • Updated comments to better reflect what the code checks in the caching system.

🎯 Purpose & Impact

  • πŸ” Clarity Increased: The change in comments helps developers and users understand that the cache version and hash need to match exactly for cache validation.
  • πŸ› οΈ Maintenance: Ensures the code's intent is communicated clearly, reducing potential confusion for future maintenance or contributions.
  • βž• Non-functional: This update does not change the behavior of the code but makes understanding the cache checking process more straightforward.

For better readability
@glenn-jocher glenn-jocher self-assigned this Jun 30, 2022
@glenn-jocher glenn-jocher merged commit 8983324 into master Jun 30, 2022
@glenn-jocher glenn-jocher deleted the update/cache branch June 30, 2022 14:19
ctjanuhowski pushed a commit to ctjanuhowski/yolov5 that referenced this pull request Sep 8, 2022
* Update cache comments

For better readability

* Update dataloaders.py
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.

None yet

1 participant