Code Monkey home page Code Monkey logo

exemplar-gan-eye-inpainting-tensorflow's Introduction

Exemplar_GAN_Eye_Inpainting

The tensorflow 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.

  • Our model trained using 256x256 pixels, not 128x128 mentioned in the original paper.

Dependencies

Usage

  • Clone this repo:
git clone https://github.com/zhangqianhui/Exemplar_GAN_Eye_Inpainting.git
  • Download the CelebA-ID dataset

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

and unzip CelebA-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 --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;

Different reference images

Reference code

Sparsely_Grouped_GAN

DCGAN tensorflow

Spectral Norm tensorflow

Similar project

Eye_Rotation_GAN

exemplar-gan-eye-inpainting-tensorflow's People

Contributors

zhangqianhui avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.