zivzone / dcface

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DCFace: Synthetic Face Generation with Dual Condition Diffusion Model

Official repository for the paper DCFace: Synthetic Face Generation with Dual Condition Diffusion Model (CVPR 2023).

Pipepline

Demo

ID Consistent Generation

Demo

Installation

pip install -r requirements.txt

Training Code, and Dataset are coming soon. This is the image synthesis code.

Image generation

  • Download the pretrained weights from the link
  • Place the pretrained_models directory under dcface (same level as src)
  • 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

About


Languages

Language:Python 100.0%