XintongHe commited on
Commit
e7ff388
1 Parent(s): a592cec

Update Stomatal_Images_Datasets.py

Browse files
Files changed (1) hide show
  1. Stomatal_Images_Datasets.py +2 -0
Stomatal_Images_Datasets.py CHANGED
@@ -39,6 +39,7 @@ class NewDataset(datasets.GeneratorBasedBuilder):
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"),
@@ -177,6 +178,7 @@ class NewDataset(datasets.GeneratorBasedBuilder):
177
  "scientific_name": scientific_name,
178
  "image": img,
179
  "image_path": image_path,
 
180
  "magnification": magnification,
181
  "width": width,
182
  "height": height,
 
39
  "scientific_name": datasets.Value("string"),
40
  "image": datasets.Image(),
41
  "image_path": datasets.Value("string"),
42
+ "label_path": datasets.Value("string"),
43
  "magnification": datasets.Value("int32"),
44
  "width": datasets.Value("int32"),
45
  "height": datasets.Value("int32"),
 
178
  "scientific_name": scientific_name,
179
  "image": img,
180
  "image_path": image_path,
181
+ "label_path" label_path
182
  "magnification": magnification,
183
  "width": width,
184
  "height": height,