Skip to main content

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

Project description

# TorchGAN

[![Project Status: Active – The project has reached a stable, usable state and is being actively developed.](](
[![Build Status](](
[![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+

From source:

$ git clone
$ cd torchgan
$ python install

### Documentation

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.

### 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)

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for torchgan, version 0.0.2
Filename, size & hash File type Python version Upload date
torchgan-0.0.2-py3-none-any.whl (58.9 kB) View hashes Wheel py3
torchgan-0.0.2.tar.gz (38.5 kB) View hashes Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page