will33am commited on
Commit
78db6be
·
1 Parent(s): 331339f

initial commit

Browse files
Files changed (1) hide show
  1. VizWiz.py +2 -2
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" : 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