The different generative models considered here are Variational Autoencoders (VAEs) and Generative Adversarial Networks (GANs).
This experiment is accompanied by blog post at : https://kvmanohar22.github.io/Generative-Models
- Download the MNIST and CIFAR datasets
python main.py --train --model vae --dataset mnistpython main.py --train --model gan --dataset mnistFor the complete list of command line options, run:
python main.py --helpThe model generates images at a frequence specified by generate_frq which is by default 1.
Sample images from MNIST data is :
On the left is image generated from VAE and on the right is GIF showing images generated from GAN as a function of epochs:
For examples and explanation, have a look at the blog post.


