The tensorflow reference implement of Eye In-Painting with Exemplar Generative Adversarial Networks
-
Because the origin paper does't provide the details of model, this implement uses the architecture and hyperparamters from SG-GAN(Using adapted residual image learning for G and spectral norm for D)
-
Just use refernece image as the exemplar, not code.
- Clone this repo:
git clone https://github.com/zhangqianhui/Exemplar_GAN_Eye_Inpainting.git- Download the CeleA-ID dataset
You can download CelebA-ID Benchmark dataset from Google drive or download according to the Dataset
and unzip CeleA-ID into a directory.
- Train the model using the default parameter
python main.py --OPER_FLAG=0 --path your_path- Test the model
python main.py --OPER_FLAG=1 --path your_path