scripts/img2img.py issues: Sizes of tensors must match except in dimension 1. Expected size 20 but got size 19 for tensor number 1 in the list

#13
by suhaild - opened

I am guessing the image has to be some multiple of 32?

file fb.png
fb.png: PNG image data, 489 x 610, 8-bit/color RGB, non-interlaced

img2img.py automatically resizes the input image to a multiple of 32, but it still gives some errors for some dimensions. Maybe we need a multiple of 64?

I think it needs to be a multiple of 8

Has been working for me if I stick to multiples of 64

Sign up or log in to comment