SPADE-Tensorflow icon indicating copy to clipboard operation
SPADE-Tensorflow copied to clipboard

Type error occurs when image size is not a power of two

Open necococo opened this issue 4 years ago • 0 comments

For example, if the image size is 632, the following error will occur.

ValueError: Dimensions must be equal, but are 38 and 39 for 'generator/spade_resblock_0/spade_1/mul' (op: 'Mul') with input shapes: [1,38,38,1024], [1,39,39,1024].

tried to set resize_256 to 312 and so on.

With 512, these codes worked fine.

What do you think I should do?

necococo avatar Apr 27 '21 02:04 necococo