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

If I want to load the resnet50-19c8e357.pth from my local path instead of downloading from the terminal,how can I change the code? #10

Open
WuYifei0305 opened this issue Dec 1, 2021 · 2 comments

Comments

@WuYifei0305
Copy link

WuYifei0305 commented Dec 1, 2021

image
image
I failed to download resnet50-19c8e357.pth in terminal,so I downloaded it and saved it to the local path.But I don't know what to do next.

@fcjian
Copy link
Owner

fcjian commented Dec 2, 2021

You can move the file of "resnet50-19c8e357.pth" to the path of "~/.cache/torch/hub/checkpoints/".

@WuYifei0305
Copy link
Author

You can move the file of "resnet50-19c8e357.pth" to the path of "~/.cache/torch/hub/checkpoints/".

Thank you for your answers.

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