1adrianb / face-alignment

:fire: 2D and 3D Face alignment library build using pytorch
https://www.adrianbulat.com
BSD 3-Clause "New" or "Revised" License
6.94k stars 1.33k forks source link

Where are models' files stored? #174

Closed guillermoim closed 4 years ago

guillermoim commented 4 years ago

Hi Adrian, I got a server to which I can only access remotely and the server itself cannot communicate with the Internet to download files. Where exactly does your library store the models (fin my case, for 2d landmarks detections) so I can place them in my server folder? Thanks!

borgiaE commented 4 years ago

models_urls = { '2DFAN-4': 'https://www.adrianbulat.com/downloads/python-fan/2DFAN4-11f355bf06.pth.tar', '3DFAN-4': 'https://www.adrianbulat.com/downloads/python-fan/3DFAN4-7835d9f11d.pth.tar', 'depth': 'https://www.adrianbulat.com/downloads/python-fan/depth-2a464da4ea.pth.tar', }

1adrianb commented 4 years ago

Sorry for delay, I assume you already sorted this out, but for reference the models are saved/downloaded using https://pytorch.org/docs/stable/model_zoo.html#torch.utils.model_zoo.load_url and as such follow the default location indicated there.