Skip to content

Commit

Permalink
YOLOv5 PyTorch Hub models >> check_requirements() (ultralytics#2588)
Browse files Browse the repository at this point in the history
* YOLOv5 PyTorch Hub models >> check_requirements()

Update YOLOv5 PyTorch Hub requirements.txt path to cache path.

* Update hubconf.py
  • Loading branch information
glenn-jocher authored Mar 24, 2021
1 parent aa1c7bc commit 9d46a96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hubconf.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
from utils.torch_utils import select_device

dependencies = ['torch', 'yaml']
check_requirements(exclude=('pycocotools', 'thop'))
check_requirements(Path(__file__).parent / 'requirements.txt', exclude=('pycocotools', 'thop'))
set_logging()


Expand Down

0 comments on commit 9d46a96

Please sign in to comment.