Datasets:
Update docci.py
Browse files
docci.py
CHANGED
@@ -141,6 +141,10 @@ class DOCCI(datasets.GeneratorBasedBuilder):
|
|
141 |
for image_path in image_files:
|
142 |
|
143 |
example_id = os.path.splitext(os.path.basename(image_path))[0]
|
|
|
|
|
|
|
|
|
144 |
|
145 |
if split == "train":
|
146 |
if not example_id.startswith("train"):
|
|
|
141 |
for image_path in image_files:
|
142 |
|
143 |
example_id = os.path.splitext(os.path.basename(image_path))[0]
|
144 |
+
|
145 |
+
print(image_path)
|
146 |
+
print(example_id)
|
147 |
+
print()
|
148 |
|
149 |
if split == "train":
|
150 |
if not example_id.startswith("train"):
|