Update Stomatal_Images_Datasets.py
Browse files
Stomatal_Images_Datasets.py
CHANGED
@@ -38,6 +38,7 @@ class NewDataset(datasets.GeneratorBasedBuilder):
|
|
38 |
"species": datasets.Value("string"),
|
39 |
"scientific_name": datasets.Value("string"),
|
40 |
"image": datasets.Image(),
|
|
|
41 |
"magnification": datasets.Value("int32"),
|
42 |
"width": datasets.Value("int32"),
|
43 |
"height": datasets.Value("int32"),
|
@@ -175,6 +176,7 @@ class NewDataset(datasets.GeneratorBasedBuilder):
|
|
175 |
"species": species,
|
176 |
"scientific_name": scientific_name,
|
177 |
"image": img,
|
|
|
178 |
"magnification": magnification,
|
179 |
"width": width,
|
180 |
"height": height,
|
|
|
38 |
"species": datasets.Value("string"),
|
39 |
"scientific_name": datasets.Value("string"),
|
40 |
"image": datasets.Image(),
|
41 |
+
"image_path": datasets.Value("string"),
|
42 |
"magnification": datasets.Value("int32"),
|
43 |
"width": datasets.Value("int32"),
|
44 |
"height": datasets.Value("int32"),
|
|
|
176 |
"species": species,
|
177 |
"scientific_name": scientific_name,
|
178 |
"image": img,
|
179 |
+
"image_path": image_path,
|
180 |
"magnification": magnification,
|
181 |
"width": width,
|
182 |
"height": height,
|