#131 · Primary category: Image Generation
gansformer
Generative Adversarial Transformers
Project last updated:06/14/22
GitHub Stars
1.3K
Forks
152
Contributors
2
License
MIT
Why we included this project
Researchers and practitioners in image synthesis who want a transformer-based alternative to convolutional GANs will find this repository useful. It includes both TensorFlow and PyTorch implementations of GANformer, with pre-trained checkpoints for 256×256 scene datasets and outputs up to 1024×1024 for FFHQ and Cityscapes. What sets the model apart is its bipartite attention structure: information flows through a small set of latent variables rather than every pairwise interaction, so compute stays roughly linear and high-resolution synthesis does not blow up memory. The generate.py script samples from a downloaded model in about ten lines, and a truncation-psi knob offers a direct quality-versus-diversity trade-off, making it easy to reproduce the ICML paper's results or compare attention-based generators against StyleGAN-style baselines. It is also a sensible entry point if you are curious how transformer ideas generalize from language to visual generation.
Articles for this project
No articles for this project yet.
To suggest a topic or contribute an article, contact us.
Related projects in this category
stable-diffusion-webui
Stable Diffusion web UI
ComfyUI
The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface.
diffusers
🤗 Diffusers: State-of-the-art diffusion models for image, video, and audio generation in PyTorch.
upscayl
🆙 Upscayl - #1 Free and Open Source AI Image Upscaler for Linux, MacOS and Windows.
InvokeAI
InvokeAI is a leading open-source creative engine for Stable Diffusion, offering an industry-leading web UI for generating and editing visual media.