Set upscale algorithm to bilinear for stable cascade controlnet.

This commit is contained in:
comfyanonymous
2024-03-06 02:56:13 -05:00
parent 03e83bb5d0
commit 03e6e81629
2 changed files with 10 additions and 6 deletions

View File

@@ -86,7 +86,6 @@ class ControlNet(nn.Module):
self.unshuffle_amount = 8
def forward(self, x):
print(x)
x = self.backbone(x)
proj_outputs = [None for _ in range(max(self.proj_blocks) + 1)]
for i, idx in enumerate(self.proj_blocks):