Pytorch-UNet icon indicating copy to clipboard operation
Pytorch-UNet copied to clipboard

Why do you need to fill 0 when convolution operation?

Open Jichao96 opened this issue 3 years ago • 1 comments

According to the U_net model, the image H,W should be decremented by 2 when convolving horizontally

Jichao96 avatar Mar 10 '22 13:03 Jichao96

The image size decreases when there is no padding. Adding padding makes it so that the image size stays the same across all layers that are on the same level. Standard practice that makes things easier.

milesial avatar Mar 10 '22 20:03 milesial