Giter VIP home page Giter VIP logo

pytorch-lightning-gans's Introduction

PyTorch Lightning GANs

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

  • 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).
  • 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.

pytorch-lightning-gans's People

Contributors

nocotan avatar zzachw avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.