Datasets:
Commit
·
e815726
1
Parent(s):
a547a27
Update DocLayNet-small.py
Browse files- DocLayNet-small.py +1 -1
DocLayNet-small.py
CHANGED
|
@@ -189,7 +189,7 @@ class DocLayNet(datasets.GeneratorBasedBuilder):
|
|
| 189 |
]
|
| 190 |
|
| 191 |
|
| 192 |
-
def _generate_examples(self, filepath):
|
| 193 |
logger.info("⏳ Generating examples from = %s", filepath)
|
| 194 |
ann_dir = os.path.join(filepath, "annotations")
|
| 195 |
img_dir = os.path.join(filepath, "images")
|
|
|
|
| 189 |
]
|
| 190 |
|
| 191 |
|
| 192 |
+
def _generate_examples(self, filepath, split_key):
|
| 193 |
logger.info("⏳ Generating examples from = %s", filepath)
|
| 194 |
ann_dir = os.path.join(filepath, "annotations")
|
| 195 |
img_dir = os.path.join(filepath, "images")
|