eriklindernoren /Keras-GAN

Keras implementations of Generative Adversarial Networks.

★ 9,202⑂ 3,057👁 264⑃ 51● 228▤ 0
PythonMITCreated 2017-07-11
More from this author
+0
Daily
9,202
stars
3,057
forks
264
watchers
51
prs
228
issues
0
releases

README

This repository has gone stale as I unfortunately do not have the time to maintain it anymore. If you would like to continue the development of it as a collaborator send me an email at [email protected].

 Keras-GAN
Collection of Keras implementations of Generative Adversarial Networks (GANs) suggested in research papers. These models are in some cases simplified versions of the ones ultimately described in the papers, but I have chosen to focus on getting the core ideas covered instead of getting every layer configuration right. Contributions and suggestions of GAN varieties to implement are very welcomed.

See also: PyTorch-GAN

 Table of Contents
   Installation
   Implementations
    + Auxiliary Classifier GAN
    + Adversarial Autoencoder
    + Bidirectional GAN
    + Boundary-Seeking GAN
    + Conditional GAN
    + Context-Conditional GAN
    + Context Encoder
    + Coupled GANs
    + CycleGAN
    + Deep Convolutional GAN
    + DiscoGAN
    + DualGAN
    + Generative Adversarial Network
    + InfoGAN
    + LSGAN
    + Pix2Pix
    + PixelDA
    + Semi-Supervised GAN
    + Super-Resolution GAN
    + Wasserstein GAN
    + Wasserstein GAN GP     

 Installation
    $ git clone https://github.com/eriklindernoren/Keras-GAN
    $ cd Keras-GAN/
    $ sudo pip3 install -r requirements.txt

 Implementations   
 AC-GAN
Implementation of _Auxiliary Classifier Generative Adversarial Network_.

Code

Paper: https://arxiv.org/abs/1610.09585

 Example

$ cd acgan/
$ python3 acgan.py



    


 Adversarial Autoencoder
Implementation of _Adversarial Autoencoder_.

Code

Paper: https://arxiv.org/abs/1511.05644

 Example

$ cd aae/
$ python3 aae.py



    


 BiGAN
Implementation of _Bidirectional Generative Adversarial Network_.

Code

Paper: https://arxiv.org/abs/1605.09782

 Example

$ cd bigan/
$ python3 bigan.py


 BGAN
Implementation of _Boundary-Seeking Generative Adversarial Networks_.

Code

Paper: https://arxiv.org/abs/1702.08431

 Example

$ cd bgan/
$ python3 bgan.py


 CC-GAN
Implementation of _Semi-Supervised Learning with Context-Conditional Generative Adversarial Networks_.

Code

Paper: https://arxiv.org/abs/1611.06430

 Example

$ cd ccgan/
$ python3 ccgan.py



    


 CGAN
Implementation of _Conditional Generative Adversarial Nets_.

Code

Paper:https://arxiv.org/abs/1411.1784

 Example

$ cd cgan/
$ python3 cgan.py



    


 Context Encoder
Implementation of _Context Encoders: Feature Learning by Inpainting_.

Code

Paper: https://arxiv.org/abs/1604.07379

 Example

$ cd context_encoder/
$ python3 context_encoder.py



    


 CoGAN
Implementation of _Coupled generative adversarial networks_.

Code

Paper: https://arxiv.org/abs/1606.07536

 Example

$ cd cogan/
$ python3 cogan.py


 CycleGAN
Implementation of _Unpaired Image-to-Image Translation using Cycle-Consistent Adversarial Networks_.

Code

Paper: https://arxiv.org/abs/1703.10593


    


 Example

$ cd cyclegan/
$ bash download_dataset.sh apple2orange
$ python3 cyclegan.py

Top issues

Snapshot: 2026-11-16T09:23:14Z · Data license Apache-2.0 · JSON