Skip to content

Tensorflow2.0 implementation of DCGAN and Conditional GAN. A good baseline for developing other GAN networks

Notifications You must be signed in to change notification settings

ztz1995/gan-variants-tf2.0

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 

Repository files navigation

gan-variants-tensorflow2.0

Tensorflow2.0 implementation of DCGAN and CGAN models

Results

DCGANs can generate an image similar to the ones in the dataset through a random noise vector.

Conditional GANs can be used to generate a specific class of image out of all the classes in the dataset. It takes in an image label along with the noise as input and generates an image of the corresponding label. The visualization is shown below.

Labels used for CGAN image generation (see gif below): [0,2,4,6,8,1,3,5,7,9,3,6,9,1,5,7]

       CGAN              |          DCGAN

alt text alt text

CGAN gif images | DCGAN gif images

Requirements

  1. Tensorflow v2
  2. Numpy
  3. Matplotlib for plotting (optional)
  4. imagio for gif creation (optional)

References

  1. DCGAN paper
  2. CGAN paper
  3. Tensorflow tutorial

About

Tensorflow2.0 implementation of DCGAN and Conditional GAN. A good baseline for developing other GAN networks

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%