How does U-net model handle the case when the input dimensions are odd or dimensions of one of the layer during the downsampling are odd? In that case the concatenate step will have some troubles.
For example, given an input shape of (120, 120) (We ignore the 3rd dimension here), then after a certain number of MaxPooling layers to half the size of input , we will get an odd dimension. Then later on we will have troubles concatenating the skip connection to the upsampling block:
In this case, should we modify the U-net model (like padding) or resize our input?