Load models from local directory for SamGeo2 #368
Answered
by
giswqs
amruthaprasad
asked this question in
Q&A
-
For SamGeo2, how do I bypass downloading models from huggingface and provide a link to the model that exists locally? |
Beta Was this translation helpful? Give feedback.
Answered by
giswqs
Nov 13, 2024
Replies: 2 comments 1 reply
-
Put the model under the |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
giswqs
-
Thank you. But, that does not seem to work for me. I've installed segment-geospatial in a conda environment. Would the cache be at a different location? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Put the model under the
~/.cache/torch/hub/checkpoints
directory.