All Projects → 4thgen → DCGAN-CIFAR10

4thgen / DCGAN-CIFAR10

Licence: Apache-2.0 license
A implementation of DCGAN (Deep Convolutional Generative Adversarial Networks) for CIFAR10 image

Programming Languages

python
139335 projects - #7 most used programming language
Batchfile
5799 projects

Projects that are alternatives of or similar to DCGAN-CIFAR10

Generative adversarial networks 101
Keras implementations of Generative Adversarial Networks. GANs, DCGAN, CGAN, CCGAN, WGAN and LSGAN models with MNIST and CIFAR-10 datasets.
Stars: ✭ 138 (+666.67%)
Mutual labels:  generative-adversarial-network, dcgan, cifar10
Dcgan Tensorflow
A Tensorflow implementation of Deep Convolutional Generative Adversarial Networks trained on Fashion-MNIST, CIFAR-10, etc.
Stars: ✭ 70 (+288.89%)
Mutual labels:  generative-adversarial-network, dcgan
Pix2pix
Image-to-image translation with conditional adversarial nets
Stars: ✭ 8,765 (+48594.44%)
Mutual labels:  generative-adversarial-network, dcgan
Pytorch-conditional-GANs
Implementation of Conditional Generative Adversarial Networks in PyTorch
Stars: ✭ 91 (+405.56%)
Mutual labels:  generative-adversarial-network, dcgan
Relativistic Average Gan Keras
The implementation of Relativistic average GAN with Keras
Stars: ✭ 36 (+100%)
Mutual labels:  generative-adversarial-network, cifar10
Ali Pytorch
PyTorch implementation of Adversarially Learned Inference (BiGAN).
Stars: ✭ 61 (+238.89%)
Mutual labels:  generative-adversarial-network, cifar10
Deep Learning With Python
Example projects I completed to understand Deep Learning techniques with Tensorflow. Please note that I do no longer maintain this repository.
Stars: ✭ 134 (+644.44%)
Mutual labels:  generative-adversarial-network, dcgan
Igan
Interactive Image Generation via Generative Adversarial Networks
Stars: ✭ 3,845 (+21261.11%)
Mutual labels:  generative-adversarial-network, dcgan
Semantic image inpainting
Semantic Image Inpainting
Stars: ✭ 140 (+677.78%)
Mutual labels:  generative-adversarial-network, dcgan
Tensorflow Mnist Gan Dcgan
Tensorflow implementation of Generative Adversarial Networks (GAN) and Deep Convolutional Generative Adversarial Netwokrs for MNIST dataset.
Stars: ✭ 163 (+805.56%)
Mutual labels:  generative-adversarial-network, dcgan
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 (+822.22%)
Mutual labels:  generative-adversarial-network, dcgan
Gans In Action
Companion repository to GANs in Action: Deep learning with Generative Adversarial Networks
Stars: ✭ 748 (+4055.56%)
Mutual labels:  generative-adversarial-network, dcgan
Context Encoder
[CVPR 2016] Unsupervised Feature Learning by Image Inpainting using GANs
Stars: ✭ 731 (+3961.11%)
Mutual labels:  generative-adversarial-network, dcgan
pytorch-gans
PyTorch implementation of GANs (Generative Adversarial Networks). DCGAN, Pix2Pix, CycleGAN, SRGAN
Stars: ✭ 21 (+16.67%)
Mutual labels:  generative-adversarial-network, dcgan
Awesome Gans
Awesome Generative Adversarial Networks with tensorflow
Stars: ✭ 585 (+3150%)
Mutual labels:  generative-adversarial-network, dcgan
Spectralnormalizationkeras
Spectral Normalization for Keras Dense and Convolution Layers
Stars: ✭ 100 (+455.56%)
Mutual labels:  generative-adversarial-network, cifar10
Pytorch Mnist Celeba Gan Dcgan
Pytorch implementation of Generative Adversarial Networks (GAN) and Deep Convolutional Generative Adversarial Networks (DCGAN) for MNIST and CelebA datasets
Stars: ✭ 363 (+1916.67%)
Mutual labels:  generative-adversarial-network, dcgan
Chainer Gan Lib
Chainer implementation of recent GAN variants
Stars: ✭ 386 (+2044.44%)
Mutual labels:  generative-adversarial-network, dcgan
Anogan Tf
Unofficial Tensorflow Implementation of AnoGAN (Anomaly GAN)
Stars: ✭ 218 (+1111.11%)
Mutual labels:  generative-adversarial-network, dcgan
Image generator
DCGAN image generator 🖼️.
Stars: ✭ 173 (+861.11%)
Mutual labels:  generative-adversarial-network, dcgan

DCGAN-CIFAR10

A implementation of DCGAN (Deep Convolutional Generative Adversarial Networks) for CIFAR10 image. this code is base on hwalsuklee/tensorflow-generative-model-collections (https://github.com/hwalsuklee/tensorflow-generative-model-collections), including some modification. very thanks to @hwalsuklee

Background

I tried to make a model for GAN with cifar10, it was different with MNIST image set. so the result was not good enough less than expected. maybe color dimension is more complicated factor for generation. A deep convolutional model for cifar10 made by own routine, according to many other implementatons, websites and blogs. and adding some significant tips.

Coding Condition

Building Model

Discriminator

  • D: (100, 32, 32, 3) // input image shape with batch size 100
  • D: (100, 16, 16, 64) // after conv2d 5x5 stride 2
  • D: (100, 8, 8, 128) // after conv2d 5x5 stride 2
  • D: (100, 4, 4, 256) // after conv2d 5x5 stride 2
  • D: (100, 2, 2, 512) // after conv2d 5x5 stride 2
  • D: (100, 2048) // flatten
  • D: (100, 1) // sigmoid out

Generator

  • G: (100, 100) // noise vector with batch size 100
  • G: (100, 2048) // after linear
  • G: (100, 2, 2, 512) // reshape
  • G: (100, 4, 4, 256) // after deconv2d 5x5 stride 2
  • G: (100, 8, 8, 128) // after deconv2d 5x5 stride 2
  • G: (100, 16, 16, 64) // after deconv2d 5x5 stride 2
  • G: (100, 32, 32, 3) // after deconv2d 5x5 stride 2 and tanh out

TIPs

  1. using leaky relu in descriminator all layer except last one.
  2. using different learning rate for dicriminator(1e-3) and generator(1e-4)
  3. using batch normalization with axis="channel index"
  4. using tanh output in generator
  5. not using batch normalization at first and last layer
  6. train discriminator once and generator twice

Result sample

generating image result at epoch 100 epoch100

epoch result image movies (epoch 0~500)
Youtude:DCGAN Epoch 000~499 Results

evolving generator (epoch 0~500)
Evolution of DCGAN Generator (faster)

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].