Update Populus_Stomatal_Images_Datasets.py
Browse files
Populus_Stomatal_Images_Datasets.py
CHANGED
@@ -181,7 +181,7 @@ class NewDataset(datasets.GeneratorBasedBuilder):
|
|
181 |
pics_array = None
|
182 |
with Image.open(image_path) as img:
|
183 |
pics_array = np.array(img)# Convert the PIL image to a numpy array and then to a list
|
184 |
-
print(pics_array.shape)
|
185 |
|
186 |
annotations = self._parse_yolo_labels(label_path, width, height)
|
187 |
|
|
|
181 |
pics_array = None
|
182 |
with Image.open(image_path) as img:
|
183 |
pics_array = np.array(img)# Convert the PIL image to a numpy array and then to a list
|
184 |
+
# print(pics_array.shape)
|
185 |
|
186 |
annotations = self._parse_yolo_labels(label_path, width, height)
|
187 |
|