- Release training code (9.1.2024)
Environment for our project depends on PTI.
- Purchase and download 3D human models from 3DScanstore.
- Render textured 3D human models under 5 environment light and their surface normal maps using the included Blender file from 3DScanStore.
- Follow the instruction from PTI inversion and apply PTI inversion on rendered 3D human models.
- Apply semantic face segmenation to obtain facial masks on valid region.
- Before running training code, please check whether your dataset preparation is perfect.
- You should have (1) inverted latent codes of rendered images (2) surface normal images aligned with rendered images (3) inverted model weights for rendered images (4) valid region masks.
- Please check L112-124 of "train.py" and fill in proper paths for the prepared dataset. In this step, you need to check "dataset.py".
- Run train.py
🏷️ StyleGAN PTI inversion: https://github.com/danielroich/PTI
🏷️ Normal-to-depth: https://github.com/xucao-42/bilateral_normal_integration
🏷️ Non-rigid template registration: https://github.com/ycjungSubhuman/density-adaptation
🏷️ Semantic face segmentation: https://github.com/zllrunning/face-parsing.PyTorch
🏷️ Landmark detection: https://github.com/DefTruth/torchlm
- This repository for training code is protected under the same license as the official StyleGAN implementation (https://github.com/NVlabs/stylegan2-ada-pytorch.git).
- We cannot distribute our pre-trained model due to license agreement of 3DScanStore. If you need the entire code or runnable program for our project, you can request technology transfer to our university. In this case, please contact us ([email protected]).
@inproceedings{jang2024toonify3d,
author = {Jang, Wonjong and Jung, Yucheol and Kim, Hyomin and Ju, Gwangjin and Son, Chaewon and Son, Jooeun and Lee, Seungyong},
title = {Toonify3D: StyleGAN-based 3D Stylized Face Generator},
booktitle = {ACM SIGGRAPH 2024 Conference Papers},
articleno = {17},
numpages = {11},
publisher = {ACM},
year = {2024}
}