Benchmarking Spatial Relationships in Text-to-Image Generation
Paper
•
2212.10015
•
Published
Tejas Gokhale, Hamid Palangi, Besmira Nushi, Vibhav Vineet, Eric Horvitz, Ece Kamar, Chitta Baral, Yezhou Yang
Our dataset is hosted as here. This contains
.json format (text_spatial_rel_phrases.json)Alternatively, the text prompt dataset can also accessed from text_spatial_rel_phrases.json. It contains all examples from the current version of the dataset (31680 text prompts) accompanied by the corresponding metadata.
This dataset can also be generated by running the script python create_spatial_phrases.py
The GitHub repository for VISOR contains code for generating images with prompts from the SR2D dataset and evaluating the generated images using VISOR.
Code for text-to-image generation:
If you find SR2D or VISOR useful in your research, please use the following citation:
@article{gokhale2022benchmarking,
title={Benchmarking Spatial Relationships in Text-to-Image Generation},
author={Gokhale, Tejas and Palangi, Hamid and Nushi, Besmira and Vineet, Vibhav and Horvitz, Eric and Kamar, Ece and Baral, Chitta and Yang, Yezhou},
journal={arXiv preprint arXiv:2212.10015},
year={2022}
}