SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2108.12141 · ICCV · 2021

DAE-GAN: Dynamic Aspect-aware GAN for Text-to-Image Synthesis

Enhong Chen, Kun Zhang, Yong Zhang, Yanbo Fan, Qi Liu, Shulan Ruan, Fan Tang

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 7 functions out of this paper's own repositories and ran 4 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.

RepositoryRoleRan
hiarsal/DAE-GAN — 4 of 7
FunctionStatusWhere it lives
GET_IMAGE_G Ran hiarsal/DAE-GAN/code/model.py
pointer only (licence: NONE) · get_code("77718674e841bb8c")
ResBlock Ran hiarsal/DAE-GAN/code/model.py
pointer only (licence: NONE) · get_code("bbebf7ea44c0927f")
conv3x3 Ran hiarsal/DAE-GAN/code/model.py
pointer only (licence: NONE) · get_code("d33e18153be6aeed")
upBlock Ran hiarsal/DAE-GAN/code/model.py
pointer only (licence: NONE) · get_code("2eb31309daac5776")
G_NET Not yet run hiarsal/DAE-GAN/code/model.py
pointer only (licence: NONE) · get_code("6ffac4c84d7efa3d")
INIT_STAGE_G Not yet run hiarsal/DAE-GAN/code/model.py
pointer only (licence: NONE) · get_code("cc9db9ff8ee98c63")
NEXT_STAGE_G Not yet run hiarsal/DAE-GAN/code/model.py
pointer only (licence: NONE) · get_code("a6c8097f7506949c")

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Text-to-image synthesis refers to generating an image from a given text description, the key goal of which lies in photo realism and semantic consistency. Previous methods usually generate an initial image with sentence embedding and then refine it with fine-grained word embedding. Despite the significant progress, the 'aspect' information (e.g., red eyes) contained in the text, referring to several words rather than a word that depicts 'a particular part or feature of something', is often ignored, which is highly helpful for synthesizing image details. How to make better utilization of aspect information in text-to-image synthesis still remains an unresolved challenge. To address this problem, in this paper, we propose a Dynamic Aspect-awarE GAN (DAE-GAN) that represents text information comprehensively from multiple granularities, including sentencelevel, word-level, and aspect-level. Moreover, inspired by human learning behaviors, we develop a novel Aspectaware Dynamic Re-drawer (ADR) for image refinement, in which an Attended Global Refinement (AGR) module and an Aspect-aware Local Refinement (ALR) module are alternately employed. AGR utilizes word-level embedding to globally enhance the previously generated image, while ALR dynamically employs aspect-level embedding to refine image details from a local perspective. Finally, a corresponding matching loss function is designed to ensure the text-image semantic consistency at different levels. Extensive experiments on two well-studied and publicly available datasets (i.e., CUB-200 and COCO) demonstrate the superiority and rationality of our method.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2108.12141")
get_code_for_paper("2108.12141")
have("2108.12141")

Connect an agent — have() is free.