mrgloom
mrgloom

Reputation: 21642

What is default download path for Pytorch models on MacOS?

What is default download path for Pytorch models (from torchvision) on MacOS?

I can't see anything in home dir ls -la ~/ | grep torch.

Upvotes: 2

Views: 3139

Answers (2)

iacob
iacob

Reputation: 24281

You can define the download location with the model_dir arg. The default behaviour is:

The default value of `model_dir` is ``<hub_dir>/checkpoints`` where 
`hub_dir` is the directory returned by :func:`~torch.hub.get_dir`.

Upvotes: 0

Ivan
Ivan

Reputation: 40708

You should have the path it displayed when you first download the pre-trained weights for that model, something like this:

enter image description here

Upvotes: 1

Related Questions