ddfnet icon indicating copy to clipboard operation
ddfnet copied to clipboard

question

Open 1741607718 opened this issue 2 years ago • 3 comments

ddf能否支持组卷积,不同batch之间不共享权重?

1741607718 avatar Sep 22 '22 11:09 1741607718

1.支持组卷积;2.本来不同batch就不共享权重,不然为啥叫动态滤波器

theFoxofSky avatar Sep 22 '22 12:09 theFoxofSky

        g = self.head         k = self.kernel_size         s = self.stride         # (b,c,h,w)->(b,c,1,1)->(b,c//4,1,1)->(b,cKK,1,1)         channel_filter = self.channel_branch(x).reshape(bg, c//g, k, k)         #(b,c,h,w)->(b,kk,h//s,w//s)         spatial_filter = self.spatial_branch(x).reshape(b*g, -1, h//s, w//s)

这里的g是指的分组的组数吗?

------------------ 原始邮件 ------------------ 发件人: "theFoxofSky/ddfnet" @.>; 发送时间: 2022年9月22日(星期四) 晚上8:46 @.>; @.@.>; 主题: Re: [theFoxofSky/ddfnet] question (Issue #36)

1.支持组卷积;2.本来不同batch就不共享权重,不然为啥叫动态滤波器

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

1741607718 avatar Sep 22 '22 13:09 1741607718

是的

theFoxofSky avatar Sep 27 '22 06:09 theFoxofSky