Fahimeh Orvati Nia commited on
Commit
8a6669e
·
1 Parent(s): 31ddfa7
Files changed (1) hide show
  1. sorghum_pipeline/pipeline.py +2 -0
sorghum_pipeline/pipeline.py CHANGED
@@ -54,6 +54,8 @@ class SorghumPipeline:
54
 
55
  # Load image
56
  img = Image.open(single_image_path)
 
 
57
  plants = {
58
  "demo": {
59
  "raw_image": (img, Path(single_image_path).name),
 
54
 
55
  # Load image
56
  img = Image.open(single_image_path)
57
+ arr = np.array(img)
58
+ print("Debug: Uploaded image shape: ", arr.shape)
59
  plants = {
60
  "demo": {
61
  "raw_image": (img, Path(single_image_path).name),