• Glenn Jocher's avatar
    YOLOv5 PyTorch Hub models >> check_requirements() (#2577) · 2bcc89d7
    Glenn Jocher 提交于
    * 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.
    
    * Update hubconf.py
    2bcc89d7
hubconf.py 5.4 KB