# affinelayer/pix2pix-tensorflow

Tensorflow port of Image-to-Image Translation with Conditional Adversarial Nets https://phillipi.github.io/pix2pix/

Repository: https://github.com/affinelayer/pix2pix-tensorflow
Canonical: https://ross.abutalabs.com/products/pix2pix-tensorflow
Language: JavaScript
License: MIT
License Family: permissive
Last push: 2021-02-02T06:39:22+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 3508, "days_push": 2038, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 5081, forks 1285 (observed 2026-08-28T04:09:09.565733+00:00)

## What it is
A TensorFlow implementation of pix2pix, a conditional GAN that learns a mapping from input images to output images. It is a faithful port of the original Torch implementation, supporting training, testing, and pre-trained models for tasks like facades, edges-to-photos, and day-to-night translation.

## Use cases
- translate images from one domain to another with a GAN
- train a pix2pix model on my own paired image dataset
- convert building facades labels into realistic facade photos
- turn sketches or edges into photorealistic images
- run day-to-night or satellite-to-map image translation
- experiment with conditional adversarial networks in TensorFlow

## When to choose
- you need a faithful TensorFlow port of the original pix2pix paper
- you have paired input/output image datasets for image-to-image translation
- you want pre-trained models for common pix2pix tasks like facades or edges2cats
- you prefer TensorFlow 1.x and GPU/cuDNN training

## When to avoid
- you need PyTorch or modern TensorFlow 2.x support
- you want the latest GAN research features beyond the original pix2pix
- you need an actively maintained project with recent updates
- you lack a GPU and cannot tolerate very slow CPU training

## Facets
- artifact type: library
- maturity: maintenance
- function: machine-learning, deep-learning, image-processing
- domain: machine-learning, deep-learning, image-processing, computer-vision
- platform: python
- tags: pix2pix, gan, image-to-image-translation, tensorflow, generative-models, cyclegan, linux, gpu, docker

## Member repositories
- affinelayer/pix2pix-tensorflow (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:09.565733+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:02:34.346917+00:00, confidence not recorded.
  - readme: https://github.com/affinelayer/pix2pix-tensorflow (fetched 2026-08-28T04:09:09.565733+00:00, sha 883880506874)
- Data as of 2026-08-30T08:39:29.467469+00:00.
