Datasets:
iterator adjustments
Browse files- ark_example.py +1 -1
ark_example.py
CHANGED
@@ -155,7 +155,7 @@ class ArkExample(datasets.GeneratorBasedBuilder):
|
|
155 |
|
156 |
image_data = tifffile.imread(fp, key=0)
|
157 |
if self.config.name == "base_dataset":
|
158 |
-
yield fp
|
159 |
"chan": image_data,
|
160 |
"path": fp
|
161 |
}
|
|
|
155 |
|
156 |
image_data = tifffile.imread(fp, key=0)
|
157 |
if self.config.name == "base_dataset":
|
158 |
+
yield fp, {
|
159 |
"chan": image_data,
|
160 |
"path": fp
|
161 |
}
|