Implementation of https://arxiv.org/abs/1912.13457
https://github.com/taotaonice/FaceShifter
pip install -r requirements.txt
git clone https://github.com/NVIDIA/apex
cd apex
pip install -v --no-cache-dir --global-option="--cpp_ext" --global-option="--cuda_ext" ./
python face_modules/preprocess_images.py
python train_aei.py
Monitor visdom
by visiting
https://HOST:8097
- Download pretrained (45 epochs)
G_latest.pth
andD_latest.pth
into./saved_models
folder - Run
python demo_cam.py
- (optional) Change
./source.jpg
to change demo source image
- Add HEAR-Net training and demo