Skip to content

Instantly share code, notes, and snippets.

@dipakc
Created April 10, 2018 20:00
Show Gist options
  • Select an option

  • Save dipakc/7e85338be11177551a4d5c7b1ff3b08c to your computer and use it in GitHub Desktop.

Select an option

Save dipakc/7e85338be11177551a4d5c7b1ff3b08c to your computer and use it in GitHub Desktop.
{
"split": "train",
"image_index": 0,
"image_filename": "CLEVR_train_000000.png",
"directions": {
"right": [ 0.6563112735748291, 0.7544902563095093, -0.0 ],
"behind": [ -0.754490315914154, 0.6563112735748291, 0.0 ],
"above": [ 0.0, 0.0, 1.0 ],
"below": [ -0.0, -0.0, -1.0 ],
"left": [ -0.6563112735748291, -0.7544902563095093, 0.0 ],
"front": [ 0.754490315914154, -0.6563112735748291, -0.0 ]
},
"objects": [
{
"color": "blue",
"size": "large",
"rotation": 269.8517172617167,
"shape": "cube",
"3d_coords": [ -1.3705521821975708, 2.0794010162353516, 0.699999988079071],
"material": "rubber",
"pixel_coords": [269, 88, 12.661545753479004]
},
{
"color": "green",
"size": "large",
"rotation": 292.2219458666971,
"shape": "cylinder",
"3d_coords": [-2.9289753437042236, -1.7488206624984741, 0.699999988079071],
"material": "metal",
"pixel_coords": [93, 108, 11.522202491760254]
},
{
"color": "cyan",
"size": "small",
"rotation": 25.545135239473026,
"shape": "cube",
"3d_coords": [1.5515961647033691, 0.6776641607284546, 0.3499999940395355],
"material": "rubber",
"pixel_coords": [319, 162, 10.045343399047852]
},
{
"color": "brown",
"size": "large",
"rotation": 327.3489188814305,
"shape": "cylinder",
"3d_coords": [ -0.25301405787467957, -2.3089325428009033, 0.699999988079071],
"material": "metal",
"pixel_coords": [ 132, 159, 9.392304420471191]
},
{
"color": "gray",
"size": "small",
"rotation": 6.325183772442613,
"shape": "cube",
"3d_coords": [
1.018894076347351, -1.93693208694458, 0.3499999940395355
],
"material": "rubber",
"pixel_coords": [192, 197, 8.907766342163086]
},
{
"color": "brown",
"size": "large",
"rotation": 25.96049348342493,
"shape": "sphere",
"3d_coords": [0.43993687629699707, 2.9987525939941406, 0.699999988079071],
"material": "metal",
"pixel_coords": [353, 100, 11.964213371276855
]
}
],
"relationships": {
"right": [
[2, 5],
[0, 2, 3, 4, 5],
[5],
[0, 2, 4, 5],
[0, 2, 5],
[]
],
"behind": [
[],
[0, 5],
[0, 1, 5],
[0, 1, 2, 5],
[0, 1, 2, 3, 5],
[0 ]
],
"front": [
[1, 2, 3, 4, 5],
[2, 3, 4],
[3, 4],
[4 ],
[],
[1, 2, 3, 4]
],
"left": [
[1, 3, 4],
[],
[0, 1, 3, 4],
[1],
[1, 3],
[0, 1, 2, 3, 4]
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment