HyperAIHyperAI

Command Palette

Search for a command to run...

4 months ago

AttnGAN: Fine-Grained Text to Image Generation with Attentional Generative Adversarial Networks

Tao Xu; Pengchuan Zhang; Qiuyuan Huang; Han Zhang; Zhe Gan; Xiaolei Huang; Xiaodong He

AttnGAN: Fine-Grained Text to Image Generation with Attentional Generative Adversarial Networks

Abstract

In this paper, we propose an Attentional Generative Adversarial Network (AttnGAN) that allows attention-driven, multi-stage refinement for fine-grained text-to-image generation. With a novel attentional generative network, the AttnGAN can synthesize fine-grained details at different subregions of the image by paying attentions to the relevant words in the natural language description. In addition, a deep attentional multimodal similarity model is proposed to compute a fine-grained image-text matching loss for training the generator. The proposed AttnGAN significantly outperforms the previous state of the art, boosting the best reported inception score by 14.14% on the CUB dataset and 170.25% on the more challenging COCO dataset. A detailed analysis is also performed by visualizing the attention layers of the AttnGAN. It for the first time shows that the layered attentional GAN is able to automatically select the condition at the word level for generating different parts of the image.

Code Repositories

Maymaher/StackGANv2
pytorch
Mentioned in GitHub
ucsd-ml-arts/ml-art-final-jeffrey
pytorch
Mentioned in GitHub
rightlit/cycle-image-gan-rev
pytorch
Mentioned in GitHub
huiyegit/T2I_CL
pytorch
Mentioned in GitHub
alexmotogna/attngan
pytorch
Mentioned in GitHub
sidward14/Style-AttnGAN
pytorch
Mentioned in GitHub
komiya-m/MirrorGAN
pytorch
Mentioned in GitHub
pioneerAlpha/BanglaText2ImageGeneration
pytorch
Mentioned in GitHub
aleksey-egorov/attngan
pytorch
Mentioned in GitHub
priscillalui/StackGAN-Stories
pytorch
Mentioned in GitHub
taki0112/AttnGAN-Tensorflow
tf
Mentioned in GitHub
roxanasoto/AttGanESRGAN
pytorch
Mentioned in GitHub
oxygenlu/ratlip
pytorch
Mentioned in GitHub
Vigneshthanga/stackGAN-v2
pytorch
Mentioned in GitHub
alexmotogna/generatorapi
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
text-to-image-generation-on-cubAttnGAN
Inception score: 4.36
text-to-image-generation-on-ms-cocoAttnGAN
FID: 35.49
Inception score: 25.89
SOA-C: 25.88
text-to-image-generation-on-multi-modalAttnGAN
Acc: 13.0
FID: 125.98
LPIPS: 0.512
Real: 11.9

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp