lmbxmu / HRankPlus

An extension version of our paper accepted by CVPR 2020, Oral -- HRank: Filter Pruning using High-Rank Feature Map
https://128.84.21.199/abs/2002.10179
146 stars 21 forks source link

Implementation of downsample layers of resnet #7

Closed yihan0512 closed 3 years ago

yihan0512 commented 3 years ago

Hi, I'm wondering why you replaced the original conv1x1 with F.pad for downsampling, please see below: https://github.com/lmbxmu/HRankPlus/blob/bcdb51dd7f039d8fa295eeafa7bc78bc7dab3d75/models/cifar10/resnet.py#L68-L84

yihan0512 commented 3 years ago

nvm, I found in the original resnet paper it's option A for the shortcut....