Giter Club home page Giter Club logo

dcgan-lsgan-wgan-wgan-gp-tensorflow's Introduction

Recommendation


GANs

Tensorflow implementation of DCGAN, LSGAN, WGAN and WGAN-GP, and we use DCGAN as the network architecture in all experiments.

DCGAN: Unsupervised representation learning with deep convolutional generative adversarial networks

LSGAN: Least squares generative adversarial networks

WGAN: Wasserstein GAN

WGAN-GP: Improved Training of Wasserstein GANs

Exemplar results

Mnist - 50 epoch

DCGAN - LSGAN

WGAN - WGAN-GP

Celeba

DCGAN (left: 25 epoch, right: 50 epoch (slight mode collapse))

LSGAN (left: 25 epoch, right: 50 epoch (heavy mode collapse))

left: WGAN 50 epoch, right: WGAN-GP 50 epoch

Cartoon

left: WGAN 100 epoch, right: WGAN-GP 100 epoch

Prerequisites

  • tensorflow r1.2
  • python 2.7

Usage

Train

python train_mnist_dcgan.py
python train_celeba_wgan.py
python train_cartoon_wgan_gp.py
...

Tensorboard

tensorboard --logdir=./summaries/celeba_wgan --port=6006
...

Datasets

  1. Mnist will be automatically downloaded
  2. Celeba should be prepared by yourself in ./data/img_align_celeba/*.jpg
  3. The cartoon-face dataset should be prepared by yourself in ./data/faces

dcgan-lsgan-wgan-wgan-gp-tensorflow's People

Contributors

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