DiscoGAN-pytorch icon indicating copy to clipboard operation
DiscoGAN-pytorch copied to clipboard

Width and Height of images needs to be identical

Open dakami opened this issue 7 years ago • 1 comments

Looks like you crash if width and height isn't equal on custom datasets. I worked around by forcing my 640x360 images to 640x640.

dakami avatar Jun 26 '17 06:06 dakami

Once I set '-- input_scale_size' not to 64, an error will be reported. It seems that the discriminator cannot adapt to the size of the input image. How did you solve the problem? "ValueError: Target and input must have the same number of elements. target nelement (2) != input nelement (338)"

SwordHolderSH avatar Nov 09 '19 19:11 SwordHolderSH