PasteGAN: A Semi-Parametric Method to Generate Image from Scene Graph

Yikang Li, Tao Ma, Yeqi Bai, Nan Duan, Sining Wei +1 more
5/5/2019
cs.CV

Official code: yikang-li/PasteGAN (54 stars, Python, last commit 2022-11-22).

Abstract

Despite some exciting progress on high-quality image generation from structured(scene graphs) or free-form(sentences) descriptions, most of them only guarantee the image-level semantical consistency, i.e. the generated image matching the semantic meaning of the description. They still lack the investigations on synthesizing the images in a more controllable way, like finely manipulating the visual appearance of every object.

Show full abstract

Therefore, to generate the images with preferred objects and rich interactions, we propose a semi-parametric method, PasteGAN, for generating the image from the scene graph and the image crops, where spatial arrangements of the objects and their pair-wise relationships are defined by the scene graph and the object appearances are determined by the given object crops. To enhance the interactions of the objects in the output, we design a Crop Refining Network and an Object-Image Fuser to embed the objects as well as their relationships into one map. Multiple losses work collaboratively to guarantee the generated images highly respecting the crops and complying with the scene graphs while maintaining excellent image quality. A crop selector is also proposed to pick the most-compatible crops from our external object tank by encoding the interactions around the objects in the scene graph if the crops are not provided. Evaluated on Visual Genome and COCO-Stuff dataset, our proposed method significantly outperforms the SOTA methods on Inception Score, Diversity Score and Fréchet Inception Distance. Extensive experiments also demonstrate our method's ability to generate complex and diverse images with given objects.

View on arXivView PDF

Code Implementations(1)

yikang-li/PasteGANOfficial100%

An pytorch implementation of our NeurIPS paper of PasteGAN: A Semi-Parametric Method to Generate Image from Scene Graph

549Python, ShellJul 16, 20194 years ago

Similar Papers

Cite this paper

@article{li2019pastegan,
  title  = {PasteGAN: A Semi-Parametric Method to Generate Image from Scene Graph},
  author = {Yikang Li and Tao Ma and Yeqi Bai and Nan Duan and Sining Wei and Xiaogang Wang},
  year   = {2019},
  eprint = {1905.01608},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1905.01608}
}

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/1905.01608.svg)](https://codeofpaper.com/paper/1905.01608)

Discussion