Skip to content

ry0y4n/Deep3DFaceReconstruction-Pytorch

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deep3DFaceReconstruction-Pytorch

Pretrained model of Deep3DFaceReconstruction(Pytorch version), one modification is that, the input face image is 256x256, rather than the original 224x224. Since it's also used in my other projects.

Original tensorflow version: https://github.com/microsoft/Deep3DFaceReconstruction Another Pytorch version: https://github.com/sicxu/Deep3DFaceRecon_pytorch

Requirements

Usage

  1. For beginners, you'd better study this project first: https://github.com/YadiraF/face3d , since the UV coordinates, the tri_mouth is derived from this project (not necessary, just an advice, I have already put all the models needed, except the original BFM model, due to the copyright issues)

  2. Download the original BFM model via this link: https://faces.dmi.unibas.ch/bfm/main.php?nav=1-2&id=downloads , copy 01_MorphableModel.mat to BFM/

  3. Download Exp_Pca.bin from this link: https://github.com/Juyong/3DFace and save it to BFM/

  4. Run process_bfm.py

  5. Download the pretrained model: https://drive.google.com/file/d/1mTyutx9IubRigwoBMqN7ApFwx6hxq6Mi/view?usp=sharing and put in in ckpt/

  6. run test.py

Results

About

Pretrained model of Deep3DFaceReconstruction(Pytorch version)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%