Unverified 提交 cd35a009 authored 作者: Glenn Jocher's avatar Glenn Jocher 提交者: GitHub

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.
上级 9988059b
...@@ -83,7 +83,8 @@ jobs: ...@@ -83,7 +83,8 @@ jobs:
# Python # Python
python - <<EOF python - <<EOF
import torch 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 EOF
shell: bash shell: bash
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论