Dodon commited on
Commit
0d448b3
·
1 Parent(s): a0c7aa6

Update PlotQA_dataset.py

Browse files
Files changed (1) hide show
  1. PlotQA_dataset.py +1 -1
PlotQA_dataset.py CHANGED
@@ -165,7 +165,7 @@ class PlotQA(datasets.GeneratorBasedBuilder):
165
  ## file.extractall('./imgs')
166
  ## file.close()
167
  _multi_anno = [annotation_v1_path, annotation_v2_path]
168
- with (_multi_anno, "r", encoding="utf-8") as v:
169
  data = json.load(v)
170
 
171
  idx = 0
 
165
  ## file.extractall('./imgs')
166
  ## file.close()
167
  _multi_anno = [annotation_v1_path, annotation_v2_path]
168
+ with open(_multi_anno, "r", encoding="utf-8") as v:
169
  data = json.load(v)
170
 
171
  idx = 0