# yunjey/stargan

StarGAN - Official PyTorch Implementation (CVPR 2018)

Repository: https://github.com/yunjey/stargan
Canonical: https://ross.abutalabs.com/products/stargan
Language: Python
License: MIT
License Family: permissive
Topics: stargan, pytorch, image-to-image-translation, generative-models, cvpr2018
Last push: 2021-01-23T15:09:58+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": 3202, "days_push": 2048, "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 5296, forks 953 (observed 2026-08-28T04:09:15.260007+00:00)

## What it is
Official PyTorch implementation of StarGAN, a unified generative adversarial network for multi-domain image-to-image translation (CVPR 2018). It trains a single model to translate images across multiple domains, demonstrated on facial attribute transfer and expression synthesis.

## Use cases
- translate face images across attributes like hair color and gender with one model
- synthesize facial expressions from a single photo
- train a multi-domain image-to-image translation GAN
- reproduce StarGAN results from the CVPR 2018 paper
- experiment with GAN training on CelebA or RaFD datasets

## When to choose
- you need multi-domain image-to-image translation with a single model
- you want a well-cited reference implementation of StarGAN for research
- you are working with facial attribute transfer or expression synthesis on CelebA/RaFD

## When to avoid
- you need the improved StarGAN v2 - use clovaai/stargan-v2 instead
- you need actively maintained code with recent PyTorch compatibility
- you need production-ready image translation rather than research code

## Facets
- artifact type: library
- maturity: maintenance
- function: machine-learning, deep-learning, image-processing
- domain: machine-learning, deep-learning, computer-vision, image-processing
- platform: python
- tags: gan, image-to-image-translation, pytorch, research-code, cvpr2018, face-attribute-transfer, linux, macos, gpu

## Member repositories
- yunjey/stargan (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:15.260007+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-29T17:59:11.005066+00:00, confidence not recorded.
  - readme: https://github.com/yunjey/stargan (fetched 2026-08-28T04:09:15.260007+00:00, sha 673a7b1ad6e6)
- Data as of 2026-08-30T08:39:29.467469+00:00.
