Update Populus_Stomatal_Images_Datasets.py
Browse files
Populus_Stomatal_Images_Datasets.py
CHANGED
|
@@ -85,7 +85,7 @@ class NewDataset(datasets.GeneratorBasedBuilder):
|
|
| 85 |
"image_id": datasets.Value("string"),
|
| 86 |
"species": datasets.Value("string"),
|
| 87 |
"scientific_name": datasets.Value("string"),
|
| 88 |
-
"pics_array": datasets.Image()
|
| 89 |
# datasets.Array3D(dtype="uint8", shape=(3,768, 1024)), # Assuming images are RGB with shape 768x1024
|
| 90 |
"image_resolution": {
|
| 91 |
"width": datasets.Value("int32"),
|
|
|
|
| 85 |
"image_id": datasets.Value("string"),
|
| 86 |
"species": datasets.Value("string"),
|
| 87 |
"scientific_name": datasets.Value("string"),
|
| 88 |
+
"pics_array": datasets.Image(),
|
| 89 |
# datasets.Array3D(dtype="uint8", shape=(3,768, 1024)), # Assuming images are RGB with shape 768x1024
|
| 90 |
"image_resolution": {
|
| 91 |
"width": datasets.Value("int32"),
|