Skip to content

Loading backbone (resnet50) from locally mounted directory #1488

Answered by AdeelH
Tobias1234 asked this question in Q&A
Discussion options

You must be logged in to vote

One simple workaround is to put the file in the directory where it tries to download it since it doesn't re-download if the file already exists. I believe the correct path would be /opt/data/torch-cache/hub/checkpoints/resnet50-19c8e357.pth or possibly /root/.cache/torch/hub/checkpoints/resnet50-19c8e357.pth.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@Tobias1234
Comment options

@AdeelH
Comment options

@Tobias1234
Comment options

Answer selected by Tobias1234
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants