Datasets:
Tasks:
Image Classification
Sub-tasks:
multi-class-image-classification
Languages:
English
Size:
1K<n<10K
License:
Fix typo dataset -> datasets
Browse files- rock-glacier-dataset.py +1 -1
rock-glacier-dataset.py
CHANGED
@@ -65,7 +65,7 @@ class RockGlacierDataset(datasets.GeneratorBasedBuilder):
|
|
65 |
|
66 |
def _info(self):
|
67 |
if self.config.name == "image-classification":
|
68 |
-
features =
|
69 |
"image": datasets.Image(),
|
70 |
"labels": datasets.features.ClassLabel(names=_NAMES),
|
71 |
})
|
|
|
65 |
|
66 |
def _info(self):
|
67 |
if self.config.name == "image-classification":
|
68 |
+
features = datasets.Features({
|
69 |
"image": datasets.Image(),
|
70 |
"labels": datasets.features.ClassLabel(names=_NAMES),
|
71 |
})
|