Datasets:
Tasks:
Image Classification
Sub-tasks:
multi-class-image-classification
Languages:
English
Size:
100K<n<1M
ArXiv:
License:
Fix missing { on dataset.features
Browse files
NIH-Chest-X-ray-dataset.py
CHANGED
@@ -115,6 +115,7 @@ class ChestXray14(datasets.GeneratorBasedBuilder):
|
|
115 |
def _info(self):
|
116 |
if self.config.name == "image-cllassification":
|
117 |
features = datasets.Features(
|
|
|
118 |
"image": datasets.Image(),
|
119 |
"labels": datasets.features.Sequence(
|
120 |
datasets.features.ClassLabel(
|
@@ -122,6 +123,7 @@ class ChestXray14(datasets.GeneratorBasedBuilder):
|
|
122 |
names=_NAMES
|
123 |
)
|
124 |
)
|
|
|
125 |
)
|
126 |
keys = ("image", "labels")
|
127 |
|
|
|
115 |
def _info(self):
|
116 |
if self.config.name == "image-cllassification":
|
117 |
features = datasets.Features(
|
118 |
+
{
|
119 |
"image": datasets.Image(),
|
120 |
"labels": datasets.features.Sequence(
|
121 |
datasets.features.ClassLabel(
|
|
|
123 |
names=_NAMES
|
124 |
)
|
125 |
)
|
126 |
+
}
|
127 |
)
|
128 |
keys = ("image", "labels")
|
129 |
|