Datasets:
Tasks:
Image Classification
Sub-tasks:
multi-class-image-classification
Languages:
English
Size:
1K<n<10K
License:
Fix datasets.Value('string')
Browse files- rock-glacier-dataset.py +2 -2
rock-glacier-dataset.py
CHANGED
@@ -84,7 +84,7 @@ class RockGlacierDataset(datasets.GeneratorBasedBuilder):
|
|
84 |
features = datasets.Features({
|
85 |
"image": datasets.Image(),
|
86 |
"labels": datasets.features.ClassLabel(names=_NAMES),
|
87 |
-
"path": datasets.
|
88 |
})
|
89 |
keys = ("image", "labels")
|
90 |
|
@@ -92,7 +92,7 @@ class RockGlacierDataset(datasets.GeneratorBasedBuilder):
|
|
92 |
features = datasets.Features({
|
93 |
"image": datasets.Image(),
|
94 |
"masks": datasets.Image(),
|
95 |
-
"path": datasets.
|
96 |
})
|
97 |
keys = ("image", "masks")
|
98 |
|
|
|
84 |
features = datasets.Features({
|
85 |
"image": datasets.Image(),
|
86 |
"labels": datasets.features.ClassLabel(names=_NAMES),
|
87 |
+
"path": datasets.Value("string"),
|
88 |
})
|
89 |
keys = ("image", "labels")
|
90 |
|
|
|
92 |
features = datasets.Features({
|
93 |
"image": datasets.Image(),
|
94 |
"masks": datasets.Image(),
|
95 |
+
"path": datasets.Value("string"),
|
96 |
})
|
97 |
keys = ("image", "masks")
|
98 |
|