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

Uploaded Source

Built Distributions

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

Uploaded Source

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

Uploaded Python 3

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