TorchGAN

TorchGAN: A Flexible Framework for GAN Training and Evaluation - Published in JOSS (2021)

https://github.com/torchgan/torchgan

Science Score: 100.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 7 DOI reference(s) in README and JOSS metadata
  • Academic publication links
    Links to: arxiv.org, ieee.org, joss.theoj.org
  • Committers with academic emails
    3 of 10 committers (30.0%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
    Published in Journal of Open Source Software

Keywords

computer-vision deep-learning gans generative-adversarial-networks generative-model machine-learning neural-networks python python3 pytorch

Keywords from Contributors

mesh

Scientific Fields

Mathematics Computer Science - 37% confidence
Last synced: 4 months ago · JSON representation ·

Repository

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

Basic Info
Statistics
  • Stars: 1,425
  • Watchers: 29
  • Forks: 169
  • Open Issues: 27
  • Releases: 5
Topics
computer-vision deep-learning gans generative-adversarial-networks generative-model machine-learning neural-networks python python3 pytorch
Created over 7 years ago · Last pushed about 3 years ago
Metadata Files
Readme License Citation

README.md

# TorchGAN **Framework for easy and efficient training of GANs based on Pytorch** [![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) [![Downloads](https://pepy.tech/badge/torchgan)](https://pepy.tech/project/torchgan) [![Downloads](https://pepy.tech/badge/torchgan/month)](https://pepy.tech/project/torchgan/month) [![Downloads](https://pepy.tech/badge/torchgan/week)](https://pepy.tech/project/torchgan/week) [![License](http://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat)](LICENSE) [![DOI](https://joss.theoj.org/papers/10.21105/joss.02606/status.svg)](https://doi.org/10.21105/joss.02606) [![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/) [![Codecov](https://codecov.io/gh/torchgan/torchgan/branch/master/graph/badge.svg)](https://codecov.io/gh/torchgan/torchgan) [![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/torchgan/torchgan/master) [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/torchgan) [![PyPI version](https://badge.fury.io/py/torchgan.svg)](https://badge.fury.io/py/torchgan)

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 | CI Testing | CI Testing | CI Testing | CI Testing | | Linux py3.9 | CI Testing | CI Testing | CI Testing | CI Testing | | OSX py3.8 | CI Testing | CI Testing | CI Testing | CI Testing | | OSX py3.9 | CI Testing | CI Testing | CI Testing | CI Testing | | Windows py3.9 | CI Testing | CI Testing | CI Testing | CI Testing | | Windows py3.9 | CI Testing | CI Testing | CI Testing | CI Testing |

Installation

Using pip (for stable release):

bash $ pip install torchgan

Using pip (for latest master):

bash $ pip 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

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.

Tutorials

Binder Open In Colab

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.

  1. Introductory Tutorials:
  2. Intermediate Tutorials:
  3. 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:

@article{Pal2021, doi = {10.21105/joss.02606}, url = {https://doi.org/10.21105/joss.02606}, year = {2021}, publisher = {The Open Journal}, volume = {6}, number = {66}, pages = {2606}, author = {Avik Pal and Aniket Das}, title = {TorchGAN: A Flexible Framework for GAN Training and Evaluation}, journal = {Journal of Open Source Software} }

List of publications & submissions using TorchGAN (please open a pull request to add missing entries):

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.

Owner

  • Name: torchgan
  • Login: torchgan
  • Kind: organization
  • Email: avikpal@iitk.ac.in

Lightweight framework for easily and efficiently training Generative Adversarial Networks in PyTorch

JOSS Publication

TorchGAN: A Flexible Framework for GAN Training and Evaluation
Published
October 19, 2021
Volume 6, Issue 66, Page 2606
Authors
Avik Pal ORCID
Indian Institute of Technology Kanpur
Aniket Das
Indian Institute of Technology Kanpur
Editor
Arfon Smith ORCID
Tags
Deep Learning Machine Learning Generative Adversarial Networks Unsupervised Learning Computer Vision Generative Models

Citation (CITATION.bib)

@article{Pal2021,
  doi = {10.21105/joss.02606},
  url = {https://doi.org/10.21105/joss.02606},
  year = {2021},
  publisher = {The Open Journal},
  volume = {6},
  number = {66},
  pages = {2606},
  author = {Avik Pal and Aniket Das},
  title = {TorchGAN: A Flexible Framework for GAN Training and Evaluation},
  journal = {Journal of Open Source Software}
}

GitHub Events

Total
  • Watch event: 25
  • Pull request event: 1
  • Fork event: 2
Last Year
  • Watch event: 25
  • Pull request event: 1
  • Fork event: 2

Committers

Last synced: 5 months ago

All Time
  • Total Commits: 121
  • Total Committers: 10
  • Avg Commits per committer: 12.1
  • Development Distribution Score (DDS): 0.314
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Avik Pal a****l@i****n 83
Aniket Das 1****s@g****m 30
向阳 9****g 1
jess j****r@g****m 1
dependabot[bot] 4****] 1
Weili Shi me@s****m 1
Naman Biyani n****b@i****n 1
Joseph Spisak s****o@g****m 1
Avinandan Bose 4****2 1
Yatin Dandi y****d@i****n 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 4 months ago

All Time
  • Total issues: 46
  • Total pull requests: 56
  • Average time to close issues: 3 months
  • Average time to close pull requests: 15 days
  • Total issue authors: 30
  • Total pull request authors: 14
  • Average comments per issue: 1.7
  • Average comments per pull request: 1.21
  • Merged pull requests: 46
  • Bot issues: 0
  • Bot pull requests: 1
Past Year
  • Issues: 0
  • Pull requests: 1
  • Average time to close issues: N/A
  • Average time to close pull requests: 9 months
  • Issue authors: 0
  • Pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 0.0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • avik-pal (11)
  • dsevero (3)
  • Xylobyte (2)
  • Aniket1998 (2)
  • xujin1184104394 (2)
  • namanbiyani (2)
  • Xaffle (1)
  • alexorona (1)
  • kayuksel (1)
  • bosaving (1)
  • sixin-zh (1)
  • PasqualeZingo (1)
  • FelixAbrahamsson (1)
  • amine-boukriba (1)
  • xfguo-ucas (1)
Pull Request Authors
  • avik-pal (36)
  • Aniket1998 (5)
  • namanbiyani (4)
  • AmmarBattah (2)
  • Avinandan22 (1)
  • jspisak (1)
  • nirmal-suthar (1)
  • monkeywithacupcake (1)
  • shi-weili (1)
  • kayuksel (1)
  • dependabot[bot] (1)
  • XiangYyang (1)
  • TrellixVulnTeam (1)
  • yatindandi (1)
Top Labels
Issue Labels
bug (15) enhancement (13) feature (12) help wanted (6) high priority (5) good first issue (5) v0.0.2 (2) work in progress (2) external-dependency (1) stale (1) wontfix (1)
Pull Request Labels
enhancement (11) high priority (7) awaiting review (6) feature (6) bug (4) work in progress (4) awaiting merge (4) v0.0.2 (4) do not merge (2) tests needed (1) external-dependency (1)

Packages

  • Total packages: 2
  • Total downloads:
    • pypi 11,504 last-month
  • Total docker downloads: 9
  • Total dependent packages: 0
    (may contain duplicates)
  • Total dependent repositories: 11
    (may contain duplicates)
  • Total versions: 12
  • Total maintainers: 1
proxy.golang.org: github.com/torchgan/torchgan
  • Versions: 5
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent packages count: 6.4%
Average: 6.6%
Dependent repos count: 6.8%
Last synced: 4 months ago
pypi.org: torchgan

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

  • Versions: 7
  • Dependent Packages: 0
  • Dependent Repositories: 11
  • Downloads: 11,504 Last month
  • Docker Downloads: 9
Rankings
Stargazers count: 1.8%
Forks count: 3.9%
Docker downloads count: 4.2%
Dependent repos count: 4.4%
Average: 6.7%
Dependent packages count: 10.0%
Downloads: 15.8%
Maintainers (1)
Last synced: 4 months ago

Dependencies

docs/requirements.txt pypi
  • sphinx *
  • sphinx_rtd_theme *
requirements.txt pypi
  • numpy *
  • pillow *
  • scipy *
  • torch >=1.2
  • torchvision >=0.4
  • wget *
.github/workflows/ci_testing.yml actions
  • actions/checkout v1 composite
  • actions/setup-python v1 composite
.github/workflows/codecov.yml actions
  • actions/checkout master composite
  • actions/setup-python master composite
.github/workflows/pythonpublish.yml actions
  • actions/checkout v1 composite
  • actions/setup-python v1 composite
.github/workflows/rebase.yml actions
  • actions/checkout master composite
  • cirrus-actions/rebase 1.2 composite
pyproject.toml pypi
setup.py pypi