koshian2/swd-pytorch

resize problem in odd-sized images in the Laplace pyramid

EldanChodorov opened this issue · 0 comments

Hi, I noticed that when working with odd-sized images, an error occurs with the resizing of the images in the Laplace pyramid. 125X125 downsized to 62X62 and in the upsample resized to 124X124.
I put in a little fix of doing another resizing in that situation to the size of the original image with bilinear interpolation.
It's working for now.
Dos someone has a better idea or how to fix this?