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

Tao Xu, Pengchuan Zhang, Qiuyuan Huang, Han Zhang, Zhe Gan +2 more
11/28/2017
2,030 citations
cs.CV

No official code found. Best implementation: taki0112/AttnGAN-Tensorflow (28 stars, MIT, last commit 2020-03-23). 2 more below.

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(3)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
taki0112/AttnGAN-TensorflowCommunity28–MIT2020-03-23
Wentong-DST/attn-ganCommunity27–MIT2018-10-24
sleebapaul/attnGANCommunity16PythonMIT2019-04-10
MIT

Simple Tensorflow implementation of "AttnGAN: Fine-Grained Text to Image Generation with Attentional Generative Adversarial Networks" (CVPR 2018)

2815Jan 16, 20206 years agoMIT
PyTorchMIT

Pytorch implementation of paper: AttnGAN Fine-Grained Text to Image Generation with Attentional Generative Adversarial Networks

2712May 3, 20188 years agoMIT
attention-mechanismdeep-learninggenerative-adversarial-networkimage-captioningimage-generation+1 more
sleebapaul/attnGANCommunity25%
MIT

Pytorch implementation for reproducing AttnGAN results in the paper AttnGAN: Fine-Grained Text to Image Generation with Attentional Generative Adversarial Networks by Tao Xu, Pengchuan Zhang, Qiuyuan Huang, Han Zhang, Zhe Gan, Xiaolei Huang, Xiaodong He.

162Python, ShellMar 8, 20197 years agoMIT

Similar Papers

Cite this paper

@article{xu2017attngan,
  title  = {AttnGAN: Fine-Grained Text to Image Generation with Attentional Generative Adversarial Networks},
  author = {Tao Xu and Pengchuan Zhang and Qiuyuan Huang and Han Zhang and Zhe Gan and Xiaolei Huang and Xiaodong He},
  year   = {2017},
  eprint = {1711.10485},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1711.10485}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1711.10485.svg)](https://codeofpaper.com/paper/1711.10485)

Discussion