Eric-mingjie / network-slimming

Network Slimming (Pytorch) (ICCV 2017)
MIT License
907 stars 214 forks source link

Resnet中bn和conv的位置关系问题? #48

Open Curry-Christopher opened 4 years ago

Curry-Christopher commented 4 years ago

您好,非常感谢您的开源代码! 想请教您一个问题,您在设计resnet的bottleneck的时候,将bn放在conv之前是基于什么考虑呢? 因为我将您的resnet剪枝思路应用到检测模型时,我使用的是bn放在conv之后的bottleneck,不知道这样和前者剪枝的差别大不大?

Eric-mingjie commented 4 years ago

We use the resnet architecture proposed in https://arxiv.org/abs/1603.05027, which puts bn before conv in residual layers (see figure 4e).