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

(cherry picked from commit 8ace1b1)
  • Loading branch information
glenn-jocher authored and Lechtr committed Mar 28, 2021
1 parent 6adb5ba commit 267fad6
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 267fad6

Please sign in to comment.