eriklindernoren /PyTorch-GAN

PyTorch implementations of Generative Adversarial Networks.

★ 17,453⑂ 4,045👁 215⑃ 55● 160▤ 0
PythonMITCreated 2018-04-21
+1
日增长
17,453
stars
4,045
forks
215
watchers
55
prs
160
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].

 PyTorch-GAN
Collection of PyTorch implementations of Generative Adversarial Network varieties presented in research papers. Model architectures will not always mirror the ones proposed 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 GANs to implement are very welcomed.

See also: Keras-GAN

 Table of Contents
   Installation
   Implementations
    + Auxiliary Classifier GAN
    + Adversarial Autoencoder
    + BEGAN
    + BicycleGAN
    + Boundary-Seeking GAN
    + Cluster GAN
    + Conditional GAN
    + Context-Conditional GAN
    + Context Encoder
    + Coupled GAN
    + CycleGAN
    + Deep Convolutional GAN
    + DiscoGAN
    + DRAGAN
    + DualGAN
    + Energy-Based GAN
    + Enhanced Super-Resolution GAN
    + GAN
    + InfoGAN
    + Least Squares GAN
    + MUNIT
    + Pix2Pix
    + PixelDA
    + Relativistic GAN
    + Semi-Supervised GAN
    + Softmax GAN
    + StarGAN
    + Super-Resolution GAN
    + UNIT
    + Wasserstein GAN
    + Wasserstein GAN GP
    + Wasserstein GAN DIV

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

 Implementations   
 Auxiliary Classifier GAN
_Auxiliary Classifier Generative Adversarial Network_

 Authors
Augustus Odena, Christopher Olah, Jonathon Shlens

 Abstract
Synthesizing high resolution photorealistic images has been a long-standing challenge in machine learning. In this paper we introduce new methods for the improved training of generative adversarial networks (GANs) for image synthesis. We construct a variant of GANs employing label conditioning that results in 128x128 resolution image samples exhibiting global coherence. We expand on previous work for image quality assessment to provide two new analyses for assessing the discriminability and diversity of samples from class-conditional image synthesis models. These analyses demonstrate that high resolution samples provide class information not present in low resolution samples. Across 1000 ImageNet classes, 128x128 samples are more than twice as discriminable as artificially resized 32x32 samples. In addition, 84.7% of the classes have samples exhibiting diversity comparable to real ImageNet data.

[[Paper]](https://arxiv.org/abs/1610.09585) [[Code]](implementations/acgan/acgan.py)

 Run Example

$ cd implementations/acgan/
$ python3 acgan.py



    


 Adversarial Autoencoder
_Adversarial Autoencoder_

 Authors
Alireza Makhzani, Jonathon Shlens, Navdeep Jaitly, Ian Goodfellow, Brendan Frey

 Abstract
n this paper, we propose the "adversarial autoencoder" (AAE), which is a probabilistic autoencoder that uses the recently proposed generativ

Top issues

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