/torchgan

Research Framework for easy and efficient training of GANs based on Pytorch

Primary LanguageJupyter NotebookMIT LicenseMIT

TorchGAN

Project Status: Active – The project has reached a stable, usable state and is being actively developed. Build Status License Slack Stable Documentation Latest Documentation PyPI version

TorchGAN is a Pytorch based framework for designing and developing Generative Adversarial Networks. This framework has been designed to provide building blocks for popular GANs and also to allow customization for cutting edge research. Using TorchGAN's modular structure allows

  • Trying out popular GAN models on your dataset.
  • Plug in your new Loss Function, new Architecture, etc. with the traditional ones.
  • Seamlessly visualize the training with a variety of logging backends.

Installation

Using pip (for stable release):

  $ pip3 install torchgan

Using pip (for latest master):

  $ pip3 install git+https://github.com/torchgan/torchgan.git

From source:

  $ git clone https://github.com/torchgan/torchgan.git
  $ cd torchgan
  $ python setup.py install

Documentation

The documentation is available here

The documentation for this package can be generated locally.

  $ git clone https://github.com/torchgan/torchgan.git
  $ cd torchgan/docs
  $ pip install -r requirements.txt
  $ make html

Now open the corresponding file from build directory.

Contributing

We appreciate all contributions. If you are planning to contribute bug-fixes, please do so without any further discussion. If you plan to contribute new features, utility functions or extensions, please first open an issue and discuss the feature with us. For more detailed guidelines head over to the official documentation.

Disclaimer

This package is under active development. So things that are currently working might break in a future release. However, feel free to open issue if you get stuck anywhere.

Authors

This package is currently maintained by

  • Avik Pal (@avik-pal)
  • Aniket Das (@Aniket1998)