Skip to content

Tensorflow implementation of simple Conditional Generative Adversarial Network(CGAN).

Notifications You must be signed in to change notification settings

Jisung-Yoon/Simple_CGAN

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Conditional_GAN

Tensorflow implementation of Conditional Generative Adversarial Network(CGAN).
This repository is minor change of Vanilla_GAN. This model can generate MNIST samples with certian labels.

File discription

  • main.py: Main function of implemenation, construct and train the model, generates images
  • model.py: CGAN class
  • downlad.py: Files for downlading MNIST data sets
  • ops.py: Operation functions
  • utils.py: Functions dealing with images processing.

Prerequisites (my environments)

  • Python 3.5.2
  • Tensorflow > 0.14
  • Numpy

Usage

First, download dataset with:

$ python download.py mnist

Second, write the main function with configuration you want.

Results

Result with same latent variables (0 to 100 epochs).
Each number (0 to 9) can be generated as you want by using CGAN. result

About

Tensorflow implementation of simple Conditional Generative Adversarial Network(CGAN).

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages