这是indexloc提供的服务,不要输入任何密码
Skip to content

TigerCouple/Exemplar-GAN-Eye-Inpainting

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Exemplar_GAN_Eye_Inpainting

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

Introduction

Paper Introduction.

Network Architecture

Paper result

Noted: Differences with the original paper.

  • 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.

Dependencies

Usage

  • 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

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;

Reference code

Sparsely_Grouped_GAN

DCGAN tensorflow

Spectral Norm tensorflow

About

Tensorflow implement of "Eye In-Painting with Exemplar Generative Adversarial Networks"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%