-
Dear MONAI Team, Thanks for the awesome work. I want to use the pre-trained efficient model on a closed server without internet access. My current code is
How should I modify the code to set the path to the pre-trained models and load them? Kindest regards, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Hi @JunMa11 , Thanks for your feedback. Thanks in advance. |
Beta Was this translation helpful? Give feedback.
-
the default dir is from
|
Beta Was this translation helpful? Give feedback.
the default dir is from
torch.hub
, you can put the downloaded .pth file in the default path https://github.com/pytorch/pytorch/blob/e1c449ff342ee00a4b25e1651bd08a41b7e9fda4/torch/hub.py#L568: