WideResNet-pytorch icon indicating copy to clipboard operation
WideResNet-pytorch copied to clipboard

AvgPool2d different from the original

Open sungyoon-lee opened this issue 5 years ago • 3 comments

@xternalz I think your avgpool https://github.com/xternalz/WideResNet-pytorch/blob/master/wideresnet.py#L81 and the original avgpool https://github.com/szagoruyko/wide-residual-networks/blob/master/pytorch/resnet.py#L56 use different strides (yours=kernelsize=8, original=1).

sungyoon-lee avatar Dec 07 '19 12:12 sungyoon-lee

This should be closed as both pooling are the same now.

roomo7time avatar Jul 05 '21 07:07 roomo7time

@xternalz this issue should be closed now, right ?

SauravMaheshkar avatar Feb 06 '22 05:02 SauravMaheshkar

This is not an issue. Both implementations have block_width=8, stride=1, padding=0. This is because the defaults for stride and padding are respectively 1 and 0.

henrypickler avatar Apr 11 '23 20:04 henrypickler