mit-han-lab/anycost-gan
[CVPR 2021] Anycost GANs for Interactive Image Synthesis and Editing
Employs sampling-based multi-resolution training, adaptive-channel pruning, and generator-conditioned discriminators to enable StyleGAN2-based generators to operate across diverse computational budgets while maintaining output consistency. Supports both uniform and flexible channel configurations at variable resolutions (e.g., 256-1024px) and channel ratios, enabling 5x faster interactive preview generation for real-time editing workflows. Built on PyTorch with pre-trained models for face (FFHQ) and car synthesis, includes encoder and semantic editing directions, and provides distributed evaluation tools using Horovod for FID/PPL metrics.
782 stars. No commits in the last 6 months.
Stars
782
Forks
98
Language
Python
License
MIT
Category
Last pushed
Oct 03, 2023
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/diffusion/mit-han-lab/anycost-gan"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
NVIDIA/pix2pixHD
Synthesizing and manipulating 2048x1024 images with conditional GANs
GaParmar/clean-fid
PyTorch - FID calculation with proper image resizing and quantization steps [CVPR 2022]
albertpumarola/GANimation
GANimation: Anatomically-aware Facial Animation from a Single Image (ECCV'18 Oral) [PyTorch]
yuanming-hu/exposure
Learning infinite-resolution image processing with GAN and RL from unpaired image datasets,...
yiranran/APDrawingGAN
Code for APDrawingGAN: Generating Artistic Portrait Drawings from Face Photos with Hierarchical...