To run AlphaFace Demo, please conduct the following instruction.
For train.
- install requirement (pip -r requirement.txt)
- Run 'train_clip.sh'
For demo (Assuming you already installed the requirements)
- Dwonload model file from `https://drive.google.com/file/d/18ZOQB3WmIFnMwi1GqBroFFEOuSNKWpZQ/view?usp=sharing' and put it in the project root directory.
- Downlaod arcface model from 'https://drive.google.com/file/d/1qc4s6eRQPluma72WFibUnw74GPMAYRtY/view?usp=drive_link' and put it in the 'Models' directory.
- You may can change the configuration of model file path (config.model_path) in 'config/alphaface_eval_demo.py'
- Run eval.sh
- We only provide data samples for training and evalaution demo (256 triplets of image, mask, and text)
@article{yu2026alphaface,
title={AlphaFace: High Fidelity and Real-time Face Swapper Robust to Facial Pose},
author={Yu, Jongmin and Oh, Hyeontaek and Sun, Zhongtian and Aviles-Rivero, Angelica I and Jeon, Moongu and Yang, Jinhong},
journal={arXiv preprint arXiv:2601.16429},
year={2026}
}