Chenyu-Yang-2000 / EleGANt

PyTorch code for "EleGANt: Exquisite and Locally Editable GAN for Makeup Transfer" (ECCV 2022)

Home Page:https://arxiv.org/abs/2207.09840

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

EleGANt: Exquisite and Locally Editable GAN for Makeup Transfer

CC BY-NC-SA 4.0

Official PyTorch implementation of ECCV 2022 paper "EleGANt: Exquisite and Locally Editable GAN for Makeup Transfer"

Chenyu Yang, Wanrong He, Yingqing Xu, and Yang Gao.

teaser

Getting Started

Test

To test our model, download the weights of the trained model and run

python scripts/demo.py

Examples of makeup transfer results can be seen here.

Train

To train a model from scratch, run

python scripts/train.py

Customized Transfer

Customized_transfer.mp4

This is our demo of customized makeup editing. The interactive system is built upon Streamlit and the interface in ./training/inference.py.

Controllable makeup transfer.

control

Local makeup editing.

edit

Citation

If this work is helpful for your research, please consider citing the following BibTeX entry.

@article{yang2022elegant,
  title={EleGANt: Exquisite and Locally Editable GAN for Makeup Transfer},
  author={Yang, Chenyu and He, Wanrong and Xu, Yingqing and Gao, Yang}
  journal={arXiv preprint arXiv:2207.09840},
  year={2022}
}

Acknowledgement

Some of the codes are build upon PSGAN and aster.Pytorch.

License

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

CC BY-NC-SA 4.0

About

PyTorch code for "EleGANt: Exquisite and Locally Editable GAN for Makeup Transfer" (ECCV 2022)

https://arxiv.org/abs/2207.09840

License:Other


Languages

Language:Python 100.0%