lucidrains/lightweight-gan
Implementation of 'lightweight' GAN, proposed in ICLR 2021, in Pytorch. High resolution image generations that can be trained within a day or two observed · 2026-08-28
Health v2 · maintenance only
34/100
- Activity 1
- Release rhythm 40
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 0
- age_days: 2121
- days_rel: 599
- days_push: 599
- n_releases_24m: 2
Adoption not part of the score
1682 stars · 219 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A PyTorch implementation of the 'lightweight' GAN from ICLR 2021, featuring skip-layer excitation in the generator and autoencoding self-supervised learning in the discriminator. It enables high-resolution image generation (up to 1024px) trainable on a single GPU within hours to a couple of days.
Use cases
- train a GAN to generate high-resolution images from a small dataset
- generate 512x512 images on a single GPU in hours
- generate images from a few hundred training photos
- experiment with data augmentation for low-data GAN training
- preview augmentation effects on images before training
When to choose
- you need to train an image generator quickly on limited hardware
- you have a small image dataset (sub-hundred images) and want high-resolution output
- you want a simple one-command GAN training pipeline in PyTorch
When to avoid
- you need state-of-the-art diffusion-model quality rather than GANs
- you need text-to-image or conditional generation
- you require large-scale distributed training infrastructure
Facets
library · maturity maintenance
machine-learning deep-learning image-processing cli artificial-intelligence deep-learning image-processing python cli gan generative-adversarial-network pytorch image-generation iclr-2021 gpu
2 sources
- readme: https://github.com/lucidrains/lightweight-gan · fetched 2026-08-28 · ff0614baccf1
- registry_pypi: https://pypi.org/pypi/lightweight-gan/json · fetched 2026-08-29 · 786fec4366f3
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| lucidrains/lightweight-gan | main | 34 |
For agents
markdown · JSON · MCP: product_card(name="lucidrains/lightweight-gan")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem