ParNet icon indicating copy to clipboard operation
ParNet copied to clipboard

AvgPool2d in Downsample

Open JJZHK opened this issue 3 years ago • 1 comments

In Downsample, I think it should be torch.nn.AvgPool2d(kernel_size=(3, 3), stride=(2, 2), padding=(1, 1)), not torch.nn.AvgPool2d(kernel_size=(2,2)). otherwise x & y have wrong size, and x + y will throw exception.

JJZHK avatar Nov 11 '21 12:11 JJZHK

@JJZHK Based on the architecture in the paper, it has avgpool (2,2) and the code is working.

Pritam-N avatar Nov 12 '21 05:11 Pritam-N