Counting 3,464 Big Data & Machine Learning Frameworks, Toolsets, and Examples...
Suggestion? Feedback? Tweet @stkim1

Last Commit
Jan. 23, 2019
Sep. 20, 2018


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.


Using pip (for stable release):

  $ pip3 install torchgan

Using pip (for latest master):

  $ pip3 install git+

From source:

  $ git clone
  $ cd torchgan
  $ python install


The documentation is available here

The documentation for this package can be generated locally.

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

Now open the corresponding file from build directory.


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.


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.


This package is currently maintained by

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