Update PlotQA_dataset.py
Browse files- PlotQA_dataset.py +1 -1
PlotQA_dataset.py
CHANGED
|
@@ -131,7 +131,7 @@ class PlotQA(datasets.GeneratorBasedBuilder):
|
|
| 131 |
),
|
| 132 |
]
|
| 133 |
|
| 134 |
-
def _generate_examples(self,
|
| 135 |
#Load image folder
|
| 136 |
# open file
|
| 137 |
file = tarfile.open(images_path)
|
|
|
|
| 131 |
),
|
| 132 |
]
|
| 133 |
|
| 134 |
+
def _generate_examples(self, annotation_v1_path:str, annotation_v2_path:str, img_anno_path:str ,images_path: str):
|
| 135 |
#Load image folder
|
| 136 |
# open file
|
| 137 |
file = tarfile.open(images_path)
|