Datasets:

Formats:
json
Languages:
English
ArXiv:
Libraries:
Datasets
pandas
License:
image
stringlengths
16
16
image_link
stringlengths
54
56
caption
stringlengths
21
58
label
int64
0
1
relation
stringlengths
2
20
annotator_id
int64
1
47
vote_true_validator_id
stringlengths
2
19
vote_false_validator_id
stringlengths
2
18
reference_frame
float64
0
2
000000296471.jpg
http://images.cocodataset.org/train2017/000000296471.jpg
The cat is inside the refrigerator.
0
inside
27
[]
[1, 2, 20]
null
000000155777.jpg
http://images.cocodataset.org/train2017/000000155777.jpg
The bird is away from the motorcycle.
1
away from
2
[2, 62, 20]
[]
null
000000262118.jpg
http://images.cocodataset.org/train2017/000000262118.jpg
The bed is right of the bench.
1
right of
29
[2, 16]
[66]
0
000000068878.jpg
http://images.cocodataset.org/train2017/000000068878.jpg
The car is over the cat.
0
over
27
[]
[2, 55, 25]
null
000000447741.jpg
http://images.cocodataset.org/train2017/000000447741.jpg
The person is surrounding the cat.
1
surrounding
38
[3, 2, 12]
[]
null
000000254356.jpg
http://images.cocodataset.org/train2017/000000254356.jpg
The dining table is near the person.
0
near
35
[2]
[28, 12]
null
000000013636.jpg
http://images.cocodataset.org/train2017/000000013636.jpg
The cat is away from the dog.
1
away from
2
[2, 22]
[60]
null
000000363875.jpg
http://images.cocodataset.org/val2017/000000363875.jpg
The motorcycle is far away from the bus.
0
far away from
29
[]
[63, 2, 26]
null
000000046927.jpg
http://images.cocodataset.org/train2017/000000046927.jpg
The sheep is beside the chair.
0
beside
35
[]
[1, 2, 10]
null
000000528832.jpg
http://images.cocodataset.org/train2017/000000528832.jpg
The couch is under the teddy bear.
1
under
40
[18, 2, 65]
[]
null
000000117445.jpg
http://images.cocodataset.org/train2017/000000117445.jpg
The bird is inside the car.
1
inside
30
[28, 2, 60]
[]
null
000000391632.jpg
http://images.cocodataset.org/train2017/000000391632.jpg
The suitcase contains the cat.
0
contains
2
[]
[2, 62, 20]
null
000000082826.jpg
http://images.cocodataset.org/train2017/000000082826.jpg
The dog is under the person.
0
under
32
[2]
[55, 15]
null
000000094174.jpg
http://images.cocodataset.org/train2017/000000094174.jpg
The teddy bear is off the dining table.
1
off
1
[18, 2, 55]
[]
null
000000159403.jpg
http://images.cocodataset.org/train2017/000000159403.jpg
The dining table is next to the bus.
0
next to
38
[2]
[1, 21]
null
000000099619.jpg
http://images.cocodataset.org/train2017/000000099619.jpg
The person is in front of the zebra.
0
in front of
27
[24]
[2, 24]
null
000000425078.jpg
http://images.cocodataset.org/train2017/000000425078.jpg
The person is in the bus.
0
in
35
[]
[2, 52, 7]
null
000000440057.jpg
http://images.cocodataset.org/train2017/000000440057.jpg
The laptop is touching the cat.
0
touching
29
[]
[2, 17, 66]
null
000000238795.jpg
http://images.cocodataset.org/train2017/000000238795.jpg
The broccoli is at the left side of the pizza.
1
at the left side of
4
[54, 2, 20]
[]
1
000000423267.jpg
http://images.cocodataset.org/train2017/000000423267.jpg
The dog is on the person.
1
on
29
[19, 2, 12]
[]
null
000000344460.jpg
http://images.cocodataset.org/train2017/000000344460.jpg
The suitcase contains the teddy bear.
1
contains
35
[2, 65, 10]
[]
null
000000575487.jpg
http://images.cocodataset.org/train2017/000000575487.jpg
The person is facing the oven.
1
facing
2
[1, 2, 24]
[]
null
000000351654.jpg
http://images.cocodataset.org/train2017/000000351654.jpg
The dining table is below the pizza.
0
below
46
[2]
[1, 57]
null
000000145722.jpg
http://images.cocodataset.org/train2017/000000145722.jpg
The cup is left of the hot dog.
0
left of
30
[]
[2, 20, 59]
null
000000575349.jpg
http://images.cocodataset.org/train2017/000000575349.jpg
The donut is on the dining table.
0
on
1
[]
[3, 4, 2]
null
000000251655.jpg
http://images.cocodataset.org/train2017/000000251655.jpg
The bed is under the person.
0
under
44
[26]
[61, 2]
null
000000180682.jpg
http://images.cocodataset.org/train2017/000000180682.jpg
The person is touching the teddy bear.
1
touching
35
[1, 2, 22]
[]
null
000000472309.jpg
http://images.cocodataset.org/train2017/000000472309.jpg
The person is at the right side of the teddy bear.
1
at the right side of
27
[1, 2, 23]
[]
1
000000554102.jpg
http://images.cocodataset.org/train2017/000000554102.jpg
The cup is left of the person.
1
left of
30
[11, 2]
[3]
0
000000423875.jpg
http://images.cocodataset.org/train2017/000000423875.jpg
The motorcycle is next to the truck.
0
next to
35
[2]
[13, 20]
null
000000329421.jpg
http://images.cocodataset.org/train2017/000000329421.jpg
The dining table is on the boat.
0
on
29
[]
[2, 22, 64]
null
000000095517.jpg
http://images.cocodataset.org/train2017/000000095517.jpg
The elephant is next to the person.
1
next to
27
[65, 21]
[2]
null
000000408621.jpg
http://images.cocodataset.org/train2017/000000408621.jpg
The bus is behind the bench.
0
behind
31
[]
[53, 19, 2]
null
000000283405.jpg
http://images.cocodataset.org/train2017/000000283405.jpg
The banana is in front of the person.
1
in front of
36
[1, 2, 17]
[]
null
000000271058.jpg
http://images.cocodataset.org/train2017/000000271058.jpg
The person is touching the pizza.
0
touching
29
[]
[13, 2, 15]
null
000000213579.jpg
http://images.cocodataset.org/train2017/000000213579.jpg
The person is touching the dining table.
0
touching
32
[]
[54, 2, 21]
null
000000499656.jpg
http://images.cocodataset.org/train2017/000000499656.jpg
The book is touching the cat.
1
touching
30
[2, 48, 24]
[]
null
000000061946.jpg
http://images.cocodataset.org/train2017/000000061946.jpg
The sandwich is touching the teddy bear.
1
touching
30
[3, 2, 1]
[]
null
000000093133.jpg
http://images.cocodataset.org/train2017/000000093133.jpg
The dining table is in front of the potted plant.
1
in front of
27
[19, 2, 58]
[]
null
000000579917.jpg
http://images.cocodataset.org/train2017/000000579917.jpg
The banana is behind the cake.
1
behind
33
[2, 57, 6]
[]
null
000000287781.jpg
http://images.cocodataset.org/train2017/000000287781.jpg
The umbrella is attached to the bicycle.
0
attached to
27
[]
[2, 20, 66]
null
000000108113.jpg
http://images.cocodataset.org/train2017/000000108113.jpg
The dog is at the left side of the donut.
1
at the left side of
2
[3, 2]
[9]
1
000000231786.jpg
http://images.cocodataset.org/train2017/000000231786.jpg
The refrigerator is in the tv.
0
in
1
[]
[2, 16, 60]
null
000000199458.jpg
http://images.cocodataset.org/train2017/000000199458.jpg
The car is on the couch.
0
on
27
[]
[2, 66, 7]
null
000000256322.jpg
http://images.cocodataset.org/train2017/000000256322.jpg
The cat is in the umbrella.
1
in
29
[2, 10, 1]
[]
null
000000145680.jpg
http://images.cocodataset.org/train2017/000000145680.jpg
The cake is below the broccoli.
1
below
27
[2, 66]
[3]
null
000000108113.jpg
http://images.cocodataset.org/train2017/000000108113.jpg
The donut is on the dog.
1
on
1
[10, 59]
[2]
null
000000488964.jpg
http://images.cocodataset.org/train2017/000000488964.jpg
The cat is on the couch.
0
on
30
[]
[2, 1, 58]
null
000000357549.jpg
http://images.cocodataset.org/train2017/000000357549.jpg
The train is near the bicycle.
1
near
2
[56, 2, 25]
[]
null
000000044432.jpg
http://images.cocodataset.org/train2017/000000044432.jpg
The teddy bear is on top of the bear.
0
on top of
27
[]
[2, 9, 10]
null
000000125703.jpg
http://images.cocodataset.org/train2017/000000125703.jpg
The elephant is facing the person.
1
facing
35
[2, 17, 62]
[]
null
000000053315.jpg
http://images.cocodataset.org/train2017/000000053315.jpg
The bench is next to the cake.
0
next to
29
[57]
[2, 25]
null
000000366349.jpg
http://images.cocodataset.org/train2017/000000366349.jpg
The book is on top of the teddy bear.
1
on top of
27
[3, 2, 9]
[]
null
000000392825.jpg
http://images.cocodataset.org/train2017/000000392825.jpg
The motorcycle is far away from the bus.
1
far away from
29
[61, 2, 20]
[]
null
000000187424.jpg
http://images.cocodataset.org/train2017/000000187424.jpg
The car is behind the toilet.
1
behind
30
[64, 6]
[2]
null
000000289698.jpg
http://images.cocodataset.org/train2017/000000289698.jpg
The cat is in the microwave.
0
in
31
[]
[28, 2, 67]
null
000000422886.jpg
http://images.cocodataset.org/val2017/000000422886.jpg
The hot dog is in the person.
1
in
40
[2, 8, 48]
[]
null
000000293027.jpg
http://images.cocodataset.org/train2017/000000293027.jpg
The bed is in front of the handbag.
0
in front of
27
[]
[2, 25, 9]
null
000000504158.jpg
http://images.cocodataset.org/train2017/000000504158.jpg
The dog is above the cat.
0
above
29
[]
[2, 1, 58]
null
000000002570.jpg
http://images.cocodataset.org/train2017/000000002570.jpg
The laptop is at the right side of the donut.
0
at the right side of
2
[52]
[2, 1]
null
000000341139.jpg
http://images.cocodataset.org/train2017/000000341139.jpg
The sandwich is at the side of the dining table.
0
at the side of
27
[25]
[2, 58]
null
000000570588.jpg
http://images.cocodataset.org/train2017/000000570588.jpg
The train is perpendicular to the bench.
1
perpendicular to
1
[2, 57]
[6]
null
000000509783.jpg
http://images.cocodataset.org/train2017/000000509783.jpg
The person is far from the elephant.
1
far from
35
[53, 18, 2]
[]
null
000000420964.jpg
http://images.cocodataset.org/train2017/000000420964.jpg
The truck is behind the elephant.
0
behind
30
[]
[2, 65, 26]
null
000000134688.jpg
http://images.cocodataset.org/train2017/000000134688.jpg
The dining table is under the teddy bear.
1
under
29
[3, 1, 2]
[]
null
000000031084.jpg
http://images.cocodataset.org/train2017/000000031084.jpg
The hot dog is far away from the oven.
0
far away from
43
[]
[63, 2, 17]
null
000000099546.jpg
http://images.cocodataset.org/train2017/000000099546.jpg
The dining table is touching the teddy bear.
0
touching
27
[]
[2, 15, 9]
null
000000456422.jpg
http://images.cocodataset.org/train2017/000000456422.jpg
The teddy bear is inside the suitcase.
0
inside
27
[]
[2, 62, 10]
null
000000254050.jpg
http://images.cocodataset.org/train2017/000000254050.jpg
The backpack is on the dog.
1
on
3
[13, 2, 10]
[]
null
000000491216.jpg
http://images.cocodataset.org/val2017/000000491216.jpg
The cat is in the refrigerator.
0
in
27
[]
[2, 57, 15]
null
000000530658.jpg
http://images.cocodataset.org/train2017/000000530658.jpg
The laptop is under the cat.
0
under
27
[]
[2, 67, 17]
null
000000104130.jpg
http://images.cocodataset.org/train2017/000000104130.jpg
The bowl is touching the bird.
0
touching
27
[]
[2, 9, 62]
null
000000240718.jpg
http://images.cocodataset.org/train2017/000000240718.jpg
The pizza is in the oven.
1
in
42
[2, 1, 25]
[]
null
000000040359.jpg
http://images.cocodataset.org/train2017/000000040359.jpg
The cat is beneath the car.
0
beneath
30
[]
[56, 19, 2]
null
000000032284.jpg
http://images.cocodataset.org/train2017/000000032284.jpg
The motorcycle is facing the truck.
0
facing
1
[]
[3, 11, 4, 2]
null
000000070744.jpg
http://images.cocodataset.org/train2017/000000070744.jpg
The surfboard is connected to the bicycle.
0
connected to
35
[23]
[2, 60]
null
000000187432.jpg
http://images.cocodataset.org/train2017/000000187432.jpg
The cat is at the left side of the bed.
0
at the left side of
29
[2]
[9, 1]
null
000000542776.jpg
http://images.cocodataset.org/val2017/000000542776.jpg
The book is touching the bird.
1
touching
3
[2, 60, 6]
[]
null
000000273450.jpg
http://images.cocodataset.org/train2017/000000273450.jpg
The parking meter is behind the car.
0
behind
1
[57]
[3, 2]
null
000000332607.jpg
http://images.cocodataset.org/train2017/000000332607.jpg
The wine glass is touching the person.
1
touching
30
[2, 9, 24]
[]
null
000000469648.jpg
http://images.cocodataset.org/train2017/000000469648.jpg
The teddy bear is touching the bed.
1
touching
30
[2, 22, 9]
[]
null
000000355156.jpg
http://images.cocodataset.org/train2017/000000355156.jpg
The person is facing away from the horse.
0
facing away from
1
[]
[56, 2, 17]
null
000000028134.jpg
http://images.cocodataset.org/train2017/000000028134.jpg
The bird is in the tv.
0
in
1
[]
[2, 60, 7]
null
000000532998.jpg
http://images.cocodataset.org/train2017/000000532998.jpg
The train is parallel to the person.
1
parallel to
37
[55, 6]
[2]
null
000000559728.jpg
http://images.cocodataset.org/train2017/000000559728.jpg
The sheep is connected to the person.
0
connected to
32
[]
[2, 57, 6]
null
000000010092.jpg
http://images.cocodataset.org/val2017/000000010092.jpg
The bed is at the right side of the dining table.
0
at the right side of
27
[60]
[1, 2]
null
000000281920.jpg
http://images.cocodataset.org/train2017/000000281920.jpg
The pizza is under the broccoli.
0
under
2
[]
[63, 2, 25]
null
000000115846.jpg
http://images.cocodataset.org/train2017/000000115846.jpg
The couch is across from the dining table.
1
across from
27
[2, 64, 10]
[]
null
000000387136.jpg
http://images.cocodataset.org/train2017/000000387136.jpg
The motorcycle is in front of the truck.
1
in front of
30
[15, 66]
[2]
null
000000568171.jpg
http://images.cocodataset.org/train2017/000000568171.jpg
The cat is above the dining table.
1
above
34
[2, 12, 21]
[]
null
000000309956.jpg
http://images.cocodataset.org/train2017/000000309956.jpg
The cake is in front of the truck.
0
in front of
27
[]
[2, 8, 65]
null
000000319655.jpg
http://images.cocodataset.org/train2017/000000319655.jpg
The motorcycle is parallel to the bus.
1
parallel to
30
[3, 63, 2]
[]
null
000000301262.jpg
http://images.cocodataset.org/train2017/000000301262.jpg
The fire hydrant is in front of the stop sign.
0
in front of
29
[]
[1, 2, 17]
null
000000164786.jpg
http://images.cocodataset.org/train2017/000000164786.jpg
The person is in front of the train.
0
in front of
4
[63]
[2, 25]
null
000000019037.jpg
http://images.cocodataset.org/train2017/000000019037.jpg
The bed is at the left side of the dog.
0
at the left side of
27
[]
[54, 2, 16]
null
000000537372.jpg
http://images.cocodataset.org/train2017/000000537372.jpg
The cat is at the edge of the bed.
1
at the edge of
31
[2, 17, 9, 2]
[]
null
000000408185.jpg
http://images.cocodataset.org/train2017/000000408185.jpg
The cat is on the laptop.
0
on
1
[13]
[2, 26]
null
000000324871.jpg
http://images.cocodataset.org/train2017/000000324871.jpg
The bench is attached to the elephant.
1
attached to
1
[2, 16, 55]
[]
null
000000292101.jpg
http://images.cocodataset.org/train2017/000000292101.jpg
The chair is above the cat.
0
above
1
[]
[2, 10, 1]
null
000000205981.jpg
http://images.cocodataset.org/train2017/000000205981.jpg
The person is in the boat.
0
in
2
[]
[56, 2, 23]
null

VSR: Visual Spatial Reasoning

This is the random set of VSR: Visual Spatial Reasoning (TACL 2023) [paper].

Usage

from datasets import load_dataset

data_files = {"train": "train.jsonl", "dev": "dev.jsonl", "test": "test.jsonl"}
dataset = load_dataset("cambridgeltl/vsr_random", data_files=data_files)

Note that the image files still need to be downloaded separately. See data/ for details.

Go to our github repo for more introductions.

Citation

If you find VSR useful:

@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},
}
Downloads last month
79
Edit dataset card