Skip to content

dasayan05/vanilla-GAN

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vanilla-GAN


This repository contains a simple implementation of Vanilla Generative Adverserial Network (paper) with the Generator and Discriminator being simple Multi-layer perceptrons. I also used the training tips-and-tricks from this paper and this paper. The model is trained on MNIST digit dataset.

Loss curves (blue: generator; orange: discriminator)

Loss Curves

Generated samples

samples samples

How to run the code

Just execute

python gan.py

Requirements:

  1. PyTorch
  2. Matplotlib
  3. Numpy