pierreguillou commited on
Commit
a971717
1 Parent(s): 1aa892b

Update DocLayNet-small.py

Browse files
Files changed (1) hide show
  1. DocLayNet-small.py +3 -3
DocLayNet-small.py CHANGED
@@ -162,7 +162,7 @@ class DocLayNet(datasets.GeneratorBasedBuilder):
162
  name=datasets.Split.TRAIN,
163
  # These kwargs will be passed to _generate_examples
164
  gen_kwargs={
165
- "filepath": f"{downloaded_file}/dataset_small/train/",
166
  "split": "train",
167
  },
168
  ),
@@ -170,7 +170,7 @@ class DocLayNet(datasets.GeneratorBasedBuilder):
170
  name=datasets.Split.VALIDATION,
171
  # These kwargs will be passed to _generate_examples
172
  gen_kwargs={
173
- "filepath": f"{downloaded_file}/dataset_small/val/",
174
  "split": "dev",
175
  },
176
  ),
@@ -178,7 +178,7 @@ class DocLayNet(datasets.GeneratorBasedBuilder):
178
  name=datasets.Split.TEST,
179
  # These kwargs will be passed to _generate_examples
180
  gen_kwargs={
181
- "filepath": f"{downloaded_file}/dataset_small/test/",
182
  "split": "test"
183
  },
184
  ),
 
162
  name=datasets.Split.TRAIN,
163
  # These kwargs will be passed to _generate_examples
164
  gen_kwargs={
165
+ "filepath": f"{downloaded_file}/small_dataset/train/",
166
  "split": "train",
167
  },
168
  ),
 
170
  name=datasets.Split.VALIDATION,
171
  # These kwargs will be passed to _generate_examples
172
  gen_kwargs={
173
+ "filepath": f"{downloaded_file}/small_dataset/val/",
174
  "split": "dev",
175
  },
176
  ),
 
178
  name=datasets.Split.TEST,
179
  # These kwargs will be passed to _generate_examples
180
  gen_kwargs={
181
+ "filepath": f"{downloaded_file}/small_dataset/test/",
182
  "split": "test"
183
  },
184
  ),