Skip to content

veb-101/Generative_Models

Repository files navigation

Generative Models


Short intro about GANs

GANs are a framework for teaching a DL model to capture the training data’s distribution so we can generate new data from that same distribution. GANs were invented by Ian Goodfellow in 2014 and first described in the paper Generative Adversarial Nets. They are made of two distinct models, a generator and a discriminator. The job of the generator is to spawn ‘fake’ images that look like the training images. The job of the discriminator is to look at an image and output whether or not it is a real training image or a fake image from the generator. During training, the generator is constantly trying to outsmart the discriminator by generating better and better fakes, while the discriminator is working to become a better detective and correctly classify the real and fake images.

  • Models

    1. Variational Autoencoder
    2. Deep Convolutional GAN (DCGAN)

  1. VAE - Mnist

  2. VAE - Labelled Faces in the wild dataset

    • notebook
    • Not much success in generation
  3. DCGAN - MNIST

    • notebook
    • Example Generation: View Notebook
  4. DCGAN - CELEBA dataset

  1. DCGAN - Anime faces dataset
  • PS: GANs are harder to train than I imagined.
  • These examples generation can be better, you are very welcome to take my started code and add on it.

About

Code for building generative models

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published