Pārlūkot izejas kodu

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

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.
modifyDataloader
Glenn Jocher GitHub pirms 3 gadiem
vecāks
revīzija
cd35a009ba
Šim parakstam datu bāzē netika atrasta zināma atslēga GPG atslēgas ID: 4AEE18F83AFDEB23
1 mainītis faili ar 2 papildinājumiem un 1 dzēšanām
  1. +2
    -1
      .github/workflows/ci-testing.yml

+ 2
- 1
.github/workflows/ci-testing.yml Parādīt failu

@@ -83,7 +83,8 @@ jobs:
# Python
python - <<EOF
import torch
model = torch.hub.load('ultralytics/yolov5', 'custom', path='runs/train/exp/weights/last.pt')
# Known issue, urllib.error.HTTPError: HTTP Error 403: rate limit exceeded, will be resolved in torch==1.10.0
# model = torch.hub.load('ultralytics/yolov5', 'custom', path='runs/train/exp/weights/last.pt')
EOF

shell: bash

Notiek ielāde…
Atcelt
Saglabāt