pretrained-models.pytorch
pretrained-models.pytorch copied to clipboard
Pretrained model paths
When I import the pretrained models, by default, it downloads at first in
/home/user/.cache/torch/hub/ ..model*
Is it possible to set this to any other directory?
Please if you can guide me.
你可以按照readme中设置TORCH_HOME 但我更推荐你使用:
torch.hub.set_dir("your download folder")