Skip to content

CGAN(Conditional convolutional adversarial networks) very easy to read

License

Notifications You must be signed in to change notification settings

donghaoye/Conditional-Gans

 
 

Repository files navigation

Conditional-Gans

The test code for Conditional Generative Adversarial Nets using tensorflow.

##INTRODUCTION

Tensorflow implements of Conditional Generative Adversarial Nets.The paper should be the first one to introduce Conditional GANS.But they did not provide source codes.My code has some differences comparing the paper:The Gans is based on Convolution network and the code refer to DCGAN.

##Prerequisites

  • tensorflow >=1.0

  • python 2.7

  • opencv 2.4.8

  • scipy 0.13

##Usage

Download mnist:

$ python download.py

Train:

$ python main.py --operation 0

Test:

$ python main.py --operation 1

Visualization:

$ python main.py --operation 2

GIF:

$ python make_gif.py

##Result on mnist

##Visualization:

the visualization of weights:

the visualization of activation:

##Reference code

DCGAN

About

CGAN(Conditional convolutional adversarial networks) very easy to read

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%