Datasets:
Tasks:
Image Classification
Sub-tasks:
multi-class-image-classification
Languages:
English
Size:
100K<n<1M
ArXiv:
License:
Fix typo
Browse files
NIH-Chest-X-ray-dataset.py
CHANGED
@@ -117,12 +117,9 @@ class XChest(datasets.GeneratorBasedBuilder):
|
|
117 |
train_files.append(img)
|
118 |
else:
|
119 |
test_files.append(img)
|
120 |
-
|
121 |
-
print(train_files)
|
122 |
-
print(test_files)
|
123 |
|
124 |
return [
|
125 |
-
|
126 |
name=datasets.Split.TRAIN,
|
127 |
gen_kwargs={
|
128 |
'files': iter(train_files)
|
|
|
117 |
train_files.append(img)
|
118 |
else:
|
119 |
test_files.append(img)
|
|
|
|
|
|
|
120 |
|
121 |
return [
|
122 |
+
datasets.SplitGenerator(
|
123 |
name=datasets.Split.TRAIN,
|
124 |
gen_kwargs={
|
125 |
'files': iter(train_files)
|