Official implementation of Controllable 3D Generative Adversarial Face Model via Disentangling Shape and Appearance
Fariborz Teherkhani, Aashish Rai*, Shaunak Srivastava*, Quankai Gao*, Xuanbai Chen, Fernando de la Torre, Steven Song, Aayush Prakash, Daeil Kim
(* equal contribution)
[Project Page] [Video] [Colab Demo] [Demo Code] [Arxiv]
See install.md
Download pre-trained weights and put the "checkpoints" folder in the main directory. [Link]
-
Generate 3D Faces (mesh and texture)
python generate_faces.py
-
Generate meshes only
python test_gan3d.py
-
Generate textures only
python test_texture.py
python preprocess.py (Coming Soon)
-
Shape
Train AE python train_ae.py
Train GAN python train_gan3d.py
-
Texture
Train P-GAN python train_texture.py --init_step 1 --batch_size 128