PaddleDetection icon indicating copy to clipboard operation
PaddleDetection copied to clipboard

fix picoheat channel number bug

Open xuyouqian opened this issue 2 years ago • 4 comments

https://github.com/PaddlePaddle/PaddleDetection/blob/release/2.6/ppdet/modeling/heads/pico_head.py 第59行 PicoFeat 类中bug

在第112 行 创建 cls_conv_pw 变量的设置中:入通道为in_c, 但是 cls_conv_pw 接收 上面 cls_conv_dw 的输出作为输入,而cls_conv_dw输出的通道数是feat_out 。这样通道数不一致了。

这里把 115行的 ch_in=in_c 改为 ch_in=feat_out

xuyouqian avatar Jul 14 '23 08:07 xuyouqian

Thanks for your contribution!

paddle-bot[bot] avatar Jul 14 '23 08:07 paddle-bot[bot]

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Jul 14 '23 08:07 CLAassistant

也提一个到develop分支吧

lyuwenyu avatar Jul 14 '23 09:07 lyuwenyu

刚才这个没fork到dev 我有重新fork了一个提交了

xuyouqian avatar Jul 14 '23 12:07 xuyouqian