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
@@ -105,7 +105,6 @@ class ChestXray14Config(datasets.BuilderConfig):
|
|
105 |
class ChestXray14(datasets.GeneratorBasedBuilder):
|
106 |
"""NIH Image Chest X-ray dataset."""
|
107 |
|
108 |
-
#VERSION = datasets.Version("1.0.0")
|
109 |
|
110 |
BUILDER_CONFIGS = [
|
111 |
ChestXray14Config("image-classification"),
|
@@ -113,7 +112,7 @@ class ChestXray14(datasets.GeneratorBasedBuilder):
|
|
113 |
]
|
114 |
|
115 |
def _info(self):
|
116 |
-
if self.config.name == "image-
|
117 |
features = datasets.Features(
|
118 |
{
|
119 |
"image": datasets.Image(),
|
|
|
105 |
class ChestXray14(datasets.GeneratorBasedBuilder):
|
106 |
"""NIH Image Chest X-ray dataset."""
|
107 |
|
|
|
108 |
|
109 |
BUILDER_CONFIGS = [
|
110 |
ChestXray14Config("image-classification"),
|
|
|
112 |
]
|
113 |
|
114 |
def _info(self):
|
115 |
+
if self.config.name == "image-classification":
|
116 |
features = datasets.Features(
|
117 |
{
|
118 |
"image": datasets.Image(),
|