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

resnet50模型本地调用 #8

Open
liyunfei0302 opened this issue May 24, 2024 · 1 comment
Open

resnet50模型本地调用 #8

liyunfei0302 opened this issue May 24, 2024 · 1 comment

Comments

@liyunfei0302
Copy link

您这个是调用的在线模型吧,离线环境可以使用吗,或者说把resnet50下载到本地,调用本地模型

@AndsGo
Copy link
Owner

AndsGo commented Jun 11, 2024

第一次使用会下载模型,下载完后面就使用的是本地模型了

离线的使用,可以试着手动将模型复制到
linux 环境: /root/.cache/torch/hub/checkpoints ,windows 默认下载到 C:\Users\Administrator.cache\torch\hub\checkpoints

模型地址 : https://github.com/rwightman/pytorch-image-models/releases/download/v0.1-rsb-weights/resnet50_a1_0-14fe96d1.pth

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

2 participants