You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I input a image (1646,1646) into the unet, and assigned padding=True, but the output is (1632,1632), may I ask why and how to make the size unified?
The text was updated successfully, but these errors were encountered:
It is because the input sizes are divided by 2 (and floored) in each pooling layer. 1646 is divisible by 2 only once. You should either crop or pad your input images such that they are a multiple of 2^(depth-1). By the way 1646 is already ridiculously large. It might be a good idea to downsample or train on crops of the original image.
Hi, I input a image (1646,1646) into the unet, and assigned padding=True, but the output is (1632,1632), may I ask why and how to make the size unified?
The text was updated successfully, but these errors were encountered: