Official repository for the paper DCFace: Synthetic Face Generation with Dual Condition Diffusion Model (CVPR 2023).
- Arxiv: https://arxiv.org/abs/2304.07060
- Main paper: main.pdf
- Supplementary: supp.pdf
pip install -r requirements.txt
Training Code, and Dataset are coming soon. This is the image synthesis code.
- Download the pretrained weights from the link
- Place the
pretrained_models
directory underdcface
(same level assrc
) - Run
cd dcface/src
python synthesis.py --id_images_root sample_images/id_images/sample_57.png --style_images_root sample_images/style_images/woman