Giter Club home page Giter Club logo

infogan's Introduction

InfoGAN

InfoGAN Architecture

Tensorlayer implementation of InfoGAN: Interpretable Representation Learning by Information Maximizing Generative Adversarial Nets.

Results

MNIST

Manipulating the First Continuous Latent Code

Changing will rotate the digits:

Manipulating the Second Continuous Latent Code

Changing will change the width of the digits:

Manipulating the Discrete Latent Code (Categorical)

Changing will change the type of digits:

Random Generation and Loss Plot

G_loss increases steadily after a sufficient number of iterations, showing the discriminator is getting stronger and stronger and indicating the end of training.

CelebA

Manipulating Discrete Latent Code

Azimuth (pose):

Presence or absence of glasses:

Hair color:

Hair quantity:

Lighting:

Faces

Loss Plot

Azimuth

Random Generation

Chairs

Rotation

Run

MNIST

  • Start training using python train.py; this will automatically download the dataset.
  • To see the results, execute python test.py and input the number of your saved model.

CelebA

  • Set your image folder in config.py.
  • Some links for the datasets:
  • Start training.
python train.py

Faces

  • Set your data folder in config.py.
  • A link for BFM 2009:
    • Basel Face Model. This should be downloaded before generating data.
    • Data is generated using the code in data_generator. Call gen_data in MATLAB.
  • Start training using python train.py.
  • To see the results, execute python test.py and input the number of your saved model.

Chairs

  • Set your image folder in data.py.
  • Some links for the datasets:
  • Start training.
python train.py

References

  1. InfoGAN: Interpretable Representation Learning by Information Maximizing Generative Adversarial Nets
  2. Large-scale CelebFaces Attributes (CelebA) Dataset
  3. THE MNIST DATABASE of handwritten digits
  4. Seeing 3D chairs: exemplar part-based 2D-3D alignment using a large dataset of CAD models

Authors

infogan's People

Contributors

dependabot[bot] avatar hswd40 avatar lisc55 avatar wangchang327 avatar zshcuanni avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

infogan's Issues

mnist:diverged

0it [00:00, ?it/s][21:44:10] 036 Generator: nan Discriminator: nan Info: nan

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.