initial commit
Browse files
VizWiz.py
CHANGED
@@ -98,11 +98,11 @@ class VizWiz(datasets.GeneratorBasedBuilder):
|
|
98 |
yield counter, {
|
99 |
"id" : counter,
|
100 |
"image": str(image_folders[split_key]/split_key/ann['image']),
|
101 |
-
"filename" :
|
102 |
"question" : ann["question"],
|
103 |
"answers" : answers,
|
104 |
"answers_original" : answers_original,
|
105 |
"answer_type" : answer_type,
|
106 |
"answerable" : answerable
|
107 |
}
|
108 |
-
counter += 1
|
|
|
98 |
yield counter, {
|
99 |
"id" : counter,
|
100 |
"image": str(image_folders[split_key]/split_key/ann['image']),
|
101 |
+
"filename" : ann['image'],
|
102 |
"question" : ann["question"],
|
103 |
"answers" : answers,
|
104 |
"answers_original" : answers_original,
|
105 |
"answer_type" : answer_type,
|
106 |
"answerable" : answerable
|
107 |
}
|
108 |
+
counter += 1
|