Switch to unified view

a b/lavis/configs/datasets/okvqa/defaults.yaml
1
 # Copyright (c) 2022, salesforce.com, inc.
2
 # All rights reserved.
3
 # SPDX-License-Identifier: BSD-3-Clause
4
 # For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/BSD-3-Clause
5
6
datasets:
7
  ok_vqa:
8
    # data_dir: ${env.data_dir}/datasets
9
    data_type: images # [images|videos|features]
10
11
    build_info:
12
      # Be careful not to append minus sign (-) before split to avoid itemizing
13
      annotations:
14
        train:
15
          url:
16
              # TODO make this order insensitive
17
              - https://storage.googleapis.com/sfr-vision-language-research/LAVIS/datasets/okvqa/okvqa_train.json
18
              # - https://storage.googleapis.com/sfr-vision-language-research/LAVIS/datasets/okvqa/OpenEnded_mscoco_train2014_questions.json
19
              # - https://storage.googleapis.com/sfr-vision-language-research/LAVIS/datasets/okvqa/mscoco_train2014_annotations.json
20
          storage:
21
              - okvqa/annotations/okvqa_train.json
22
              # - okvqa/annotations/OpenEnded_mscoco_train2014_questions.json
23
              # - okvqa/annotations/mscoco_train2014_annotations.json
24
        test:
25
          url:
26
              # TODO make this order insensitive
27
              - https://storage.googleapis.com/sfr-vision-language-research/LAVIS/datasets/okvqa/okvqa_val_eval.json
28
              - https://storage.googleapis.com/sfr-vision-language-research/LAVIS/datasets/okvqa/okvqa_answer_list_train.json
29
              - https://storage.googleapis.com/sfr-vision-language-research/LAVIS/datasets/okvqa/OpenEnded_mscoco_val2014_questions.json
30
              - https://storage.googleapis.com/sfr-vision-language-research/LAVIS/datasets/okvqa/mscoco_val2014_annotations.json
31
          storage:
32
              - okvqa/annotations/vqa_val_eval.json
33
              - okvqa/annotations/answer_list.json
34
              - okvqa/annotations/OpenEnded_mscoco_val2014_questions.json
35
              - okvqa/annotations/mscoco_val2014_annotations.json
36
      images:
37
          storage: coco/images/