Is there any way to download the FAN and FAN-D before using them in a script?
See original GitHub issueWhen I run
fa = face_alignment.FaceAlignment(face_alignment.LandmarksType._3D, enable_cuda=False, flip_input=False)
, it downloads the models for the first time and takes quite a while. Is there any way I can skip this? Like manually downloading the required files and putting them in a specified folder?
Issue Analytics
- State:
- Created 5 years ago
- Comments:8 (3 by maintainers)
Top Results From Across the Web
Hypeddit | Smart Links, Pre-Saves, Download Gates & Music ...
Automatically grow fans and followers with each pre-saves. Collect fan email addresses and let fans add your music to their favorite playlist with...
Read more >Script for Argon one pi4 fan ??? - Raspberry Pi Forums
Hello i have a argon one case with fan built inside for pi4. I am using Manjaro KDE Os There is a downloable...
Read more >Fan Scripts for Supermicro Boards Using PID Logic - TrueNAS
For detailed description and discussion of PID logic used to regulate hard drive temperature, some basics on fan control, and early script ......
Read more >Fan speed control - ArchWiki
Note: Laptop users should be aware about how cooling system works in their hardware. Some laptops have single fan for both CPU and...
Read more >All you need to know if you want to export Facebook Fans
Unless you've gathered qualified data about these fans, downloading them doesn't help. The data you'd get from exporting your fans is basically ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Let me make a conclusion that how we can download the model files in advance and load them. After you use
pip install face-alignment
install the face-alignment package1.0.0
, the default face-alignment data directory is/root/.face_alignment/data
if you are using the root in a docker. In general, you can usecd ~ && pwd
to check the detailed user data directory, and the directory where you should put per-trained model files will be[user_data_dir]/.face_alignment/data
, i.e., usingto directly access the directory. If the directory does not exist, you can make it by yourself.
The necessary model files are as follows:
Hi @IAmSuyogJadhav,
Yes, you can. Download links: https://www.adrianbulat.com/downloads/python-fan/2DFAN-4.pth.tar https://www.adrianbulat.com/downloads/python-fan/3DFAN-4.pth.tar https://www.adrianbulat.com/downloads/python-fan/depth.pth.tar
You can copy them in your home folder in .face_alignment folder (You can also check your existing installation just to be sure, its hidden by default).