Update PlotQA_dataset.py
Browse files- 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
|