• Stars
    star
    148
  • Rank 248,464 (Top 5 %)
  • Language
    Python
  • License
    MIT License
  • Created about 5 years ago
  • Updated over 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Collection of PyTorch Lightning implementations of Generative Adversarial Network varieties presented in research papers.

PyTorch Lightning GANs

DOI GitHub license GitHub Repo stars GitHub code size in bytes GitHub issues

Collection of PyTorch Lightning implementations of Generative Adversarial Network varieties presented in research papers.

Installation

$ pip install -r requirements.txt

Example

The minimum code for training GAN is as follows:

from pytorch_lightning.trainer import Trainer
from models import GAN


model = GAN()
trainer = Trainer()
trainer.fit(model)

or you can run the following command:

$ python models/gan.py --gpus=2

Implementations

  • ACGAN: Auxiliary Classifier GAN (Odena et al.)
  • BEGAN: Boundary equilibrium generative adversarial networks (Berthelot et al.)
  • DCGAN: Unsupervised Representation Learning with Deep Convolutional Generative Adversarial Networks (Radford et al.)
  • GAN: Generative Adversarial Networks (Goodfellow et al.)
  • LSGAN: Least squares generative adversarial networks (Mao et al.)
  • WGAN: Wasserstein GAN (Arjovsky et al.)
  • WGAN-GP: Improved Training of Wasserstein GANs (Gulrajani et al.)

Acknowledgements

This repository is highly inspired by PyTorch-GAN repository.

References

  • Goodfellow, Ian, et al. "Generative adversarial nets." Advances in neural information processing systems. 2014.
  • Radford, Alec, Luke Metz, and Soumith Chintala. "Unsupervised representation learning with deep convolutional generative adversarial networks." arXiv preprint arXiv:1511.06434 (2015).
  • Odena, Augustus, Christopher Olah, and Jonathon Shlens. "Conditional image synthesis with auxiliary classifier gans." International conference on machine learning. PMLR, 2017.
  • Berthelot, David, Thomas Schumm, and Luke Metz. "Began: Boundary equilibrium generative adversarial networks." arXiv preprint arXiv:1703.10717 (2017).
  • Mao, Xudong, et al. "Least squares generative adversarial networks." Proceedings of the IEEE international conference on computer vision. 2017.
  • Arjovsky, Martin, Soumith Chintala, and Lรฉon Bottou. "Wasserstein generative adversarial networks." Proceedings of the 34th International Conference on Machine Learning-Volume 70. 2017.
  • Gulrajani, Ishaan, et al. "Improved training of wasserstein gans." Advances in neural information processing systems. 2017.

Citation

@software{https://doi.org/10.5281/zenodo.4404867,
  doi = {10.5281/ZENODO.4404867},
  url = {https://zenodo.org/record/4404867},
  author = {Masanari Kimura},
  title = {pytorch-lightning-gans},
  publisher = {Zenodo},
  year = {2020},
  copyright = {Open Access}
}

More Repositories

1

awesome-information-geometry

About A collection of AWESOME things about information geometry Topics
63
star
2

born_again_neuralnet

Unofficial pytorch implementation of Born-Again Neural Networks.
Python
50
star
3

chppl-tool

C/C++ package manager for header only libraries https://github.com/nocotan/chppL
C++
24
star
4

rmessenger

A Rust Wrapper for the FaceBook Messenger Bot API
Rust
22
star
5

pyndlsearch

Python wrapper of NDL Search.
Python
14
star
6

qitReader

Qiita Reader in konsole
Python
13
star
7

pya3rt

pya3rt is an API wrapper for A3RT in Python.
Python
11
star
8

chainer-examples

This is implementation examples by Chainer.
Python
11
star
9

numerical_analysis.jl

ๆ•ฐๅ€ค่จˆ็ฎ—100ๆœฌใƒŽใƒƒใ‚ฏ
Julia
10
star
10

geodesical_skew_divergence

PyTorch implementation of ฮฑ-geodesical skew divergence
Python
8
star
11

dotfiles

dotfiles vimrc, bashrc, zshrc, etc...
Vim Script
7
star
12

otus

A microframework for C++
C++
6
star
13

chppL

C/C++ package manager for header only libraries
Python
5
star
14

density_fixing

Implementation of the density-fixing training method
Python
5
star
15

slides

5
star
16

skipgram_cpp

Skipgram with Hierarchical Softmax
C++
5
star
17

algorithms

C++
5
star
18

cocob_backprop

Unofficial PyTorch implementation of COCOB Backprop.
Python
4
star
19

mllib

ml library
C++
3
star
20

algorithm_collection

Collection of various algorithms in mathematics, machine learning, computer science and physics implemented in Python for educational purposes.
Python
3
star
21

pytorch-examples

Jupyter Notebook
2
star
22

reflib

C++ Libraries
C++
2
star
23

orakl

Active Learning for TensorFlow
Jupyter Notebook
2
star
24

yahooapis-cpp

C/C++ Yahoo API Wrapper
C++
2
star
25

dynet-examples

C++
2
star
26

DeepLab

Python
1
star
27

HackerRank

Python, C/C++
Python
1
star
28

nnattacks

Adversarial Attack for Deep Neural Networks
Python
1
star
29

DRRN

Python
1
star
30

lightweight_models.torch

Python
1
star
31

nocotan.github.io

GitHub Pages https://nocotan.github.io/
HTML
1
star
32

AOJ

solve AOJ
C++
1
star
33

nocotan

1
star
34

IGIWERM

Information Geometrically Generalized Covariate Shift Adaptation
Python
1
star