From 5cbc2b3104799bd47ff689d56f23c21199f15c8d Mon Sep 17 00:00:00 2001 From: kijai <40791699+kijai@users.noreply.github.com> Date: Tue, 9 Jan 2024 22:21:51 +0200 Subject: [PATCH] Update nodes.py --- nodes.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/nodes.py b/nodes.py index 694ff7c..d0bfdd1 100644 --- a/nodes.py +++ b/nodes.py @@ -703,7 +703,7 @@ class GrowMaskWithBlur: # Convert back to tensor out[idx] = pil2tensor(pil_image) - blurred = torch.stack(out, dim=0) + blurred = torch.cat(out, dim=0) return (blurred, 1.0 - blurred) @@ -2366,7 +2366,6 @@ class CreateShapeMask: image = pil2tensor(image) mask = image[:, :, :, 0] out.append(mask) - return (torch.cat(out, dim=0), 1.0 - torch.cat(out, dim=0),) class CreateVoronoiMask: @@ -3004,7 +3003,6 @@ class StableZero123_BatchSchedule: interpolated_azimuth = interpolate_angle(azimuth_points[prev_point][1], azimuth_points[next_point][1], fraction) else: interpolated_azimuth = azimuth_points[prev_point][1] - print(interpolated_azimuth) # Interpolate the elevation next_elevation_point = 1 while next_elevation_point < len(elevation_points) and i >= elevation_points[next_elevation_point][0]: