Datasets:

Languages:
English
License:
Jinchen Ge commited on
Commit
28ad9e9
1 Parent(s): bf5ceba

Add test set

Browse files
Files changed (1) hide show
  1. gqa.py +7 -2
gqa.py CHANGED
@@ -37,7 +37,8 @@ seeking to address key shortcomings of previous visual question answering (VQA)
37
 
38
  _URLS = {
39
  "train": "https://nlp.cs.unc.edu/data/lxmert_data/gqa/train.json",
40
- "dev": "https://nlp.cs.unc.edu/data/lxmert_data/gqa/valid.json",
 
41
  "img": "https://downloads.cs.stanford.edu/nlp/data/gqa/images.zip",
42
  }
43
 
@@ -78,7 +79,11 @@ class Gqa(datasets.GeneratorBasedBuilder):
78
  ),
79
  datasets.SplitGenerator(
80
  name=datasets.Split.VALIDATION,
81
- gen_kwargs={"filepath": dl_dir["dev"], "img_dir": os.path.join(dl_dir["img"], _IMG_DIR)},
 
 
 
 
82
  ),
83
  ]
84
 
 
37
 
38
  _URLS = {
39
  "train": "https://nlp.cs.unc.edu/data/lxmert_data/gqa/train.json",
40
+ "valid": "https://nlp.cs.unc.edu/data/lxmert_data/gqa/valid.json",
41
+ "testdev": "https://nlp.cs.unc.edu/data/lxmert_data/gqa/testdev.json",
42
  "img": "https://downloads.cs.stanford.edu/nlp/data/gqa/images.zip",
43
  }
44
 
 
79
  ),
80
  datasets.SplitGenerator(
81
  name=datasets.Split.VALIDATION,
82
+ gen_kwargs={"filepath": dl_dir["valid"], "img_dir": os.path.join(dl_dir["img"], _IMG_DIR)},
83
+ ),
84
+ datasets.SplitGenerator(
85
+ name=datasets.Split.TEST,
86
+ gen_kwargs={"filepath": dl_dir["testdev"], "img_dir": os.path.join(dl_dir["img"], _IMG_DIR)},
87
  ),
88
  ]
89