mmpose icon indicating copy to clipboard operation
mmpose copied to clipboard

[Docs] 为什么Focus这个地方打印的时候,会有bn和norm两个?

Open fsfing opened this issue 1 year ago • 2 comments
trafficstars

📚 The doc issue

image

Suggest a potential alternative/fix

No response

fsfing avatar Aug 14 '24 09:08 fsfing

hello,can you explain this? @tongda @jitrc @piercus @cpunion 为什么在mmcv==2.1.0版本中的ConvModule中会同时有bn和norm??

ConvModule( (conv): Conv2d(512, 128, kernel_size=(1, 1), stride=(1, 1), bias=False) (bn): BatchNorm2d(128, eps=1e-05, momentum=0.1, affine=True, track_running_stats=True) (norm): BatchNorm2d(128, eps=1e-05, momentum=0.1, affine=True, track_running_stats=True) (activate): SiLU(inplace=True)

fsfing avatar Aug 28 '24 09:08 fsfing

当我加载源码的权重文件,打印结构时,几乎所有用到这个模块的地方都是这样子

fsfing avatar Aug 28 '24 09:08 fsfing