Ross ROSS = Recommend OSS · open-source software intelligence for agents

franciszzj/Leffa

[CVPR 2025] Learning Flow Fields in Attention for Controllable Person Image Generation observed · 2026-08-28

github.com/franciszzj/Leffa · homepage · Python · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

40/100

  • Activity 41
  • Release rhythm 35
  • Longevity 45

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: 636
  • days_rel: n/a
  • days_push: 355
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

1672 stars · 184 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

Leffa is a diffusion-based framework for controllable person image generation, supporting virtual try-on and pose transfer via a regularization loss on attention maps. It ships with pretrained models, a Gradio/HuggingFace demo, and a ComfyUI integration.

Use cases

  • generate images of a person wearing clothes from a reference garment
  • transfer a person's pose from one image to another
  • reduce fine-grained texture distortion in diffusion-generated person images
  • run virtual try-on inference locally on a GPU
  • apply the Leffa attention loss to improve other diffusion models

When to choose

  • you need state-of-the-art virtual try-on or pose transfer with preserved garment details
  • you want a research baseline or pretrained models for controllable person image generation
  • you want a quick demo via HuggingFace Spaces or ComfyUI

When to avoid

  • you need general-purpose image editing unrelated to person images
  • you lack a GPU and cannot tolerate multi-second inference
  • you need a production-ready commercial service with support

Facets

library · maturity active

image-processing machine-learning deep-learning computer-vision image-processing deep-learning artificial-intelligence python virtual-try-on pose-transfer diffusion-models person-image-generation cvpr-2025 research gpu web-server

2 sources

Member repositories

RepositoryRoleHealth v2
franciszzj/Leffamain40

For agents

markdown · JSON · MCP: product_card(name="franciszzj/Leffa")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem