glenn-jocher commited on
Commit
cd35a00
1 Parent(s): 9988059

Revert `torch.hub.load()` test (#4986)

Browse files

Temporarily 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.

Files changed (1) hide show
  1. .github/workflows/ci-testing.yml +2 -1
.github/workflows/ci-testing.yml CHANGED
@@ -83,7 +83,8 @@ jobs:
83
  # Python
84
  python - <<EOF
85
  import torch
86
- model = torch.hub.load('ultralytics/yolov5', 'custom', path='runs/train/exp/weights/last.pt')
 
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