wind222 / SN-GAN

pyTorch implementation of Spectral Normalization for Generative Adversarial Networks

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SN-GAN

PyTorch implementation of Spectral Normalization for Generative Adversarial Networks

Prerequistes

Usage

  • Clone this repo:
git clone https://github.com/godisboy/SN-GAN.git
cd SN-GAN
  • Train the standard model for 32*32 image size
python train.py --cuda(optional) 
  • Train the Res-Generator and Res-Discriminator for 64*64 image size
python train-res.py --cuda --dataPath /Path/to/yourdataset/

  1. Result of SN-GAN on CIFAR10 dataset
  • Generated

Generated samples

  • Generated

Generated samples

  • Generated samples with Standard Generator and ResDiscriminator

Generated samples

Note: The ResBlock of Res-Generator is different from what implemented in original paper. This repo use UpsamplingBilinear instead of Uppooling for Upsampling operation.

To Do

Acknowledgments

Based on the implementation DCGAN and official implementation with Chainer sngan_projection

About

pyTorch implementation of Spectral Normalization for Generative Adversarial Networks


Languages

Language:Python 100.0%