Datasets:
Tasks:
Image Classification
Sub-tasks:
multi-class-image-classification
Languages:
English
Size:
100K<n<1M
ArXiv:
License:
Pass a list instead of an iterator (#1)
Browse files- Pass a list instead of an iterator (a0d0ecafd36dbd94a849e11aedb70ecbd9473d00)
Co-authored-by: Quentin Lhoest <lhoestq@users.noreply.huggingface.co>
NIH-Chest-X-ray-dataset.py
CHANGED
@@ -195,14 +195,14 @@ class ChestXray14(datasets.GeneratorBasedBuilder):
|
|
195 |
datasets.SplitGenerator(
|
196 |
name=datasets.Split.TRAIN,
|
197 |
gen_kwargs={
|
198 |
-
"files":
|
199 |
}
|
200 |
|
201 |
),
|
202 |
datasets.SplitGenerator(
|
203 |
name=datasets.Split.TEST,
|
204 |
gen_kwargs={
|
205 |
-
"files":
|
206 |
}
|
207 |
)
|
208 |
]
|
|
|
195 |
datasets.SplitGenerator(
|
196 |
name=datasets.Split.TRAIN,
|
197 |
gen_kwargs={
|
198 |
+
"files": train_files
|
199 |
}
|
200 |
|
201 |
),
|
202 |
datasets.SplitGenerator(
|
203 |
name=datasets.Split.TEST,
|
204 |
gen_kwargs={
|
205 |
+
"files": test_files
|
206 |
}
|
207 |
)
|
208 |
]
|