Skip to main content

patchGAN

PyPI version

UNet-based GAN model for image segmentation using a patch-wise discriminator. Based on the pix2pix model.

Installation

Install the package with pip:

pip install patchgan

Upgrading existing install:

pip install -U patchgan

Get the current development branch:

pip install -U git+https://github.com/ramanakumars/patchGAN.git

Training

You can train the patchGAN model with a config file and the patchgan_train command:

patchgan_train --config_file train_coco.yaml --n_epochs 100 --batch_size 16

See examples/train_coco.yaml for the corresponding config for the COCO stuff dataset.

Metadata

Release files for patchGAN 0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for patchGAN 0.2
File Size Uploaded Provenance Actions
patchGAN-0.2.tar.gz 23.4 kB Without provenance Details for patchGAN-0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for patchGAN 0.2
File Interpreter ABI Platform Actions
patchGAN-0.2-py3-none-any.whl Python 3 none any Details for patchGAN-0.2-py3-none-any.whl

Total release size: 49.7 kB

Release files / patchGAN-0.2.tar.gz

Download URL patchGAN-0.2.tar.gz
Size 23.4 kB
Tags Source
SHA-256 checksum
How to use checksums
bfd1d43090d8ed997d613d4d982e925a3dd3054fd77484607a4ae74a52eb263d
BLAKE2b-256 checksum
How to use checksums
e5f9a5fca9ecbf5a518c45cb2a0c92d3f5b275464980a32b1910ea777cb4c450
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.4

Release files / patchGAN-0.2-py3-none-any.whl

Download URL patchGAN-0.2-py3-none-any.whl
Size 26.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
207bdbbee9a87b00886eb2560448a169bdb55c749a862a48092ceaac841c3585
BLAKE2b-256 checksum
How to use checksums
099a2fefc490a1ac63d659ac401b139e300c102b896ba927f394cd6dff8bbfa5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.4

Security for patchGAN 0.2

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.

Release history Release notifications | RSS feed

This release

0.2 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page