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

DownLoading Problem. #178

Open Alan-xw opened 4 years ago

Alan-xw commented 4 years ago

Hi, when I import face_alignment module and use face_alignment.FaceAlignment(). It starts to download pre-trained CNN model. However, it 's pretty slow. Would you like to share the model file in Github?

Thank you, sincerely.

1adrianb commented 4 years ago

Hi @Alan-xw the servers are located in UK so depending on your location this may affect your speed. Someone uploaded them here: https://github.com/1adrianb/face-alignment/issues/62

If you still encounter issues, let me know and I will try hosting them somewhere else.

Alan-xw commented 4 years ago

Thanks for help. I download FANmodel files from #62 . However, the s3fd_convert.pth model file is also pretty slow to download from the servers.

lastapple commented 3 years ago

the same porblem with downloading of 'https://www.adrianbulat.com/downloads/python-fan/s3fd-619a316812.pth'

1adrianb commented 3 years ago

@lastapple I am really sorry for the inconvenience, depending on your geographical location the download speed will vary indeed. From my tests this appears to mostly be an issue with certain internet providers from China (see server speed bellow). At the moment I have no option for hosting it there. If someone can rehost them there and share the link with the rest that may be useful for the affected people.

Speedtest.net (Europe) 917.78 Mbps Beijing CU 86.21 Mbps
Shanghai CT 0.67 Mbps Shanghai CU 134.17 Mbps Guangzhou CT 71.85 Mbps Hongkong CN 321.01 Mbps
Singapore SG 139.85 Mbps
Tokyo JP 83.46 Mbps

fishermess commented 3 years ago

Thanks,it helps a lot.