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

hubconf.py bug fix #3007

Merged
merged 1 commit into from
May 1, 2021
Merged

hubconf.py bug fix #3007

merged 1 commit into from
May 1, 2021

Conversation

glenn-jocher
Copy link
Member

@glenn-jocher glenn-jocher commented May 1, 2021

πŸ› οΈ PR Summary

Made with ❀️ by Ultralytics Actions

🌟 Summary

Enhancement of custom model handling and download functionality in YOLOv5 library.

πŸ“Š Key Changes

  • Updated custom function call in hubconf.py to explicitly name autoshape and verbose arguments for clarity.
  • Added a line in utils/google_utils.py to ensure parent directories are created when attempting to download a file, if they don't already exist.

🎯 Purpose & Impact

  • Clearer Codebase: By explicitly naming the arguments in the custom function, developers and users can more easily understand what each parameter does, πŸ“– improving readability and reducing errors.
  • Seamless Downloads: Automatically creating necessary parent directories during file download prevents potential crashes or errors, πŸ› οΈ enhancing the user experience and reliability of the YOLOv5 download process.

@glenn-jocher glenn-jocher self-assigned this May 1, 2021
@glenn-jocher glenn-jocher added the bug Something isn't working label May 1, 2021
@glenn-jocher glenn-jocher merged commit 31ee54c into master May 1, 2021
@glenn-jocher glenn-jocher deleted the fix branch May 1, 2021 16:15
KMint1819 pushed a commit to KMint1819/yolov5 that referenced this pull request May 12, 2021
danny-schwartz7 pushed a commit to danny-schwartz7/yolov5 that referenced this pull request May 22, 2021
Lechtr pushed a commit to Lechtr/yolov5 that referenced this pull request Jul 20, 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
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant