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.
| System / PyTorch Version | 1.8 | 1.9 | nightly |
|---|---|---|---|
| Linux py3.8 | |||
| Linux py3.9 | |||
| OSX py3.8 | |||
| OSX py3.9 | |||
| Windows py3.9 | |||
| Windows py3.9 |
Installation
Using pip (for stable release):
$ pip install torchgan
Using pip (for latest master):
$ pip 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.
Tutorials
The tutorials directory contain a set of tutorials to get you started with torchgan. These tutorials can be run using Google Colab or Binder. It is highly recommended that you follow the tutorials in the following order.
- Introductory Tutorials:
- Intermediate Tutorials:
- Advanced Tutorials:
Supporting and Citing
This software was developed as part of academic research. If you would like to help support it, please star the repository. If you use this software as part of your research, teaching, or other activities, we would be grateful if you could cite the following:
@misc{pal2019torchgan,
title={{TorchGAN: A Flexible Framework for GAN Training and Evaluation}},
author={Avik Pal, and Aniket Das},
year={2019},
eprint={1909.03410},
archivePrefix={arXiv},
primaryClass={cs.LG}
}
List of publications & submissions using TorchGAN (please open a pull request to add missing entries):
- Can GAN-Generated Network Traffic be used to Train Traffic Anomaly Classifiers?
- Ward2ICU: A Vital Signs Dataset of Inpatients from the General Ward
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.
Contributors
This package has been developed by
- Avik Pal (@avik-pal)
- Aniket Das (@Aniket1998)
This project exists thanks to all the people who contribute.
Metadata
Release files for torchgan 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| torchgan-0.1.0.tar.gz | 47.3 kB | Without provenance | Details for torchgan-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| torchgan-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for torchgan-0.1.0-py3-none-any.whl |
Total release size: 119.0 kB
Release files / torchgan-0.1.0.tar.gz
| Download URL | torchgan-0.1.0.tar.gz |
|---|---|
| Size | 47.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d55396a72c302aa8b05e503a421ac8f68b8e9e8b87f924a647a048b271c5b246
|
|
BLAKE2b-256 checksum How to use checksums |
8ccd55b0bc098beaee1a85084450d4a37b95048c61eb1598d1186a1197667623
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.23.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.5
|
Release files / torchgan-0.1.0-py3-none-any.whl
| Download URL | torchgan-0.1.0-py3-none-any.whl |
|---|---|
| Size | 71.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6be3fd633fff65b3120e43b3e5f46cf7529fe2b20db7c3bf467d24b1bb865a12
|
|
BLAKE2b-256 checksum How to use checksums |
fe37bee3edb085c23f999f732c49c4b90ffce60b168ae6b108e0725621e233f9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.23.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.5
|
Security for torchgan 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.