From f85a6754a53e32e06fec1792df522fb3549e2bf8 Mon Sep 17 00:00:00 2001 From: sn0w12 Date: Wed, 15 May 2024 21:30:39 +0200 Subject: [PATCH] Removed prints --- src/show_sigmas.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/show_sigmas.py b/src/show_sigmas.py index df52b57..d1861e0 100644 --- a/src/show_sigmas.py +++ b/src/show_sigmas.py @@ -56,11 +56,8 @@ class ShowSigmasNode: image = Image.open(BytesIO(image_bytes)) image_np = np.array(image) - print("Initial image array values (sample):", image_np[0, 0, :]) - # Normalize the image values to [0, 1] image_np = image_np / 255.0 - print("Normalized image values (sample):", image_np[0, 0, :]) # Ensure the image is in RGB format if it's RGBA if image_np.ndim == 3 and image_np.shape[2] == 4: @@ -72,8 +69,6 @@ class ShowSigmasNode: # Ensure the tensor is in the shape (1, H, W, C) if image_tensor.ndim == 3: image_tensor = image_tensor.unsqueeze(0) - - print("Tensor shape for SaveImage node:", image_tensor.shape) return image_tensor