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.](https://www.repostatus.org/badges/latest/active.svg)](https://www.repostatus.org/#active)
[![Build Status](https://travis-ci.org/torchgan/torchgan.svg?branch=master)](https://travis-ci.org/torchgan/torchgan)
[![License](http://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat)](LICENSE)
[![Slack](https://img.shields.io/badge/chat-on%20slack-yellow.svg)](https://join.slack.com/t/torchgan/shared_invite/enQtNDkyMTQ2ODAyMzczLWEyZjc1ZDdmNTc3ZmNiODFmMmY2YjM2OTZmZTRlOTc3YWE5MTliZTBkZTkwNzQ2MDIwZmI0MGRjYjQwYTczMzQ)
[![Stable Documentation](https://img.shields.io/badge/docs-stable-blue.svg)](https://torchgan.readthedocs.io/en/stable/)
[![Latest Documentation](https://img.shields.io/badge/docs-latest-blue.svg)](https://torchgan.readthedocs.io/en/latest/)
[![PyPI version](https://badge.fury.io/py/torchgan.svg)](https://badge.fury.io/py/torchgan)

TorchGAN is a [Pytorch](https://pytorch.org) 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):

```bash
$ pip3 install torchgan
```

Using pip (for latest master):

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

From source:

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

### Documentation

The documentation is available [here](https://torchgan.readthedocs.io/en/latest/)

The documentation for this package can be generated locally.

```bash
$ 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)


Project details


Download files

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

Source Distribution

torchgan-0.0.2.tar.gz (38.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

torchgan-0.0.2-py3-none-any.whl (58.9 kB view details)

Uploaded Python 3

File details

Details for the file torchgan-0.0.2.tar.gz.

File metadata

  • Download URL: torchgan-0.0.2.tar.gz
  • Upload date:
  • Size: 38.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.0

File hashes

Hashes for torchgan-0.0.2.tar.gz
Algorithm Hash digest
SHA256 d86c1321a119ac724308f92c6921fafa40dd20e36ebc5bbef3488acf25d9a098
MD5 fe403e99d2a45eb6cf4f364f32c11603
BLAKE2b-256 d1cf9842bc41f7f04ea6a05f8f24989b21aad4143906d03181ec2ef810a8d3d7

See more details on using hashes here.

File details

Details for the file torchgan-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: torchgan-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 58.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.0

File hashes

Hashes for torchgan-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 141f60030c33c9ac90a4edb46f9931c6e6410af582bfe3a8d5fed882ce463318
MD5 afbcba9e1a0c634ecdda280e376451a4
BLAKE2b-256 383fa27826bebee15b4bc868017da6f03a743df8b665438002a72355ca7219d1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page