Git Product home page Git Product logo

triple-gan's Introduction

Triple Generative Adversarial Nets (Triple-GAN)

Chongxuan Li, Kun Xu, Jun Zhu and Bo Zhang

Code for reproducing most of the results in the paper. Triple-GAN: a unified GAN model for classification and class-conditional generation in semi-supervised learning.

Warning: the code is still under development.

Triple-GAN-V2 and code in Pytorch!

We propose Triple-GAN-V2 built upon mean teacher classifier and projection discriminator with spectral norm and implement Triple-GAN in Pytorch. See the source code at https://github.com/taufikxu/Triple-GAN

Envoronment settings and libs we used in our experiments

This project is tested under the following environment setting.

  • OS: Ubuntu 16.04.3
  • GPU: Geforce 1080 Ti or Titan X(Pascal or Maxwell)
  • Cuda: 8.0, Cudnn: v5.1 or v7.03
  • Python: 2.7.14(setup with Miniconda2)
  • Theano: 0.9.0.dev-c697eeab84e5b8a74908da654b66ec9eca4f1291
  • Lasagne: 0.2.dev1
  • Parmesan: 0.1.dev1

Python Numpy Scipy Theano Lasagne(version 0.2.dev1) Parmesan

Thank the authors of these libs. We also thank the authors of Improved-GAN and Temporal Ensemble for providing their code. Our code is widely adapted from their repositories.

Results

Triple-GAN can achieve excellent classification results on MNIST, SVHN and CIFAR10 datasets, see the paper for a comparison with the previous state-of-the-art. See generated images as follows:

Comparing Triple-GAN (right) with GAN trained with feature matching (left)

Generating images in four specific classes (airplane, automobile, bird, horse)

Disentangling styles from classes (left: data, right: Triple-GAN)

Class-conditional linear interpolation on latent space

triple-gan's People

Contributors

taufikxu avatar zhenxuan00 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.