Skip to content

Update hubconf.py local repo Usage example#9803

Merged
glenn-jocher merged 2 commits intomasterfrom
glenn-jocher-patch-2
Oct 13, 2022
Merged

Update hubconf.py local repo Usage example#9803
glenn-jocher merged 2 commits intomasterfrom
glenn-jocher-patch-2

Conversation

@glenn-jocher
Copy link
Copy Markdown
Member

@glenn-jocher glenn-jocher commented Oct 13, 2022

Signed-off-by: Glenn Jocher glenn.jocher@ultralytics.com

🛠️ PR Summary

Made with ❤️ by Ultralytics Actions

🌟 Summary

Enhanced Torch Hub support for YOLOv5 models.

📊 Key Changes

  • Official models can be loaded with simplified syntax.
  • Branch-specific models can be loaded using the branch designation.
  • Added support for loading custom models with a .pt file.
  • Included option to load models from a local repository.

🎯 Purpose & Impact

  • Simplifies model loading for users, making it more intuitive.
  • Provides greater flexibility in accessing different versions of models.
  • Allows easy integration of custom-trained models.
  • Enables use of locally stored models, which benefits users with limited internet access or those working with proprietary models.

Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
@glenn-jocher glenn-jocher self-assigned this Oct 13, 2022
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
@glenn-jocher glenn-jocher merged commit 15b7565 into master Oct 13, 2022
@glenn-jocher glenn-jocher deleted the glenn-jocher-patch-2 branch October 13, 2022 13:27
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