Loading backbone (resnet50) from locally mounted directory #1488
-
I am trying to use Raster vision with Docker on a host computer using a corporate network . But I get an error:
Is it possible to load backbone local, something like the way pretrained weights can be loaded locally? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
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 |
Beta Was this translation helpful? Give feedback.
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
.