Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

无法下载模型 #182

Open
Z-Road opened this issue Jul 26, 2023 · 5 comments
Open

无法下载模型 #182

Z-Road opened this issue Jul 26, 2023 · 5 comments

Comments

@Z-Road
Copy link

Z-Road commented Jul 26, 2023

No description provided.

@Z-Road
Copy link
Author

Z-Road commented Jul 26, 2023

当我使用
Load using python package

using ResNeSt-50 as an example

from resnest.torch import resnest50
net = resnest50(pretrained=True)
运行时显示urllib.error.HTTPError: HTTP Error 403: Forbidden

这是无法下载模型吗,该怎么解决,感谢解答!

@JimmyMa99
Copy link

请问解决了吗,我也遇到相同问题

@zhanghang1989
Copy link
Owner

zhanghang1989 commented Nov 22, 2023

我没有你们遇到的问题,你们用的最新的版本吗?

In [1]: from resnest.torch import resnest50
   ...: net = resnest50(pretrained=True)
Downloading: "https://github.com/zhanghang1989/ResNeSt/releases/download/weights_step1/resnest50-528c19ca.pth" to /Users/hang.zhang/.cache/torch/hub/checkpoints/resnest50-528c19ca.pth
100%|█████████████████████████████████████████████████████████████████████████████████████| 105M/105M [00:06<00:00, 17.2MB/s]

@zhanghang1989
Copy link
Owner

You can download it mannually:

wget https://github.com/zhanghang1989/ResNeSt/releases/download/weights_step1/resnest50-528c19ca.pth

@JimmyMa99
Copy link

我使用的是torch1.13,我在这个issue中找到解决方案,#154 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants