Home

Awesome

Exemplar_GAN_Eye_Inpainting

The tensorflow implement of Eye In-Painting with Exemplar Generative Adversarial Networks

Introduction

Paper Introduction.

Network Architecture

<p align="center"> <img src="/images/net.jpg"> </p>

Paper result

<p align="center"> <img src="/images/paper_result.jpg"> </p>

Noted: Differences with the original paper.

Dependencies

Usage

git clone https://github.com/zhangqianhui/Exemplar_GAN_Eye_Inpainting.git

You can download CelebA-ID Benchmark dataset according to the Dataset

and unzip CelebA-ID into a directory.

python main.py --OPER_FLAG=0 --path your_path
python main.py --OPER_FLAG=1 --path your_path --test_step= your model_name

Our results

(1)Input image; (2) Reference image; (3) image to in-paint; (4) in-painted image; (5) local real eye region; (6) generated eye region;

<p align="center"> <img src="/images/our_result.jpg"> </p>

Different reference images

<p align="center"> <img src="/images/our_result2.jpg"> </p>

Reference code

Sparsely_Grouped_GAN

DCGAN tensorflow

Spectral Norm tensorflow

Similar project

Eye_Rotation_GAN