Datasets:
Tasks:
Image Classification
Sub-tasks:
multi-class-image-classification
Languages:
English
Size:
100K<n<1M
ArXiv:
License:
Check tabs errors
Browse files
NIH-Chest-X-ray-dataset.py
CHANGED
@@ -128,13 +128,13 @@ class ChestXray14(datasets.GeneratorBasedBuilder):
|
|
128 |
|
129 |
if self.config.name == "object-detection":
|
130 |
features = datasets.Features(
|
131 |
-
|
132 |
"image_id": datasets.Value("string"),
|
133 |
"patient_id": datasets.Value("int32"),
|
134 |
"image": datasets.Image(),
|
135 |
"width": datasets.Value("int32"),
|
136 |
"height": datasets.Value("int32"),
|
137 |
-
|
138 |
)
|
139 |
object_dict = {
|
140 |
"image_id": datasets.Value("string"),
|
|
|
128 |
|
129 |
if self.config.name == "object-detection":
|
130 |
features = datasets.Features(
|
131 |
+
{
|
132 |
"image_id": datasets.Value("string"),
|
133 |
"patient_id": datasets.Value("int32"),
|
134 |
"image": datasets.Image(),
|
135 |
"width": datasets.Value("int32"),
|
136 |
"height": datasets.Value("int32"),
|
137 |
+
}
|
138 |
)
|
139 |
object_dict = {
|
140 |
"image_id": datasets.Value("string"),
|