Skip to content

Update cache comments#8414

Merged
glenn-jocher merged 2 commits intomasterfrom
update/cache
Jun 30, 2022
Merged

Update cache comments#8414
glenn-jocher merged 2 commits intomasterfrom
update/cache

Conversation

@glenn-jocher
Copy link
Copy Markdown
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.

1 participant