All Projects → w86763777 → Pytorch Gan Collections

w86763777 / Pytorch Gan Collections

PyTorch implementation of DCGAN, WGAN-GP and SNGAN.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Pytorch Gan Collections

Gan Tutorial
Simple Implementation of many GAN models with PyTorch.
Stars: ✭ 227 (+77.34%)
Mutual labels:  dcgan, wgan-gp
Generative-Model
Repository for implementation of generative models with Tensorflow 1.x
Stars: ✭ 66 (-48.44%)
Mutual labels:  dcgan, wgan-gp
Dcgan wgan wgan Gp lsgan sngan rsgan began acgan pggan tensorflow
Implementation of some different variants of GANs by tensorflow, Train the GAN in Google Cloud Colab, DCGAN, WGAN, WGAN-GP, LSGAN, SNGAN, RSGAN, RaSGAN, BEGAN, ACGAN, PGGAN, pix2pix, BigGAN
Stars: ✭ 166 (+29.69%)
Mutual labels:  dcgan, wgan-gp
Dcgan Lsgan Wgan Gp Dragan Pytorch
DCGAN LSGAN WGAN-GP DRAGAN PyTorch
Stars: ✭ 134 (+4.69%)
Mutual labels:  dcgan, wgan-gp
Ganotebooks
wgan, wgan2(improved, gp), infogan, and dcgan implementation in lasagne, keras, pytorch
Stars: ✭ 1,446 (+1029.69%)
Mutual labels:  dcgan, wgan-gp
Dcgan Lsgan Wgan Gp Dragan Tensorflow 2
DCGAN LSGAN WGAN-GP DRAGAN Tensorflow 2
Stars: ✭ 373 (+191.41%)
Mutual labels:  dcgan, wgan-gp
Pytorch-Basic-GANs
Simple Pytorch implementations of most used Generative Adversarial Network (GAN) varieties.
Stars: ✭ 101 (-21.09%)
Mutual labels:  dcgan, wgan-gp
Awesome Gans
Awesome Generative Adversarial Networks with tensorflow
Stars: ✭ 585 (+357.03%)
Mutual labels:  dcgan, wgan-gp
Mimicry
[CVPR 2020 Workshop] A PyTorch GAN library that reproduces research results for popular GANs.
Stars: ✭ 458 (+257.81%)
Mutual labels:  dcgan, wgan-gp
Chainer Gan Lib
Chainer implementation of recent GAN variants
Stars: ✭ 386 (+201.56%)
Mutual labels:  dcgan, wgan-gp
Tf.gans Comparison
Implementations of (theoretical) generative adversarial networks and comparison without cherry-picking
Stars: ✭ 477 (+272.66%)
Mutual labels:  dcgan, wgan-gp
Deeplearningmugenknock
でぃーぷらーにんぐを無限にやってディープラーニングでDeepLearningするための実装CheatSheet
Stars: ✭ 684 (+434.38%)
Mutual labels:  dcgan, wgan-gp
Dcgan Pytorch
PyTorch Implementation of DCGAN trained on the CelebA dataset.
Stars: ✭ 32 (-75%)
Mutual labels:  dcgan
Unified Gan Tensorflow
A Tensorflow implementation of GAN, WGAN and WGAN with gradient penalty.
Stars: ✭ 93 (-27.34%)
Mutual labels:  wgan-gp
Keras Dcgan
Keras implementation of Deep Convolutional Generative Adversarial Networks
Stars: ✭ 943 (+636.72%)
Mutual labels:  dcgan
Dcgan
Porting pytorch dcgan on FloydHub
Stars: ✭ 21 (-83.59%)
Mutual labels:  dcgan
Psgan
Periodic Spatial Generative Adversarial Networks
Stars: ✭ 108 (-15.62%)
Mutual labels:  dcgan
Dcgan Tensorflow
A Tensorflow implementation of Deep Convolutional Generative Adversarial Networks trained on Fashion-MNIST, CIFAR-10, etc.
Stars: ✭ 70 (-45.31%)
Mutual labels:  dcgan
Dcgan Tensorflow
A tensorflow implementation of "Deep Convolutional Generative Adversarial Networks"
Stars: ✭ 6,963 (+5339.84%)
Mutual labels:  dcgan
Gans In Action
Companion repository to GANs in Action: Deep learning with Generative Adversarial Networks
Stars: ✭ 748 (+484.38%)
Mutual labels:  dcgan

Collections of GANs

Pytorch implementation of unsupervised GANs.

For more defails about calculating Inception Score and FID Score using pytorch can be found in Pytorch-Unified-Inception-FID-Score

Models

  • [x] DCGAN
  • [x] WGAN
  • [x] WGAN-GP
  • [x] SN-GAN

Requirements

  • python 3.6
  • Install python packages
    pip install -U pip setuptools
    pip install -r requirements.txt
    

Results

Model Dataset Inception Score FID Score
DCGAN CIFAR10 6.111(0.088) 41.75
WGAN(CNN) CIFAR10 6.605(0.071) 30.73
WGAN-GP(CNN) CIFAR10 7.415(0.065) 21.89
WGAN-GP(ResNet) CIFAR10 7.829(0.076) 15.57
SNGAN(CNN) CIFAR10 7.521(0.111) 20.41
SNGAN(ResNet) CIFAR10 8.214(0.094) 14.41

Examples

  • DCGAN

    image image

  • WGAN(CNN)

    image image

  • WGAN-GP(CNN)

    image image

  • WGAN-GP(ResNet)

    image image

  • SNGAN(CNN)

    image image

  • SNGAN(ResNet)

    image image

Reproduce

Download cifar10_stats.npz for calculating FID score and put it to ./stats/cifar10_stats.npz which is the default path

Training

  • DCGAN
     python gans/dcgan.py --flagfile ./config/DCGAN_CIFAR10.txt
    
  • WGAN(CNN)
     python gans/wgan.py --flagfile ./config/WGAN_CIFAR10_CNN.txt
    
  • WGAN-GP(CNN)
     python gans/wgangp.py --flagfile ./config/WGANGP_CIFAR10_CNN.txt
    
  • WGAN-GP(ResNet)
     python gans/wgangp.py --flagfile ./config/WGANGP_CIFAR10_RES.txt
    
  • SNGAN(CNN)
     python gans/sngan.py --flagfile ./config/SNGAN_CIFAR10_CNN.txt
    
  • SNGAN(ResNet)
     python gans/sngan.py --flagfile ./config/SNGAN_CIFAR10_RES.txt
    

Generate GIF

python tools/sample2gif.py --logdir path/to/logdir

e.g.

python tools/sample2gif.py --logdir ./logs/DCGAN_CIFAR10

output GIF is ./logs/DCGAN_CIFAR10/progress.gif

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].