visual_genome_python_driver
visual_genome_python_driver copied to clipboard
Get all QAs data documentation differ from actual objects
According to the API documentation, the file question_answers.json should present the following structure:
[
{
"image_id": 2317993,
"qas": [
{
"qa_id": 912402,
"question": "Where are the clouds?",
"answer": "sky",
"question_synsets": [
{
"synset_name": "cloud.n.01",
"entity_name": "cloud",
"entity_idx_start": 14,
"entity_idx_end": 20
},
],
"answer_synsets": [
{
"synset_name": "sky.n.01",
"entity_name": "sky",
"entity_idx_start": 0,
"entity_idx_end": 3
},
]
},
]
},
]
However, the values present on the actual JSON file look like this:
[
{
"id": 912402,
"image": 2317993,
"question": "Where are the clouds?",
"answer": "Sky."
},
]
As you may see, both JSON formats differ, with the actual one presenting less information than the one presented on the documentation. i.e., QA don't contain the corresponding objects and synsets.