Tensorflow2.0 implementation of DCGAN and CGAN models
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
CGAN gif images | DCGAN gif images
- Tensorflow v2
- Numpy
- Matplotlib for plotting (optional)
- imagio for gif creation (optional)
- DCGAN paper
- CGAN paper
- Tensorflow tutorial