Datasets:
Tasks:
Image Classification
Sub-tasks:
multi-class-image-classification
Languages:
English
Size:
1K<n<10K
License:
fix split in image-segmentation config
Browse files- rock-glacier-dataset.py +1 -9
rock-glacier-dataset.py
CHANGED
@@ -135,15 +135,7 @@ class RockGlacierDataset(datasets.GeneratorBasedBuilder):
|
|
135 |
return splits
|
136 |
|
137 |
if self.config.name == "image-segmentation":
|
138 |
-
|
139 |
-
return [
|
140 |
-
datasets.SplitGenerator(
|
141 |
-
name=datasets.Split.TRAIN,
|
142 |
-
gen_kwargs={
|
143 |
-
"files": train_data,
|
144 |
-
"split": "training",
|
145 |
-
},
|
146 |
-
)]
|
147 |
|
148 |
|
149 |
def _generate_examples(self, files, split):
|
|
|
135 |
return splits
|
136 |
|
137 |
if self.config.name == "image-segmentation":
|
138 |
+
return splits
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
139 |
|
140 |
|
141 |
def _generate_examples(self, files, split):
|