1
mirror of https://github.com/comfyanonymous/ComfyUI.git synced 2025-08-02 23:14:49 +08:00

Change latent resolution step to 8.

This commit is contained in:
comfyanonymous
2023-05-02 14:16:27 -04:00
parent 66c8aa5c3e
commit ba8a4c3667
2 changed files with 33 additions and 40 deletions

View File

@@ -108,7 +108,6 @@ class Upsample(nn.Module):
self.conv = conv_nd(dims, self.channels, self.out_channels, 3, padding=padding)
def forward(self, x, output_shape=None):
print("upsample", output_shape)
assert x.shape[1] == self.channels
if self.dims == 3:
shape = [x.shape[2], x.shape[3] * 2, x.shape[4] * 2]