Revert `torch.hub.load()` test (#4986)
Browse filesTemporarily reverts https://github.com/ultralytics/yolov5/pull/4978 until torch 1.10 is released, which should resolve `urllib.error.HTTPError: HTTP Error 403: rate limit exceeded` errors generated by torch hub from GitHub actions runners.
.github/workflows/ci-testing.yml
CHANGED
@@ -83,7 +83,8 @@ jobs:
|
|
83 |
# Python
|
84 |
python - <<EOF
|
85 |
import torch
|
86 |
-
|
|
|
87 |
EOF
|
88 |
|
89 |
shell: bash
|
|
|
83 |
# Python
|
84 |
python - <<EOF
|
85 |
import torch
|
86 |
+
# Known issue, urllib.error.HTTPError: HTTP Error 403: rate limit exceeded, will be resolved in torch==1.10.0
|
87 |
+
# model = torch.hub.load('ultralytics/yolov5', 'custom', path='runs/train/exp/weights/last.pt')
|
88 |
EOF
|
89 |
|
90 |
shell: bash
|