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

YOLOv5 PyTorch Hub models >> check_requirements() #2577

Merged
merged 2 commits into from
Mar 24, 2021

Commits on Mar 24, 2021

  1. Update hubconf.py with check_requirements()

    Dependency checks have been missing from YOLOv5 PyTorch Hub model loading, causing errors in some cases when users are attempting to import hub models in unsupported environments. This should examine the YOLOv5 requirements.txt file and pip install any missing or version-conflict packages encountered. 
    
    This is highly experimental (!), please let us know if this creates problems in your custom workflows.
    glenn-jocher committed Mar 24, 2021
    Configuration menu
    Copy the full SHA
    2e3273e View commit details
    Browse the repository at this point in the history
  2. Update hubconf.py

    glenn-jocher committed Mar 24, 2021
    Configuration menu
    Copy the full SHA
    5996576 View commit details
    Browse the repository at this point in the history