项目作者: Gaurav927

项目描述 :
Generative Adversial Network using MNIST Data
高级语言: Jupyter Notebook
项目地址: git://github.com/Gaurav927/Generative-Adversial-Network.git
创建时间: 2019-04-08T15:09:11Z
项目社区:https://github.com/Gaurav927/Generative-Adversial-Network

开源协议:

下载


Generative-Adversial-Network

Generative Adversial Network using MNIST Data

Steps of GAN Algorithm

  1. The generator takes in random numbers and returns an image.
  2. This generated image is fed into the discriminator alongside a stream of images taken from the actual, ground-truth dataset.
  3. The discriminator takes in both real and fake images and returns probabilities, a number between 0 and 1, with 1 representing a prediction of authenticity and 0 representing fake.

Model Architecture

GAN

GAN working Principle

There are 2 neural network, one neural network called generator generates new data instances while the other discriminator
evaluates the generated image for authencity. Generators creates synthetic images and then passes to discriminator(In hope that
Generator will be able to fool the Discriminator even images generated by generator are fake.

So we have a Counter Objective function for Generator and Discriminator

Generator is trying to fool the Discriminator while Discriminator is trying caught the fake images coming from Generator

Algorithm (taken from Paper)

Algorithm_GAN

Training

Result

result