Home

Awesome

SN-GAN

PyTorch implementation of Spectral Normalization for Generative Adversarial Networks

Prerequistes

Usage

git clone https://github.com/godisboy/SN-GAN.git
cd SN-GAN
python train.py --cuda(optional) 
python train-res.py --cuda --dataPath /Path/to/yourdataset/

  1. Result of SN-GAN on CIFAR10 dataset

Generated samples

Generated samples

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