Datasets:
Tasks:
Image Classification
Sub-tasks:
multi-class-image-classification
Languages:
English
Size:
100K<n<1M
ArXiv:
License:
Fix labels names in dataset features
Browse files
NIH-Chest-X-ray-dataset.py
CHANGED
@@ -63,7 +63,7 @@ class XChest(datasets.GeneratorBasedBuilder):
|
|
63 |
{
|
64 |
"image_file_path": datasets.Value("string"),
|
65 |
"image": datasets.Image(),
|
66 |
-
"labels": datasets.features.ClassLabel(names=
|
67 |
}
|
68 |
),
|
69 |
supervised_keys=("image", "labels"),
|
|
|
63 |
{
|
64 |
"image_file_path": datasets.Value("string"),
|
65 |
"image": datasets.Image(),
|
66 |
+
"labels": datasets.features.ClassLabel(names=list(LABEL2IDX.keys())),
|
67 |
}
|
68 |
),
|
69 |
supervised_keys=("image", "labels"),
|