Skip to content

Commit

Permalink
YOLOv5 PyTorch Hub models >> check_requirements() (#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 committed Mar 24, 2021
1 parent 9f98201 commit 8ace1b1
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 8ace1b1

Please sign in to comment.