Skip to main content

An API implementation of CyclicGAN network.

Project description

Introduction

CyclicGAN

This API is an implementation of the CyclicGAN been presented in the original paper.

CylicGAN is a special type of GAN network which works with Unpaired Data to extract mapping between the two domains (X and Y). We generally have two Generator networks to generate images and two Discriminator networks to criticize the work of the Generators (declare the images are fake or real). Apart from the Adversarial loss, we also have cyclic consistency loss which makes sure that any mapping of the image from the domain X to domain Y has the same reverse mapping.

This API aims to makes it easy for developers to train and infer from a CyclicGAN model.

Dependencies

Before installing the package, install the dependencies specified in requirements.txt file.

Installation

This package is also available on Pypi and thus one can directly pip install it.

$ pip install cyclicgan

Steps to build the API:

If you wanna contribute or build the package from repository, you can build the package as follows:

  1. Clone the repo.
  2. Run python setup.py install
  3. API has been installed as a python package and now you can directly use its functionalities.

Tutorial

You can follow this tutorial notebook to get an idea of the functionality of this API with a dataset.

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

cyclicgan-0.0.2.tar.gz (5.1 kB view details)

Uploaded Source

Built Distributions

cyclicgan-0.0.2-py3.8.egg (11.4 kB view details)

Uploaded Source

cyclicgan-0.0.2-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cyclicgan-0.0.2.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.3

File hashes

Hashes for cyclicgan-0.0.2.tar.gz
Algorithm Hash digest
SHA256 599c1ee681171d6f3064d62328764e435b2dd80841a13b113385494083aaa5e7
MD5 a784790782c7ce796eb04f9860040efd
BLAKE2b-256 c2ab99729b3fd7068b771290aed0637ff4a56ec18007636fc84bbb033d6e9c5b

See more details on using hashes here.

File details

Details for the file cyclicgan-0.0.2-py3.8.egg.

File metadata

  • Download URL: cyclicgan-0.0.2-py3.8.egg
  • Upload date:
  • Size: 11.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.3

File hashes

Hashes for cyclicgan-0.0.2-py3.8.egg
Algorithm Hash digest
SHA256 f397ad239558777892f0dbb47060292d69172843eac97f60dcd146d99d0c6bed
MD5 efc88f92ee2e66928c7f39b93fc9fb4a
BLAKE2b-256 560ffa2373fba2bccf3e6e0ef71cc3f97012023d265a88b08bf0d50e372ce6da

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cyclicgan-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 6.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.3

File hashes

Hashes for cyclicgan-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 4b3ce457a9d5cc1f96ed14e80c8f28c06b2b143474c34b3f09498c9dae45dfe6
MD5 76bf59874398c6fd76a01bb5c5b9226f
BLAKE2b-256 798cfe6f217601a87a9f73205be69d839feca439006d438c6c5b3669fa0b8e14

See more details on using hashes here.

Supported by

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