Datasets:
image image | image_link string | caption string | label int64 | relation string | annotator_id int64 | vote_true_validator_id string | vote_false_validator_id string | reference_frame float64 |
|---|---|---|---|---|---|---|---|---|
Not supported with pagination yet | http://images.cocodataset.org/train2017/000000423173.jpg | The teddy bear is at the back of the motorcycle. | 1 | at the back of | 1 | [54, 2, 7] | [] | null |
Not supported with pagination yet | http://images.cocodataset.org/train2017/000000277544.jpg | The tv is at the right side of the laptop. | 1 | at the right side of | 27 | [53, 10] | [2] | 1 |
Not supported with pagination yet | http://images.cocodataset.org/train2017/000000189260.jpg | The car is beside the surfboard. | 1 | beside | 30 | [2, 10, 1] | [] | null |
Not supported with pagination yet | http://images.cocodataset.org/train2017/000000033372.jpg | The cake is below the teddy bear. | 1 | below | 1 | [54, 2, 10] | [] | null |
Not supported with pagination yet | http://images.cocodataset.org/train2017/000000422469.jpg | The parking meter is opposite to the car. | 1 | opposite to | 40 | [13, 2, 15] | [] | null |
Not supported with pagination yet | http://images.cocodataset.org/train2017/000000256322.jpg | The umbrella is under the cat. | 1 | under | 1 | [63, 2, 23] | [] | null |
Not supported with pagination yet | http://images.cocodataset.org/train2017/000000309152.jpg | The person is far away from the giraffe. | 0 | far away from | 29 | [] | [28, 2, 62] | null |
Not supported with pagination yet | http://images.cocodataset.org/train2017/000000449959.jpg | The chair is touching the teddy bear. | 1 | touching | 27 | [2, 22] | [63] | null |
Not supported with pagination yet | http://images.cocodataset.org/train2017/000000286785.jpg | The car is away from the zebra. | 0 | away from | 35 | [] | [28, 2, 66] | null |
Not supported with pagination yet | http://images.cocodataset.org/train2017/000000001237.jpg | The teddy bear is on the dining table. | 0 | on | 29 | [] | [2, 12, 20] | null |
Not supported with pagination yet | http://images.cocodataset.org/train2017/000000433200.jpg | The bus is behind the bicycle. | 1 | behind | 27 | [2, 64, 12] | [] | null |
Not supported with pagination yet | http://images.cocodataset.org/train2017/000000040931.jpg | The car is beside the cat. | 0 | beside | 2 | [] | [28, 2, 62] | null |
Not supported with pagination yet | http://images.cocodataset.org/train2017/000000241945.jpg | The teddy bear is facing the couch. | 0 | facing | 29 | [] | [3, 2, 12] | null |
Not supported with pagination yet | http://images.cocodataset.org/train2017/000000251404.jpg | The person is touching the suitcase. | 1 | touching | 29 | [63, 2, 17] | [] | null |
Not supported with pagination yet | http://images.cocodataset.org/train2017/000000578553.jpg | The laptop is in the suitcase. | 1 | in | 29 | [2, 12, 24] | [] | null |
Not supported with pagination yet | http://images.cocodataset.org/train2017/000000121647.jpg | The book is at the left side of the wine glass. | 1 | at the left side of | 29 | [1, 2, 65] | [] | 1 |
Not supported with pagination yet | http://images.cocodataset.org/train2017/000000014432.jpg | The bird is touching the oven. | 1 | touching | 30 | [1, 2, 20] | [] | null |
Not supported with pagination yet | http://images.cocodataset.org/train2017/000000518273.jpg | The person is facing the book. | 1 | facing | 35 | [53, 2, 21] | [] | null |
Not supported with pagination yet | http://images.cocodataset.org/train2017/000000076970.jpg | The person is touching the sheep. | 0 | touching | 4 | [] | [2, 62, 26] | null |
Not supported with pagination yet | http://images.cocodataset.org/train2017/000000241836.jpg | The sandwich is below the cell phone. | 0 | below | 27 | [21] | [61, 2] | null |
Not supported with pagination yet | http://images.cocodataset.org/train2017/000000497873.jpg | The truck is facing the horse. | 0 | facing | 37 | [2] | [17, 51] | null |
Not supported with pagination yet | http://images.cocodataset.org/train2017/000000382081.jpg | The train is far away from the person. | 1 | far away from | 34 | [1, 2, 10] | [] | null |
Not supported with pagination yet | http://images.cocodataset.org/train2017/000000378163.jpg | The motorcycle is in front of the dog. | 0 | in front of | 38 | [] | [3, 2, 65] | null |
Not supported with pagination yet | http://images.cocodataset.org/train2017/000000469918.jpg | The cat is on top of the laptop. | 1 | on top of | 27 | [1, 2, 16] | [] | null |
Not supported with pagination yet | http://images.cocodataset.org/train2017/000000357549.jpg | The train is near the bicycle. | 1 | near | 2 | [56, 2, 25] | [] | null |
Not supported with pagination yet | http://images.cocodataset.org/train2017/000000141376.jpg | The refrigerator is beside the cat. | 1 | beside | 27 | [1, 2, 22] | [] | null |
Not supported with pagination yet | http://images.cocodataset.org/train2017/000000450182.jpg | The train is in front of the motorcycle. | 0 | in front of | 4 | [] | [1, 2, 24] | null |
Not supported with pagination yet | http://images.cocodataset.org/train2017/000000221223.jpg | The tv contains the person. | 1 | contains | 1 | [2, 55, 6] | [] | null |
Not supported with pagination yet | http://images.cocodataset.org/train2017/000000333368.jpg | The suitcase is at the edge of the bed. | 1 | at the edge of | 1 | [2, 14, 48] | [] | null |
Not supported with pagination yet | http://images.cocodataset.org/val2017/000000068078.jpg | The dog is on the toilet. | 0 | on | 29 | [] | [2, 48, 21] | null |
Not supported with pagination yet | http://images.cocodataset.org/train2017/000000202186.jpg | The suitcase is at the edge of the bed. | 0 | at the edge of | 1 | [] | [28, 2, 51] | null |
Not supported with pagination yet | http://images.cocodataset.org/train2017/000000302924.jpg | The zebra is behind the horse. | 0 | behind | 2 | [] | [2, 9, 23] | null |
Not supported with pagination yet | http://images.cocodataset.org/train2017/000000483425.jpg | The dog is in the middle of the couch. | 0 | in the middle of | 27 | [28] | [2, 9] | null |
Not supported with pagination yet | http://images.cocodataset.org/val2017/000000482719.jpg | The bowl is in the microwave. | 0 | in | 29 | [] | [2, 64, 21] | null |
Not supported with pagination yet | http://images.cocodataset.org/train2017/000000534124.jpg | The suitcase is on the dining table. | 1 | on | 1 | [2, 10] | [59] | null |
Not supported with pagination yet | http://images.cocodataset.org/train2017/000000440940.jpg | The boat is connected to the person. | 1 | connected to | 27 | [18, 2, 51] | [] | null |
Not supported with pagination yet | http://images.cocodataset.org/train2017/000000199458.jpg | The truck contains the couch. | 0 | contains | 1 | [] | [11, 2, 20] | null |
Not supported with pagination yet | http://images.cocodataset.org/train2017/000000306439.jpg | The vase is facing away from the car. | 0 | facing away from | 27 | [] | [1, 2, 16] | null |
Not supported with pagination yet | http://images.cocodataset.org/train2017/000000400241.jpg | The laptop is at the right side of the person. | 1 | at the right side of | 3 | [2, 1] | [8] | 0 |
Not supported with pagination yet | http://images.cocodataset.org/train2017/000000094199.jpg | The person is toward the horse. | 0 | toward | 1 | [] | [2, 22, 65] | null |
Not supported with pagination yet | http://images.cocodataset.org/train2017/000000567340.jpg | The hot dog is near the person. | 1 | near | 37 | [65, 10] | [2] | null |
Not supported with pagination yet | http://images.cocodataset.org/train2017/000000204272.jpg | The bed is alongside the surfboard. | 1 | alongside | 43 | [2, 55, 14] | [] | null |
Not supported with pagination yet | http://images.cocodataset.org/train2017/000000260953.jpg | The dog is off the keyboard. | 1 | off | 1 | [8, 66] | [2] | null |
Not supported with pagination yet | http://images.cocodataset.org/train2017/000000214326.jpg | The person is touching the handbag. | 1 | touching | 30 | [2, 55, 10] | [] | null |
Not supported with pagination yet | http://images.cocodataset.org/train2017/000000013943.jpg | The horse is near the bus. | 1 | near | 2 | [11, 2, 25] | [] | null |
Not supported with pagination yet | http://images.cocodataset.org/train2017/000000417295.jpg | The dining table is at the left side of the person. | 0 | at the left side of | 1 | [] | [19, 2, 62] | null |
Not supported with pagination yet | http://images.cocodataset.org/train2017/000000240967.jpg | The truck contains the refrigerator. | 1 | contains | 4 | [2, 10, 52] | [] | null |
Not supported with pagination yet | http://images.cocodataset.org/train2017/000000342203.jpg | The cat is facing the laptop. | 0 | facing | 29 | [] | [1, 2, 10] | null |
Not supported with pagination yet | http://images.cocodataset.org/train2017/000000388299.jpg | The couch is around the teddy bear. | 1 | around | 46 | [2, 14, 9] | [] | null |
Not supported with pagination yet | http://images.cocodataset.org/train2017/000000372726.jpg | The handbag is on the bed. | 0 | on | 35 | [] | [2, 9, 23] | null |
Not supported with pagination yet | http://images.cocodataset.org/train2017/000000250400.jpg | The cat is next to the couch. | 0 | next to | 1 | [] | [2, 64, 10] | null |
Not supported with pagination yet | http://images.cocodataset.org/val2017/000000226903.jpg | The dining table is in front of the person. | 0 | in front of | 2 | [] | [63, 2, 1] | null |
Not supported with pagination yet | http://images.cocodataset.org/train2017/000000473720.jpg | The pizza is at the left side of the dog. | 1 | at the left side of | 1 | [2, 20, 64] | [] | 0 |
Not supported with pagination yet | http://images.cocodataset.org/train2017/000000326433.jpg | The truck is beneath the cat. | 0 | beneath | 27 | [] | [2, 62, 26] | null |
Not supported with pagination yet | http://images.cocodataset.org/train2017/000000566644.jpg | The chair is in front of the dining table. | 0 | in front of | 27 | [] | [56, 2, 8] | null |
Not supported with pagination yet | http://images.cocodataset.org/train2017/000000113861.jpg | The pizza is inside the oven. | 1 | inside | 30 | [2, 65, 10] | [] | null |
Not supported with pagination yet | http://images.cocodataset.org/train2017/000000544760.jpg | The suitcase is beneath the dog. | 0 | beneath | 1 | [] | [2, 55, 6] | null |
Not supported with pagination yet | http://images.cocodataset.org/train2017/000000036345.jpg | The cow is above the dog. | 0 | above | 29 | [53] | [2, 17] | null |
Not supported with pagination yet | http://images.cocodataset.org/train2017/000000297326.jpg | The person is left of the cake. | 0 | left of | 1 | [63] | [2, 8] | null |
Not supported with pagination yet | http://images.cocodataset.org/train2017/000000109148.jpg | The fire hydrant is at the right side of the cat. | 0 | at the right side of | 27 | [60] | [2, 6] | null |
Not supported with pagination yet | http://images.cocodataset.org/train2017/000000291048.jpg | The truck is touching the person. | 1 | touching | 30 | [2, 14, 12] | [] | null |
Not supported with pagination yet | http://images.cocodataset.org/train2017/000000125380.jpg | The horse is on top of the chair. | 0 | on top of | 33 | [] | [2, 66, 23] | null |
Not supported with pagination yet | http://images.cocodataset.org/train2017/000000382081.jpg | The train is far from the cow. | 1 | far from | 1 | [2, 15, 66] | [] | null |
Not supported with pagination yet | http://images.cocodataset.org/train2017/000000324275.jpg | The bus is in front of the elephant. | 1 | in front of | 34 | [2, 64, 20] | [] | null |
Not supported with pagination yet | http://images.cocodataset.org/train2017/000000375140.jpg | The dog is inside the suitcase. | 1 | inside | 27 | [2, 14, 12] | [] | null |
Not supported with pagination yet | http://images.cocodataset.org/train2017/000000147492.jpg | The banana is at the left side of the sandwich. | 1 | at the left side of | 27 | [2, 6, 1] | [] | 1 |
Not supported with pagination yet | http://images.cocodataset.org/train2017/000000521169.jpg | The bicycle is off the pizza. | 1 | off | 2 | [2, 16, 55] | [] | null |
Not supported with pagination yet | http://images.cocodataset.org/train2017/000000328588.jpg | The person is behind the laptop. | 0 | behind | 27 | [53] | [2, 17] | null |
Not supported with pagination yet | http://images.cocodataset.org/train2017/000000326700.jpg | The elephant is enclosed by the truck. | 0 | enclosed by | 43 | [] | [61, 2, 7] | null |
Not supported with pagination yet | http://images.cocodataset.org/train2017/000000404004.jpg | The person is far from the boat. | 0 | far from | 27 | [] | [1, 2, 60] | null |
Not supported with pagination yet | http://images.cocodataset.org/train2017/000000092346.jpg | The oven is behind the cake. | 0 | behind | 27 | [] | [1, 2, 1] | null |
Not supported with pagination yet | http://images.cocodataset.org/train2017/000000197809.jpg | The cat is at the left side of the couch. | 0 | at the left side of | 2 | [] | [2, 15, 12] | null |
Not supported with pagination yet | http://images.cocodataset.org/train2017/000000402448.jpg | The cat is facing away from the cake. | 1 | facing away from | 1 | [2, 67, 7] | [] | null |
Not supported with pagination yet | http://images.cocodataset.org/train2017/000000442554.jpg | The cake is on the keyboard. | 1 | on | 38 | [3, 2, 60] | [] | null |
Not supported with pagination yet | http://images.cocodataset.org/train2017/000000358765.jpg | The bird is far from the motorcycle. | 0 | far from | 35 | [] | [28, 1, 2] | null |
Not supported with pagination yet | http://images.cocodataset.org/train2017/000000447135.jpg | The car is under the surfboard. | 1 | under | 2 | [53, 2, 9] | [] | null |
Not supported with pagination yet | http://images.cocodataset.org/train2017/000000166853.jpg | The laptop is at the right side of the bowl. | 1 | at the right side of | 36 | [1, 2, 59] | [] | 1 |
Not supported with pagination yet | http://images.cocodataset.org/train2017/000000374077.jpg | The giraffe is touching the person. | 0 | touching | 1 | [] | [2, 12, 26] | null |
Not supported with pagination yet | http://images.cocodataset.org/val2017/000000156643.jpg | The teddy bear is facing the bottle. | 1 | facing | 2 | [2, 66] | [23] | null |
Not supported with pagination yet | http://images.cocodataset.org/train2017/000000452072.jpg | The dining table is over the cat. | 0 | over | 30 | [] | [19, 2, 65] | null |
Not supported with pagination yet | http://images.cocodataset.org/train2017/000000376247.jpg | The horse is alongside the dog. | 1 | alongside | 2 | [1, 19, 2] | [] | null |
Not supported with pagination yet | http://images.cocodataset.org/train2017/000000208535.jpg | The oven contains the bird. | 1 | contains | 29 | [2, 25, 12] | [] | null |
Not supported with pagination yet | http://images.cocodataset.org/train2017/000000050028.jpg | The umbrella is above the person. | 0 | above | 29 | [] | [2, 65, 23] | null |
Not supported with pagination yet | http://images.cocodataset.org/train2017/000000028251.jpg | The truck contains the elephant. | 0 | contains | 27 | [] | [2, 57, 9] | null |
Not supported with pagination yet | http://images.cocodataset.org/train2017/000000541558.jpg | The cat is behind the bicycle. | 0 | behind | 27 | [60] | [2, 25] | null |
Not supported with pagination yet | http://images.cocodataset.org/train2017/000000402177.jpg | The cat is beside the person. | 1 | beside | 45 | [2, 67, 21] | [] | null |
Not supported with pagination yet | http://images.cocodataset.org/train2017/000000465695.jpg | The suitcase is on the bed. | 1 | on | 40 | [19, 2, 64] | [] | null |
Not supported with pagination yet | http://images.cocodataset.org/train2017/000000332420.jpg | The cat is inside the suitcase. | 1 | inside | 33 | [2, 8, 1] | [] | null |
Not supported with pagination yet | http://images.cocodataset.org/train2017/000000253785.jpg | The dog is in front of the chair. | 1 | in front of | 29 | [56, 2, 10] | [] | null |
Not supported with pagination yet | http://images.cocodataset.org/train2017/000000073197.jpg | The person is on the bear. | 1 | on | 35 | [2, 15] | [65] | null |
Not supported with pagination yet | http://images.cocodataset.org/train2017/000000289866.jpg | The bird is toward the couch. | 1 | toward | 2 | [2, 65] | [1] | null |
Not supported with pagination yet | http://images.cocodataset.org/train2017/000000330513.jpg | The pizza is inside the toaster. | 0 | inside | 2 | [] | [2, 22, 64] | null |
Not supported with pagination yet | http://images.cocodataset.org/train2017/000000546800.jpg | The car contains the cat. | 1 | contains | 29 | [2, 14, 9] | [] | null |
Not supported with pagination yet | http://images.cocodataset.org/train2017/000000144965.jpg | The umbrella is surrounding the person. | 0 | surrounding | 27 | [] | [1, 2, 22] | null |
Not supported with pagination yet | http://images.cocodataset.org/train2017/000000462151.jpg | The person is facing the refrigerator. | 1 | facing | 1 | [3, 1, 2] | [] | null |
Not supported with pagination yet | http://images.cocodataset.org/train2017/000000234533.jpg | The bicycle is on top of the cake. | 0 | on top of | 30 | [67] | [3, 2] | null |
Not supported with pagination yet | http://images.cocodataset.org/train2017/000000488004.jpg | The cat is in the suitcase. | 1 | in | 29 | [2, 10, 1] | [] | null |
Not supported with pagination yet | http://images.cocodataset.org/val2017/000000454404.jpg | The potted plant is in front of the bench. | 1 | in front of | 27 | [2, 8] | [62] | null |
Not supported with pagination yet | http://images.cocodataset.org/val2017/000000562843.jpg | The scissors is beside the cup. | 1 | beside | 27 | [53, 2, 9] | [] | null |
Not supported with pagination yet | http://images.cocodataset.org/train2017/000000473720.jpg | The pizza is above the dog. | 0 | above | 27 | [] | [2, 20, 12] | null |
VSR Sample 500
This repository is a derivative sample of the Visual Spatial Reasoning (VSR) dataset. It contains 500 records and 483 unique COCO images in one train split. It is not the complete VSR corpus and is not a replacement for the upstream dataset.
The records were sampled without replacement from the upstream random-train split with deterministic seed 20260905. The sample preserves the source fields and values; the image field points to the bundled local file at images/<basename>.jpg. image_link retains the corresponding COCO URL.
Offline viewer
Download the entire repository and keep its folders together, including the images/ directory. Then double-click index.html to open the viewer locally—no installation, local server, or internet connection is needed after download. Browse records with Previous/Next or the keyboard arrow keys, filter and search by label or relation, jump to a random record, and inspect captions, truth labels, image filenames, and metadata. You can also copy a record's JSON for reuse.
Schema
The data/train.jsonl file has exactly 500 records with these features:
| Feature | Type | Description |
|---|---|---|
image |
image | Bundled COCO image, loaded from images/*.jpg. |
image_link |
string | Original COCO image URL. |
caption |
string | Statement describing a spatial relation between two objects. |
label |
int64 | 1 means the caption is true of the image; 0 means it is false. |
relation |
string | Spatial relation asserted by the caption. |
annotator_id |
int64 | Identifier of the original annotator. |
vote_true_validator_id |
string | Original serialized validator IDs voting true. |
vote_false_validator_id |
string | Original serialized validator IDs voting false. |
reference_frame |
float64 | Original reference-frame value; it may be null. |
Loading
From a local checkout of this repository:
from datasets import load_dataset
dataset = load_dataset("./vsr-sample-500", data_files={"train": "data/train.jsonl"})
print(dataset["train"][0])
The JSONL paths are relative to this repository, so the bundled images are available when the dataset is loaded locally. For a published Hub copy, use its dataset identifier instead of the local path; the train configuration maps to data/train.jsonl.
Provenance
VSR is a benchmark of caption-image pairs for judging whether a caption correctly describes a spatial relation in an image. This sample was prepared from the upstream random train split on 2026-09-05 using the deterministic seed stated above. See the upstream VSR repository for the original data, split definitions, implementation, and provenance.
Citation
If you use the original VSR work, please cite:
@article{Liu2022VisualSR,
title={Visual Spatial Reasoning},
author={Fangyu Liu and Guy Edward Toh Emerson and Nigel Collier},
journal={Transactions of the Association for Computational Linguistics},
year={2023},
}
Limitations
This is a small, intentionally sampled subset and may not represent the full distribution of VSR relations, captions, labels, or annotators. It contains only the random-train source split and should not be used to infer performance on VSR's other splits or on broader visual reasoning tasks. The labels represent the VSR caption-verification task and do not establish general image or object-recognition capability.
Licensing and image attribution
The VSR repository's code and dataset materials are released under the Apache-2.0 license, which is the license declared for this derivative repository's dataset-card materials. The bundled images originate from the COCO dataset; image rights, terms, and attribution obligations are governed by COCO and the applicable image creators' rights, not by this sample's Apache-2.0 declaration. Review the upstream VSR and COCO terms before redistributing or using the images.
- Downloads last month
- 301