https://github.com/csteinmetz1/keras-gan

Collection of accessible implementations of Generative Adversarial Networks in Keras.

https://github.com/csteinmetz1/keras-gan

Science Score: 10.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
    Links to: arxiv.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (7.3%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

Collection of accessible implementations of Generative Adversarial Networks in Keras.

Basic Info
  • Host: GitHub
  • Owner: csteinmetz1
  • License: mit
  • Language: Python
  • Default Branch: master
  • Homepage:
  • Size: 86.2 MB
Statistics
  • Stars: 2
  • Watchers: 2
  • Forks: 1
  • Open Issues: 0
  • Releases: 0
Fork of eriklindernoren/Keras-GAN
Created over 8 years ago · Last pushed over 8 years ago

https://github.com/csteinmetz1/Keras-GAN/blob/master/

# Keras-GAN

## About
Keras implementations of Generative Adversarial Networks (GANs) suggested in research papers. If dense layers produce reasonable results for a given model I will often prefer them over convolutional layers. The reason is that I would like to enable people without GPUs to test these implementations out. 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. However, because of this the results will not always be as nice as in the papers.

## Table of Contents
- [Keras-GAN](#keras-gan)
  * [About](#about)
  * [Table of Contents](#table-of-contents)
  * [Installation](#installation)
  * [Implementations](#implementations)
    + [Auxiliary Classifier GAN](#ac-gan)
    + [Adversarial Autoencoder](#adversarial-autoencoder)
    + [Bidirectional GAN](#bigan)
    + [Boundary-Seeking GAN](#bgan)
    + [Conditional GAN](#cgan)
    + [Context-Conditional GAN](#cc-gan)
    + [Context Encoder](#context-encoder)
    + [Coupled GANs](#cogan)
    + [CycleGAN](#cyclegan)
    + [Deep Convolutional GAN](#dcgan)
    + [DiscoGAN](#discogan)
    + [DualGAN](#dualgan)
    + [Generative Adversarial Network](#gan)
    + [InfoGAN](#infogan)
    + [LSGAN](#lsgan)
    + [Pix2Pix](#pix2pix)
    + [Semi-Supervised GAN](#sgan)
    + [Super-Resolution GAN](#srgan)
    + [Wasserstein GAN](#wgan)

## 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](acgan/acgan.py)

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

### Adversarial Autoencoder Implementation of Adversarial Autoencoder. [Code](aae/adversarial_autoencoder.py) Paper: https://arxiv.org/abs/1511.05644

### BiGAN Implementation of Bidirectional Generative Adversarial Network. [Code](bigan/bigan.py) Paper: https://arxiv.org/abs/1605.09782 ### BGAN Implementation of Boundary-Seeking Generative Adversarial Networks. [Code](bgan/bgan.py) Paper: https://arxiv.org/abs/1702.08431 ### CC-GAN Implementation of Semi-Supervised Learning with Context-Conditional Generative Adversarial Networks. [Code](ccgan/ccgan.py) Paper: https://arxiv.org/abs/1611.06430

### CGAN Implementation of Conditional Generative Adversarial Nets. [Code](cgan/cgan.py) Paper:https://arxiv.org/abs/1411.1784

### Context Encoder Implementation of Context Encoders: Feature Learning by Inpainting. [Code](context_encoder/context_encoder.py) Paper: https://arxiv.org/abs/1604.07379

### CoGAN Implementation of Coupled generative adversarial networks. [Code](cogan/cogan.py) Paper: https://arxiv.org/abs/1606.07536 ### CycleGAN Implementation of Unpaired Image-to-Image Translation using Cycle-Consistent Adversarial Networks. [Code](cyclegan/cyclegan.py) Paper: https://arxiv.org/abs/1703.10593

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

### DCGAN Implementation of Deep Convolutional Generative Adversarial Network. [Code](dcgan/dcgan.py) Paper: https://arxiv.org/abs/1511.06434

### DiscoGAN Implementation of Learning to Discover Cross-Domain Relations with Generative Adversarial Networks. [Code](discogan/discogan.py) Paper: https://arxiv.org/abs/1703.05192

``` $ cd discogan $ bash download_dataset.sh edges2handbags $ python3 discogan.py ``` ### DualGAN Implementation of DualGAN: Unsupervised Dual Learning for Image-to-Image Translation. [Code](dualgan/dualgan.py) Paper: https://arxiv.org/abs/1704.02510 ### GAN Implementation of Generative Adversarial Network with a MLP generator and discriminator. [Code](gan/gan.py) Paper: https://arxiv.org/abs/1406.2661

GAN on RGB face images [Code](gan/gan_rgb.py)

### InfoGAN Implementation of InfoGAN: Interpretable Representation Learning by Information Maximizing Generative Adversarial Nets. [Code](infogan/infogan.py) Paper: https://arxiv.org/abs/1606.03657

### LSGAN Implementation of Least Squares Generative Adversarial Networks. [Code](lsgan/lsgan.py) Paper: https://arxiv.org/abs/1611.04076 ### Pix2Pix Implementation of Unpaired Image-to-Image Translation with Conditional Adversarial Networks. [Code](pix2pix/pix2pix.py) Paper: https://arxiv.org/abs/1611.07004

``` $ cd pix2pix $ bash download_dataset.sh facades $ python3 pix2pix.py ```

### SGAN Implementation of Semi-Supervised Generative Adversarial Network. [Code](sgan/sgan.py) Paper: https://arxiv.org/abs/1606.01583

### SRGAN Implementation of Photo-Realistic Single Image Super-Resolution Using a Generative Adversarial Network. [Code](srgan/srgan.py) Paper: https://arxiv.org/abs/1609.04802

### WGAN Implementation of Wasserstein GAN (with DCGAN generator and discriminator). [Code](wgan/wgan.py) Paper: https://arxiv.org/abs/1701.07875

Owner

  • Name: Christian J. Steinmetz
  • Login: csteinmetz1
  • Kind: user
  • Location: London, UK
  • Company: @aim-qmul

Machine learning for Hi-Fi audio. PhD Researcher at C4DM.

GitHub Events

Total
  • Watch event: 1
Last Year
  • Watch event: 1