YOLOv5 PyTorch Hub models >> check_requirements() (#2588)

* YOLOv5 PyTorch Hub models >> check_requirements()

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

* Update hubconf.py
This commit is contained in:
Glenn Jocher authored and GitHub committed 2021-03-24 16:23:54 +01:00
1 parent 9f98201dd9
commit 8ace1b1b99
1 file changed
+1 -1
+1 -1
View File
@@ -15,7 +15,7 @@ from utils.google_utils import attempt_download
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()