eladrich/pixel2style2pixel
Official Implementation for "Encoding in Style: a StyleGAN Encoder for Image-to-Image Translation" (CVPR 2021) presenting the pixel2style2pixel (pSp) framework observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 2162
- days_rel: n/a
- days_push: 1432
- n_releases_24m: 0
Adoption not part of the score
3350 stars · 578 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Official PyTorch implementation of pixel2style2pixel (pSp), a StyleGAN encoder from CVPR 2021 that maps real images directly into the W+ latent space of a pretrained StyleGAN generator. It supports image-to-image translation tasks such as StyleGAN inversion, facial frontalization, inpainting, super-resolution, and multi-modal conditional synthesis.
Use cases
- invert real face images into StyleGAN latent space
- perform facial frontalization on photos
- super-resolve low-resolution face images
- inpaint missing regions in facial images
- generate multi-modal conditional image synthesis from an input image
- train a custom StyleGAN encoder for a new image-to-image translation task
When to choose
- you need fast, optimization-free inversion of images into StyleGAN's W+ latent space
- you want a single framework for multiple facial image-to-image translation tasks
- you are reproducing or building on the pSp CVPR 2021 paper
- you want multi-modal synthesis via style resampling without training a GAN adversary
When to avoid
- you need a general-purpose image editing tool rather than a research codebase
- your task does not involve StyleGAN or face-domain image translation
- you need actively maintained code with recent updates or broad model support
- you lack a GPU, since training and inference are compute-intensive
Facets
library · maturity maintenance
image-processing machine-learning deep-learning computer-vision image-processing deep-learning machine-learning python cross-platform stylegan image-to-image-translation gan-inversion face-encoding generative-models research-code cvpr-2021 gpu
2 sources
- readme: https://github.com/eladrich/pixel2style2pixel · fetched 2026-08-28 · bf9aa62d0f9c
- homepage: https://eladrich.github.io/pixel2style2pixel/ · fetched 2026-08-29 · 110d47f52e09
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| eladrich/pixel2style2pixel | main | 32 |
For agents
markdown · JSON · MCP: product_card(name="eladrich/pixel2style2pixel")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem