Datasets:
Update docci.py
Browse files
docci.py
CHANGED
|
@@ -136,8 +136,7 @@ class DOCCI(datasets.GeneratorBasedBuilder):
|
|
| 136 |
yield _ex["example_id"], _ex
|
| 137 |
|
| 138 |
def _generate_examples_docci_aar(self, data, split):
|
| 139 |
-
|
| 140 |
-
image_files = glob.glob(os.path.join(data["images"], "images_aar", ".jpg"))
|
| 141 |
|
| 142 |
for image_path in image_files:
|
| 143 |
|
|
|
|
| 136 |
yield _ex["example_id"], _ex
|
| 137 |
|
| 138 |
def _generate_examples_docci_aar(self, data, split):
|
| 139 |
+
image_files = glob.glob(os.path.join(data["images"], "images_aar", "*.jpg"))
|
|
|
|
| 140 |
|
| 141 |
for image_path in image_files:
|
| 142 |
|