You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for creating the Resnet in pytorch.
The network could be made more flexible towards different inputsizes when the avgpool2d layer is replaced by the AdaptiveAvgPool layer.
self.avgpool = nn.AvgPool2d(7, stride=1)
could be replaced by
self.avgpool = nn.AdaptiveAvgPool2d(1)
The text was updated successfully, but these errors were encountered:
Hello,
Thanks for creating the Resnet in pytorch.
The network could be made more flexible towards different inputsizes when the avgpool2d layer is replaced by the AdaptiveAvgPool layer.
self.avgpool = nn.AvgPool2d(7, stride=1)
could be replaced by
self.avgpool = nn.AdaptiveAvgPool2d(1)
The text was updated successfully, but these errors were encountered: