SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2208.04441 · 2022

Txt2Img-MHN: Remote Sensing Image Generation from Text Using Modern Hopfield Networks

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 3 functions out of this paper's own repositories and ran 3 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
yonghaoxu/txt2img-mhn canonical 3 of 3
FunctionStatusWhere it lives
calculate_frechet_distance Ran yonghaoxu/txt2img-mhn/is_fid_score/is_fid_score.py
code served (permissive licence) · get_code("ef615ffc4b5431b1")
default_loader Ran yonghaoxu/txt2img-mhn/is_fid_score/is_fid_score.py
code served (permissive licence) · get_code("ac269a0e4b8d946e")
read_stats_file Ran yonghaoxu/txt2img-mhn/is_fid_score/is_fid_score.py
code served (permissive licence) · get_code("d2dedda3c3f5648e")

Repositories linked to this paper

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

Abstract

The synthesis of high-resolution remote sensing images based on text descriptions has great potential in many practical application scenarios. Although deep neural networks have achieved great success in many important remote sensing tasks, generating realistic remote sensing images from text descriptions is still very difficult. To address this challenge, we propose a novel text-to-image modern Hopfield network (Txt2Img-MHN). The main idea of Txt2Img-MHN is to conduct hierarchical prototype learning on both text and image embeddings with modern Hopfield layers. Instead of directly learning concrete but highly diverse text-image joint feature representations for different semantics, Txt2Img-MHN aims to learn the most representative prototypes from text-image embeddings, achieving a coarse-to-fine learning strategy. These learned prototypes can then be utilized to represent more complex semantics in the text-to-image generation task. To better evaluate the realism and semantic consistency of the generated images, we further conduct zero-shot classification on real remote sensing data using the classification model trained on synthesized images. Despite its simplicity, we find that the overall accuracy in the zero-shot classification may serve as a good metric to evaluate the ability to generate an image from text. Extensive experiments on the benchmark remote sensing text-image dataset demonstrate that the proposed Txt2Img-MHN can generate more realistic remote sensing images than existing methods. Code and pre-trained models are available online (https://github.com/YonghaoXu/Txt2Img-MHN).

For agents

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

get_harvested_code_for_paper("2208.04441")
get_code_for_paper("2208.04441")
have("2208.04441")

Connect an agent — have() is free.