Skip to content

Commit

Permalink
Update vqa.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jackroos authored May 31, 2020
1 parent 2ff7a65 commit d58c70c
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions vqa/data/datasets/vqa.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,15 +102,6 @@ def __init__(self, image_set, root_path, data_path, answer_vocab_file, use_imdb=
"test-dev2015": ("vgbua_res101_precomputed", "test2015_resnet101_faster_rcnn_genome"),
"test2015": ("vgbua_res101_precomputed", "test2015_resnet101_faster_rcnn_genome"),
}
elif boxes == "10-100ada_v5.1.1_base":
precomputed_boxes = {
'train2014': ("vlb-res101_vqa_precomputed", "vqa-v5.1.1-base-10ep-precomp-trainval"),
"valminusminival2014": ("vlb-res101_vqa_precomputed", "vqa-v5.1.1-base-10ep-precomp-trainval"),
'val2014': ("vlb-res101_vqa_precomputed", "vqa-v5.1.1-base-10ep-precomp-trainval"),
"minival2014": ("vlb-res101_vqa_precomputed", "vqa-v5.1.1-base-10ep-precomp-trainval"),
"test-dev2015": ("vlb-res101_vqa_precomputed", "vqa-v5.1.1-base-10ep-precomp-test"),
"test2015": ("vlb-res101_vqa_precomputed", "vqa-v5.1.1-base-10ep-precomp-test"),
}
else:
raise ValueError("Not support boxes: {}!".format(boxes))
coco_dataset = {
Expand Down

0 comments on commit d58c70c

Please sign in to comment.