If i have not understood Involution, it always keep the same size of the input. That is :
Input shape: (B, C, W, H)
Output shape: (B, C, W, H)
I also confirm this by Involution2d in your Involution.py.
if I use dilation=k >1 , kernel size =(1,1), that means I have to use padding=1 to keep the image (or feature map) the same size?
In fact, in your code, that means there are H*W patches (kernels):
However, I think it does not make sense, I think it should keep the features of convolution that feature maps can shrink by Involution kernels. For example:
Sorry for my poor draft, thanks a lot if you can reply me!
If i have not understood Involution, it always keep the same size of the input. That is : Input shape: (B, C, W, H) Output shape: (B, C, W, H) I also confirm this by
Involution2d
in your Involution.py. if I use dilation=k >1 , kernel size =(1,1), that means I have to use padding=1 to keep the image (or feature map) the same size? In fact, in your code, that means there are H*W patches (kernels):However, I think it does not make sense, I think it should keep the features of convolution that feature maps can shrink by Involution kernels. For example:
Sorry for my poor draft, thanks a lot if you can reply me!