Datasets:
Tasks:
Image Classification
Sub-tasks:
multi-class-image-classification
Languages:
English
Size:
100K<n<1M
ArXiv:
License:
Fix typo: sef -> self
Browse files
NIH-Chest-X-ray-dataset.py
CHANGED
@@ -200,7 +200,7 @@ class ChestXray14(datasets.GeneratorBasedBuilder):
|
|
200 |
|
201 |
def _generate_examples(self, files):
|
202 |
|
203 |
-
if
|
204 |
# Read csv with image labels
|
205 |
label_csv = read_csv(_URLS["labels"])
|
206 |
for i, path in enumerate(files):
|
|
|
200 |
|
201 |
def _generate_examples(self, files):
|
202 |
|
203 |
+
if self.config.name == "image-classification":
|
204 |
# Read csv with image labels
|
205 |
label_csv = read_csv(_URLS["labels"])
|
206 |
for i, path in enumerate(files):
|