Skip to content

pyTorch implementation of Spectral Normalization for Generative Adversarial Networks

Notifications You must be signed in to change notification settings

godisboy/SN-GAN

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages