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