GANS
GANS
Generative Models
We try to learn the underlying the distribution
from which our dataset comes from.
Eg: Variational AutoEncoders (VAE)
WHAT ARE GANS?
Generative Adversarial Networks
Generative Models
We try to learn the underlying the distribution
from which our dataset comes from.
Eg: Variational AutoEncoders (VAE)
Generative Models
We try to learn the underlying the distribution
from which our dataset comes from.
Eg: Variational AutoEncoders (VAE)
Adversarial Training
GANS are made up of two competing networks (adversaries)
that are trying beat each other.
WHAT ARE GANS?
Generative Adversarial Networks
Adversarial Training
GANS are made up of two competing networks (adversaries)
that are trying beat each other.
WHAT ARE GANS?
Generated
P(z) Generator
Data
WHAT ARE GANS?
Generated
P(z) Generator
Data
Discriminator Real/Fake?
WHAT ARE GANS?
Generated
P(z) Generator
Data
Discriminator Real/Fake?
Real
Data
HOW TO TRAIN A GAN?
HOW TO TRAIN A GAN?
At t = 0,
Latent Generated
Generator (fake image)
Vector Image
Generated
(fake data)
Data
Discriminator Real/Fake?
Given
(Real data)
Training
Data
HOW TO TRAIN A GAN?
At t = 0,
Latent Generated
Generator (fake image)
Vector Image
Binary
Classifier
Generated
(fake data)
Data
Discriminator Real/Fake?
Given
(Real data)
Training
Data
HOW TO TRAIN A GAN?
Which network should I train first?
HOW TO TRAIN A GAN?
Which network should I train first?
Discriminator!
HOW TO TRAIN A GAN?
Discriminator
Step 1:
Train the Discriminator
using the current ability
of the Generator.
HOW TO TRAIN A GAN?
Discriminator Generator
Step 1: Step 2:
Train the Discriminator Train the Generator
using the current ability to beat
of the Generator. the Discriminator.
HOW TO TRAIN A GAN?
Discriminator Generator
Step 1: Step 2:
Train the Discriminator Train the Generator
using the current ability to beat
of the Generator. the Discriminator.
Discriminator Generator
Step 1: Step 2:
Train the Discriminator Train the Generator
using the current ability to beat
of the Generator. the Discriminator.
MNIST AND FASHION-MNIST