Hi all,
If input size is 14x14, then apply 2 times of maxpooling(kernel_size=2),
size will 14x14 -> 7x7 -> (7/2),(7/2)
Do I have to avoid (7/2) or Is it ok ?
(7/2) makes performance bad?
Hi all,
If input size is 14x14, then apply 2 times of maxpooling(kernel_size=2),
size will 14x14 -> 7x7 -> (7/2),(7/2)
Do I have to avoid (7/2) or Is it ok ?
(7/2) makes performance bad?
When you will call nn.Maxpool2d(kernel_size,stride)
twice on 14x14
input then it will automatically give you the output to be 3x3
as nn.Maxpool2d(kernel_size,stride)
uses a floor
function.
So you don’t have to avoid explicitly, it is done automatically.