Dataset Viewer
Auto-converted to Parquet Duplicate
id
stringlengths
10
20
source
stringclasses
7 values
dataset
stringclasses
10 values
image
stringlengths
16
49
images
listlengths
1
5
question
stringlengths
12
194
answer
stringlengths
1
35
relations_json
stringlengths
290
492k
scene_graph_json
stringlengths
198
180k
metadata_json
stringlengths
180
476
gqa_000001
gqa
gqa
images/gqa/2368473.jpg
[ "images/gqa/2368473.jpg" ]
Is the cheese to the left of pepperoni?
no
[{"type":"object","legacy_target_index":0,"subject":{"name":"cheese","object_id":"3590548","bbox_xyxy":[124,134,178,171],"image_index":0},"relation":"to_the_left_of","object":{"name":"shrimp","object_id":"2629096","bbox_xyxy":[211,139,262,174],"image_index":0},"raw_relation":"to the left of","triple_text":"cheese -- to...
{"objects":[{"object_id":"3590548","name":"cheese","bbox_xyxy":[124,134,178,171]},{"object_id":"2629096","name":"shrimp","bbox_xyxy":[211,139,262,174]},{"object_id":"3868885","name":"spinach","bbox_xyxy":[153,140,233,221]},{"object_id":"2413667","name":"shrimp","bbox_xyxy":[30,148,71,177]},{"object_id":"3868891","name"...
{"original_dataset":"gqa","image_id":"2368473","question_id":"07570044","sample_type":"relation_grounded","question_types":{"detailed":"relVerifyCo","semantic":"rel","structural":"verify"},"semantic_group":"relation"}
openimage_000002
openimage
openimages_v7
images/openimage/e6cabd8ee6bc2907.jpg
[ "images/openimage/e6cabd8ee6bc2907.jpg" ]
Which object is on the chair?
woman
[{"type":"object","legacy_target_index":0,"subject":{"name":"woman","object_id":"obj_12","bbox_xyxy":[321,390,509,586],"image_index":0},"relation":"on","object":{"name":"chair","object_id":"obj_13","bbox_xyxy":[157,446,314,664],"image_index":0},"raw_relation":"on","triple_text":"woman -- on -- chair"},{"type":"object",...
{"objects":[{"object_id":"obj_12","name":"woman","bbox_xyxy":[321,390,509,586]},{"object_id":"obj_13","name":"chair","bbox_xyxy":[157,446,314,664]},{"object_id":"obj_35","name":"(made of)leather","bbox_xyxy":[157,446,314,664]}],"relations":[{"subject_id":"obj_12","subject_name":"woman","relation":"on","object_id":"obj_...
{"original_dataset":"openimages_v7","image_id":"e6cabd8ee6bc2907","question_id":"oi_rel_e6cabd8ee6bc2907_obj_13_object_on","sample_type":"relation_grounded","question_types":{"semantic":"rel","source":"openimages_v7","relation":"on","anchor_role":"object","question_family":"anchor_query_object"},"semantic_group":"relat...
openimage_000003
openimage
openimages_v7
images/openimage/037de3ef900637a4.jpg
[ "images/openimage/037de3ef900637a4.jpg" ]
Which object is containing the muffin?
platter
[{"type":"object","legacy_target_index":0,"subject":{"name":"platter","object_id":"obj_0","bbox_xyxy":[444,164,886,313],"image_index":0},"relation":"contain","object":{"name":"muffin","object_id":"obj_1","bbox_xyxy":[617,150,749,282],"image_index":0},"raw_relation":"contain","triple_text":"platter -- contain -- muffin"...
{"objects":[{"object_id":"obj_0","name":"platter","bbox_xyxy":[444,164,886,313]},{"object_id":"obj_1","name":"muffin","bbox_xyxy":[617,150,749,282]},{"object_id":"obj_2","name":"platter","bbox_xyxy":[446,169,896,321]}],"relations":[{"subject_id":"obj_0","subject_name":"platter","relation":"contain","object_id":"obj_1",...
{"original_dataset":"openimages_v7","image_id":"037de3ef900637a4","question_id":"oi_rel_037de3ef900637a4_obj_1_object_contain","sample_type":"relation_grounded","question_types":{"semantic":"rel","source":"openimages_v7","relation":"contain","anchor_role":"object","question_family":"anchor_query_object"},"semantic_grou...
gqa_000004
gqa
gqa
images/gqa/2368151.jpg
[ "images/gqa/2368151.jpg" ]
On which side is the palm?
left
[{"type":"object","legacy_target_index":0,"subject":{"name":"building","object_id":"747831","bbox_xyxy":[149,1,499,185],"image_index":0},"relation":"to_the_right_of","object":{"name":"palm tree","object_id":"747847","bbox_xyxy":[27,71,71,165],"image_index":0},"raw_relation":"to the right of","triple_text":"building -- ...
{"objects":[{"object_id":"747831","name":"building","bbox_xyxy":[149,1,499,185]},{"object_id":"747847","name":"palm tree","bbox_xyxy":[27,71,71,165]},{"object_id":"747854","name":"door","bbox_xyxy":[81,140,110,185]},{"object_id":"747832","name":"parking lot","bbox_xyxy":[0,176,499,374]},{"object_id":"747858","name":"ro...
{"original_dataset":"gqa","image_id":"2368151","question_id":"0311729","sample_type":"relation_grounded","question_types":{"detailed":"positionQuery","semantic":"attr","structural":"query"},"semantic_group":"relation"}
openimage_000005
openimage
openimages_v7
images/openimage/bb98972b3b01f684.jpg
[ "images/openimage/bb98972b3b01f684.jpg" ]
Which object is the man holding?
surfboard
[{"type":"object","legacy_target_index":0,"subject":{"name":"man","object_id":"obj_8","bbox_xyxy":[860,129,1023,431],"image_index":0},"relation":"holding","object":{"name":"surfboard","object_id":"obj_9","bbox_xyxy":[776,371,1023,425],"image_index":0},"raw_relation":"holds","triple_text":"man -- holding -- surfboard"},...
{"objects":[{"object_id":"obj_8","name":"man","bbox_xyxy":[860,129,1023,431]},{"object_id":"obj_9","name":"surfboard","bbox_xyxy":[776,371,1023,425]}],"relations":[{"subject_id":"obj_8","subject_name":"man","relation":"holding","object_id":"obj_9","object_name":"surfboard"},{"subject_id":"obj_8","subject_name":"man","r...
{"original_dataset":"openimages_v7","image_id":"bb98972b3b01f684","question_id":"oi_rel_bb98972b3b01f684_obj_8_subject_holding","sample_type":"relation_grounded","question_types":{"semantic":"rel","source":"openimages_v7","relation":"holding","anchor_role":"subject","question_family":"anchor_query_object"},"semantic_gr...
gqa_000006
gqa
gqa
images/gqa/2365748.jpg
[ "images/gqa/2365748.jpg" ]
Is the logo painted on the building?
yes
[{"type":"object","legacy_target_index":0,"subject":{"name":"bicycle","object_id":"632240","bbox_xyxy":[90,232,244,331],"image_index":0},"relation":"to_the_left_of","object":{"name":"building","object_id":"632245","bbox_xyxy":[189,35,499,298],"image_index":0},"raw_relation":"to the left of","triple_text":"bicycle -- to...
{"objects":[{"object_id":"632240","name":"bicycle","bbox_xyxy":[90,232,244,331]},{"object_id":"632245","name":"building","bbox_xyxy":[189,35,499,298]},{"object_id":"632235","name":"motorcycle","bbox_xyxy":[3,207,78,271]},{"object_id":"632236","name":"wall","bbox_xyxy":[4,58,174,267]},{"object_id":"632242","name":"wheel...
{"original_dataset":"gqa","image_id":"2365748","question_id":"19653539","sample_type":"relation_grounded","question_types":{"detailed":"relVerify","semantic":"rel","structural":"verify"},"semantic_group":"mixed"}
gqa_000007
gqa
gqa
images/gqa/2358517.jpg
[ "images/gqa/2358517.jpg" ]
Is the color of the sky the same as that of the roof of the building?
yes
[{"type":"object","legacy_target_index":0,"subject":{"name":"door","object_id":"801807","bbox_xyxy":[386,31,433,152],"image_index":0},"relation":"to_the_right_of","object":{"name":"sky","object_id":"801803","bbox_xyxy":[2,0,366,115],"image_index":0},"raw_relation":"to the right of","triple_text":"door -- to_the_right_o...
{"objects":[{"object_id":"801807","name":"door","bbox_xyxy":[386,31,433,152]},{"object_id":"801803","name":"sky","bbox_xyxy":[2,0,366,115]},{"object_id":"801834","name":"number","bbox_xyxy":[367,10,387,29]},{"object_id":"801810","name":"pole","bbox_xyxy":[130,8,157,161]},{"object_id":"801801","name":"roof","bbox_xyxy":...
{"original_dataset":"gqa","image_id":"2358517","question_id":"16947250","sample_type":"relation_grounded","question_types":{"detailed":"twoSame","semantic":"attr","structural":"compare"},"semantic_group":"mixed"}
gqa_000008
gqa
gqa
images/gqa/2351003.jpg
[ "images/gqa/2351003.jpg" ]
What kind of food is to the right of the bowl?
toast
[{"type":"object","legacy_target_index":0,"subject":{"name":"bowl","object_id":"1697358","bbox_xyxy":[68,268,317,412],"image_index":0},"relation":"to_the_left_of","object":{"name":"toast","object_id":"2644630","bbox_xyxy":[303,320,377,399],"image_index":0},"raw_relation":"to the left of","triple_text":"bowl -- to_the_l...
{"objects":[{"object_id":"1697358","name":"bowl","bbox_xyxy":[68,268,317,412]},{"object_id":"2644630","name":"toast","bbox_xyxy":[303,320,377,399]},{"object_id":"1697357","name":"omelette","bbox_xyxy":[87,291,304,403]},{"object_id":"2644631","name":"plate","bbox_xyxy":[64,290,345,464]}],"relations":[{"subject_id":"1697...
{"original_dataset":"gqa","image_id":"2351003","question_id":"06292037","sample_type":"relation_grounded","question_types":{"detailed":"categoryRelS","semantic":"rel","structural":"query"},"semantic_group":"relation"}
gqa_000009
gqa
gqa
images/gqa/2387675.jpg
[ "images/gqa/2387675.jpg" ]
Is there a bird in the air?
no
[{"type":"object","legacy_target_index":0,"subject":{"name":"airplane","object_id":"677408","bbox_xyxy":[66,45,424,145],"image_index":0},"relation":"above","object":{"name":"sand","object_id":"677411","bbox_xyxy":[399,291,468,333],"image_index":0},"raw_relation":"above","triple_text":"airplane -- above -- sand"},{"type...
{"objects":[{"object_id":"677408","name":"airplane","bbox_xyxy":[66,45,424,145]},{"object_id":"677411","name":"sand","bbox_xyxy":[399,291,468,333]},{"object_id":"677398","name":"trees","bbox_xyxy":[478,202,500,257]},{"object_id":"677410","name":"water","bbox_xyxy":[0,266,355,333]},{"object_id":"677413","name":"wheel","...
{"original_dataset":"gqa","image_id":"2387675","question_id":"07621532","sample_type":"relation_grounded","question_types":{"detailed":"existRelSC","semantic":"rel","structural":"verify"},"semantic_group":"mixed"}
openimage_000010
openimage
openimages_v7
images/openimage/7b2f93f6a2881fae.jpg
[ "images/openimage/7b2f93f6a2881fae.jpg" ]
Which object is the man holding?
camera
[{"type":"object","legacy_target_index":0,"subject":{"name":"man","object_id":"obj_0","bbox_xyxy":[20,98,715,751],"image_index":0},"relation":"wearing","object":{"name":"glasses","object_id":"obj_1","bbox_xyxy":[133,273,283,342],"image_index":0},"raw_relation":"wears","triple_text":"man -- wearing -- glasses"},{"type":...
{"objects":[{"object_id":"obj_0","name":"man","bbox_xyxy":[20,98,715,751]},{"object_id":"obj_1","name":"glasses","bbox_xyxy":[133,273,283,342]},{"object_id":"obj_2","name":"camera","bbox_xyxy":[252,252,470,408]}],"relations":[{"subject_id":"obj_0","subject_name":"man","relation":"wearing","object_id":"obj_1","object_na...
{"original_dataset":"openimages_v7","image_id":"7b2f93f6a2881fae","question_id":"oi_rel_7b2f93f6a2881fae_obj_0_subject_holding","sample_type":"relation_grounded","question_types":{"semantic":"rel","source":"openimages_v7","relation":"holding","anchor_role":"subject","question_family":"anchor_query_object"},"semantic_gr...
gqa_000011
gqa
gqa
images/gqa/2317396.jpg
[ "images/gqa/2317396.jpg" ]
What is the girl doing?
talking
[{"type":"object","legacy_target_index":0,"subject":{"name":"bag","object_id":"2799033","bbox_xyxy":[60,191,145,332],"image_index":0},"relation":"to_the_left_of","object":{"name":"girl","object_id":"2906372","bbox_xyxy":[207,30,499,333],"image_index":0},"raw_relation":"to the left of","triple_text":"bag -- to_the_left_...
{"objects":[{"object_id":"2799033","name":"bag","bbox_xyxy":[60,191,145,332]},{"object_id":"2906372","name":"girl","bbox_xyxy":[207,30,499,333]},{"object_id":null,"name":"talking","bbox_xyxy":[207,30,499,333]},{"object_id":"3293565","name":"guy","bbox_xyxy":[96,58,228,333]},{"object_id":"3443301","name":"hair","bbox_xy...
{"original_dataset":"gqa","image_id":"2317396","question_id":"021030944","sample_type":"relation_grounded","question_types":{"detailed":"activity","semantic":"attr","structural":"query"},"semantic_group":"mixed"}
gqa_000012
gqa
gqa
images/gqa/2401221.jpg
[ "images/gqa/2401221.jpg" ]
Do you think the man shorts are black?
yes
[{"type":"object","legacy_target_index":0,"subject":{"name":"man","object_id":"1150093","bbox_xyxy":[104,8,333,448],"image_index":0},"relation":"catching","object":{"name":"frisbee","object_id":"1150094","bbox_xyxy":[79,11,141,49],"image_index":0},"raw_relation":"catching","triple_text":"man -- catching -- frisbee"},{"...
{"objects":[{"object_id":"1150093","name":"man","bbox_xyxy":[104,8,333,448]},{"object_id":"1150094","name":"frisbee","bbox_xyxy":[79,11,141,49]},{"object_id":"1150102","name":"air","bbox_xyxy":[315,78,351,126]},{"object_id":"1150101","name":"hat","bbox_xyxy":[232,63,300,107]},{"object_id":"1150103","name":"shoe","bbox_...
{"original_dataset":"gqa","image_id":"2401221","question_id":"0574648","sample_type":"relation_grounded","question_types":{"detailed":"verifyAttr","semantic":"attr","structural":"verify"},"semantic_group":"mixed"}
gqa_000013
gqa
gqa
images/gqa/2351061.jpg
[ "images/gqa/2351061.jpg" ]
What is the item of furniture that is to the left of the chair that is made of wood?
couch
[{"type":"attribute","legacy_target_index":0,"subject":{"name":"chair","object_id":"1931425","bbox_xyxy":[163,147,233,310],"image_index":0},"relation":"has_attribute","object":{"name":"old","object_id":null,"bbox_xyxy":[163,147,233,310],"image_index":0},"raw_relation":"has attribute","triple_text":"chair -- has_attribu...
{"objects":[{"object_id":"1931425","name":"chair","bbox_xyxy":[163,147,233,310]},{"object_id":null,"name":"old","bbox_xyxy":[163,147,233,310]},{"object_id":null,"name":"wood","bbox_xyxy":[163,147,233,310]},{"object_id":"1996308","name":"chair","bbox_xyxy":[228,184,350,374]},{"object_id":"1768794","name":"desk","bbox_xy...
{"original_dataset":"gqa","image_id":"2351061","question_id":"08323496","sample_type":"relation_grounded","question_types":{"detailed":"categoryRelS","semantic":"rel","structural":"query"},"semantic_group":"mixed"}
visual_genome_000014
visual_genome
blink_proxy_vg_spatial
images/visual_genome/787.jpg
[ "images/visual_genome/787.jpg" ]
What is the white object near the road?
snow
[{"type":"object","legacy_target_index":0,"subject":{"name":"snow","object_id":"1065309","bbox_xyxy":[206,486,270,563],"image_index":0},"relation":"near","object":{"name":"road","object_id":"1065307","bbox_xyxy":[338,452,455,583],"image_index":0},"raw_relation":"near","triple_text":"snow -- near -- road"},{"type":"attr...
{"objects":[{"object_id":"1065309","name":"snow","bbox_xyxy":[206,486,270,563]},{"object_id":"1065307","name":"road","bbox_xyxy":[338,452,455,583]},{"object_id":null,"name":"white","bbox_xyxy":[206,486,270,563]},{"object_id":"1065310","name":"building","bbox_xyxy":[17,122,259,403]}],"relations":[{"subject_id":"1065309"...
{"original_dataset":"blink_proxy_vg_spatial","image_id":"vg_spatial:787","question_id":"vg_spatial_006091_787_spatial_attribute_object","sample_type":"relation_grounded","question_types":{"task":"spatial_relation","template":"spatial_attribute_object"},"semantic_group":"spatial_relation"}
gqa_000015
gqa
gqa
images/gqa/2333866.jpg
[ "images/gqa/2333866.jpg" ]
Is the color of the boots different than the pants?
no
[{"type":"attribute","legacy_target_index":0,"subject":{"name":"boots","object_id":"4665214","bbox_xyxy":[409,433,453,462],"image_index":0},"relation":"has_attribute","object":{"name":"black","object_id":null,"bbox_xyxy":[409,433,453,462],"image_index":0},"raw_relation":"has attribute","triple_text":"boots -- has_attri...
{"objects":[{"object_id":"4665214","name":"boots","bbox_xyxy":[409,433,453,462]},{"object_id":null,"name":"black","bbox_xyxy":[409,433,453,462]},{"object_id":"4665219","name":"motorcycle","bbox_xyxy":[0,130,377,496]},{"object_id":"4665221","name":"pipe","bbox_xyxy":[156,372,346,463]},{"object_id":"4665247","name":"shoe...
{"original_dataset":"gqa","image_id":"2333866","question_id":"13117301","sample_type":"relation_grounded","question_types":{"detailed":"twoDifferentC","semantic":"attr","structural":"compare"},"semantic_group":"mixed"}
gqa_000016
gqa
gqa
images/gqa/2396585.jpg
[ "images/gqa/2396585.jpg" ]
Is the bench below the leafy tree?
yes
[{"type":"attribute","legacy_target_index":0,"subject":{"name":"bench","object_id":"664703","bbox_xyxy":[30,239,219,436],"image_index":0},"relation":"has_attribute","object":{"name":"made","object_id":null,"bbox_xyxy":[30,239,219,436],"image_index":0},"raw_relation":"has attribute","triple_text":"bench -- has_attribute...
{"objects":[{"object_id":"664703","name":"bench","bbox_xyxy":[30,239,219,436]},{"object_id":null,"name":"made","bbox_xyxy":[30,239,219,436]},{"object_id":null,"name":"wood","bbox_xyxy":[30,239,219,436]},{"object_id":"664705","name":"fence","bbox_xyxy":[0,152,399,321]},{"object_id":"664712","name":"grass","bbox_xyxy":[0...
{"original_dataset":"gqa","image_id":"2396585","question_id":"021058546","sample_type":"relation_grounded","question_types":{"detailed":"relVerify","semantic":"rel","structural":"verify"},"semantic_group":"mixed"}
gqa_000017
gqa
gqa
images/gqa/2417487.jpg
[ "images/gqa/2417487.jpg" ]
Is the person in the top?
yes
[{"type":"object","legacy_target_index":0,"subject":{"name":"crowd","object_id":"3557338","bbox_xyxy":[334,0,415,43],"image_index":0},"relation":"to_the_left_of","object":{"name":"person","object_id":"3450276","bbox_xyxy":[421,3,451,59],"image_index":0},"raw_relation":"to the left of","triple_text":"crowd -- to_the_lef...
{"objects":[{"object_id":"3557338","name":"crowd","bbox_xyxy":[334,0,415,43]},{"object_id":"3450276","name":"person","bbox_xyxy":[421,3,451,59]},{"object_id":"3008699","name":"dog","bbox_xyxy":[332,34,347,64]},{"object_id":"3227411","name":"dog","bbox_xyxy":[325,28,350,64]},{"object_id":"3430283","name":"dog","bbox_xyx...
{"original_dataset":"gqa","image_id":"2417487","question_id":"09417625","sample_type":"relation_grounded","question_types":{"detailed":"positionVerify","semantic":"attr","structural":"verify"},"semantic_group":"relation"}
openimage_000018
openimage
openimages_v7
images/openimage/54b54492cba0c563.jpg
[ "images/openimage/54b54492cba0c563.jpg" ]
Which object is the bottle on?
table
[{"type":"object","legacy_target_index":0,"subject":{"name":"bottle","object_id":"obj_2","bbox_xyxy":[438,68,497,216],"image_index":0},"relation":"is","object":{"name":"transparent","object_id":"obj_3","bbox_xyxy":[438,68,497,216],"image_index":0},"raw_relation":"is","triple_text":"bottle -- is -- transparent"},{"type"...
{"objects":[{"object_id":"obj_2","name":"bottle","bbox_xyxy":[438,68,497,216]},{"object_id":"obj_3","name":"transparent","bbox_xyxy":[438,68,497,216]},{"object_id":"obj_7","name":"table","bbox_xyxy":[81,172,860,744]}],"relations":[{"subject_id":"obj_2","subject_name":"bottle","relation":"is","object_id":"obj_3","object...
{"original_dataset":"openimages_v7","image_id":"54b54492cba0c563","question_id":"oi_rel_54b54492cba0c563_obj_2_subject_on","sample_type":"relation_grounded","question_types":{"semantic":"rel","source":"openimages_v7","relation":"on","anchor_role":"subject","question_family":"anchor_query_object"},"semantic_group":"rela...
psg_000019
psg
blink_proxy_psg_false
images/psg/000000375801.jpg
[ "images/psg/000000375801.jpg" ]
Is the person behind the fire hydrant? Options: A. yes B. no Select the correct option. Put only the option letter inside <answer> and </answer>.
B
[{"type":"object","legacy_target_index":0,"subject":{"name":"person","object_id":"psg:2401655:0","bbox_xyxy":[139,20,258,451],"image_index":0},"relation":"in_front_of","object":{"name":"fire hydrant","object_id":"psg:2401655:6","bbox_xyxy":[229,227,277,345],"image_index":0},"raw_relation":"in front of","triple_text":"p...
{"objects":[{"object_id":"psg:2401655:0","name":"person","bbox_xyxy":[139,20,258,451]},{"object_id":"psg:2401655:6","name":"fire hydrant","bbox_xyxy":[229,227,277,345]}],"relations":[{"subject_id":"psg:2401655:0","subject_name":"person","relation":"in_front_of","object_id":"psg:2401655:6","object_name":"fire hydrant"},...
{"original_dataset":"blink_proxy_psg_false","image_id":"psg_false:375801","question_id":"psg_false_flip_00701_2401655_0_6","sample_type":"relation_grounded","question_types":{"task":"spatial_relation","template":"psg_relation_flip_false","label":"false","true_relation":"in front of","queried_relation":"behind"},"semant...
openimage_000020
openimage
openimages_v7
images/openimage/53f28ac36090ef50.jpg
[ "images/openimage/53f28ac36090ef50.jpg" ]
Which object is the man at?
table
[{"type":"object","legacy_target_index":0,"subject":{"name":"man","object_id":"obj_4","bbox_xyxy":[0,408,565,1022],"image_index":0},"relation":"is","object":{"name":"sit","object_id":"obj_5","bbox_xyxy":[0,408,565,1022],"image_index":0},"raw_relation":"is","triple_text":"man -- is -- sit"},{"type":"object","legacy_targ...
{"objects":[{"object_id":"obj_4","name":"man","bbox_xyxy":[0,408,565,1022]},{"object_id":"obj_5","name":"sit","bbox_xyxy":[0,408,565,1022]},{"object_id":"obj_15","name":"table","bbox_xyxy":[414,966,683,1022]}],"relations":[{"subject_id":"obj_4","subject_name":"man","relation":"is","object_id":"obj_5","object_name":"sit...
{"original_dataset":"openimages_v7","image_id":"53f28ac36090ef50","question_id":"oi_rel_53f28ac36090ef50_obj_4_subject_at","sample_type":"relation_grounded","question_types":{"semantic":"rel","source":"openimages_v7","relation":"at","anchor_role":"subject","question_family":"anchor_query_object"},"semantic_group":"rela...
gqa_000021
gqa
gqa
images/gqa/2364297.jpg
[ "images/gqa/2364297.jpg" ]
Are there any spoons or plates in this scene?
yes
[{"type":"object","legacy_target_index":0,"subject":{"name":"cheese","object_id":"642000","bbox_xyxy":[112,116,362,236],"image_index":0},"relation":"to_the_left_of","object":{"name":"peppers","object_id":"641992","bbox_xyxy":[350,150,382,176],"image_index":0},"raw_relation":"to the left of","triple_text":"cheese -- to_...
{"objects":[{"object_id":"642000","name":"cheese","bbox_xyxy":[112,116,362,236]},{"object_id":"641992","name":"peppers","bbox_xyxy":[350,150,382,176]},{"object_id":"641999","name":"crust","bbox_xyxy":[127,236,363,265]},{"object_id":null,"name":"brown","bbox_xyxy":[127,236,363,265]},{"object_id":"641996","name":"mushroo...
{"original_dataset":"gqa","image_id":"2364297","question_id":"02842307","sample_type":"relation_grounded","question_types":{"detailed":"existOr","semantic":"obj","structural":"logical"},"semantic_group":"mixed"}
openimage_000022
openimage
openimages_v7
images/openimage/c066f9291df3a712.jpg
[ "images/openimage/c066f9291df3a712.jpg" ]
Which object is at the coffee table?
chair
[{"type":"object","legacy_target_index":0,"subject":{"name":"chair","object_id":"obj_0","bbox_xyxy":[114,517,288,603],"image_index":0},"relation":"at","object":{"name":"coffee table","object_id":"obj_1","bbox_xyxy":[219,578,349,603],"image_index":0},"raw_relation":"at","triple_text":"chair -- at -- coffee table"},{"typ...
{"objects":[{"object_id":"obj_0","name":"chair","bbox_xyxy":[114,517,288,603]},{"object_id":"obj_1","name":"coffee table","bbox_xyxy":[219,578,349,603]},{"object_id":"obj_2","name":"chair","bbox_xyxy":[314,510,458,602]}],"relations":[{"subject_id":"obj_0","subject_name":"chair","relation":"at","object_id":"obj_1","obje...
{"original_dataset":"openimages_v7","image_id":"c066f9291df3a712","question_id":"oi_rel_c066f9291df3a712_obj_1_object_at","sample_type":"relation_grounded","question_types":{"semantic":"rel","source":"openimages_v7","relation":"at","anchor_role":"object","question_family":"anchor_query_object"},"semantic_group":"relati...
gqa_000023
gqa
gqa
images/gqa/2328717.jpg
[ "images/gqa/2328717.jpg" ]
Are there girls to the left of the bike on the right side of the picture?
yes
[{"type":"object","legacy_target_index":0,"subject":{"name":"bicycle","object_id":"2879307","bbox_xyxy":[166,317,233,365],"image_index":0},"relation":"to_the_left_of","object":{"name":"bike","object_id":"3403990","bbox_xyxy":[279,321,333,373],"image_index":0},"raw_relation":"to the left of","triple_text":"bicycle -- to...
{"objects":[{"object_id":"2879307","name":"bicycle","bbox_xyxy":[166,317,233,365]},{"object_id":"3403990","name":"bike","bbox_xyxy":[279,321,333,373]},{"object_id":"2728253","name":"girl","bbox_xyxy":[235,319,254,351]},{"object_id":"3502206","name":"girl","bbox_xyxy":[180,290,215,356]},{"object_id":null,"name":"little"...
{"original_dataset":"gqa","image_id":"2328717","question_id":"1417602","sample_type":"relation_grounded","question_types":{"detailed":"existRelS","semantic":"rel","structural":"verify"},"semantic_group":"mixed"}
gqa_000024
gqa
blink_proxy_gqa_absence
images/gqa/2362945.jpg
[ "images/gqa/2362945.jpg" ]
Is the chair to the left of a speaker?
no
[{"type":"object","legacy_target_index":0,"subject":{"name":"screen","object_id":"3747830","bbox_xyxy":[226,264,279,336],"image_index":0},"relation":"to_the_right_of","object":{"name":"chair","object_id":"2390135","bbox_xyxy":[0,243,169,498],"image_index":0},"raw_relation":"to the right of","triple_text":"screen -- to_...
{"objects":[{"object_id":"3747830","name":"screen","bbox_xyxy":[226,264,279,336]},{"object_id":"2390135","name":"chair","bbox_xyxy":[0,243,169,498]},{"object_id":"3747827","name":"headphones","bbox_xyxy":[167,294,221,317]},{"object_id":"2390134","name":"table","bbox_xyxy":[134,269,375,498]},{"object_id":"2154190","name...
{"original_dataset":"blink_proxy_gqa_absence","image_id":"gqa_absence:2362945","question_id":"gqa_absence_00764413","sample_type":"relation_grounded","question_types":{"task":"absence","semantic_str":"select: chair (2390135)->verify rel: speaker,to the left of,o (-) [0]"},"semantic_group":"absence"}
End of preview. Expand in Data Studio

ReGuLaR Data

This repository contains the ReGuLaR training mix with images, question-answer pairs, bounding boxes, and relation annotations. Metadata is provided as parquet shards; images are provided as compressed source-specific archives to keep the repository uploadable.

Files

data/train-xxxxx-of-yyyyy.parquet
image_archives/*.tar.zst
records.jsonl
manifest.json
stats.json
extract_images.sh

The parquet schema contains:

  • id, source, dataset
  • image: primary image path, relative to the dataset root after extraction
  • images: all image paths for the sample; mGrounding samples may contain multiple images
  • question, answer
  • relations_json: subject-relation-object annotations serialized as JSON
  • scene_graph_json: compact scene graph or relation evidence serialized as JSON
  • metadata_json: source-specific metadata serialized as JSON

Download And Extract Images

from huggingface_hub import snapshot_download
snapshot_download("zihuwang/ReGuLaR", repo_type="dataset", local_dir="regular_data")

Then extract the image archives from the dataset root:

cd regular_data
bash extract_images.sh

Equivalently, you can extract archives manually:

for f in image_archives/*.tar.zst; do tar --zstd -xf "$f"; done

This creates the images/ directory expected by the metadata paths:

images/gqa/...
images/openimage/...
images/clevr/...
images/visual_genome/...
images/psg/...
images/mgrounding/...
images/vsr/...

Usage

import json
from pathlib import Path
from PIL import Image
from datasets import load_dataset

root = Path("regular_data")
ds = load_dataset("parquet", data_files=str(root / "data/*.parquet"), split="train")

ex = ds[0]
image = Image.open(root / ex["image"]).convert("RGB")
all_images = [Image.open(root / p).convert("RGB") for p in ex["images"]]

relations = json.loads(ex["relations_json"])
scene_graph = json.loads(ex["scene_graph_json"])
metadata = json.loads(ex["metadata_json"])

Each relation follows a subject-relation-object format. Subject and object entries include names and bounding boxes when available. Bounding boxes use bbox_xyxy.

Notes

The dataset combines examples derived from GQA, OpenImage, CLEVR, Visual Genome, PSG, mGrounding, and VSR. Please follow the licenses and terms of the original data sources.

Downloads last month
76