SlimConv icon indicating copy to clipboard operation
SlimConv copied to clipboard

How to replace DepthConv3*3 ?

Open fushh opened this issue 3 years ago • 3 comments

I notice that you have used SlimConv in MobileNet V2. But I confuse that how to replace DepthConv3*3 with SlimConv. Looking forward to your reply.

fushh avatar Sep 29 '21 03:09 fushh

I don't know how to let k=8/3

fushh avatar Sep 29 '21 08:09 fushh

  1. Modify line29-30: reduce_1 = 4 reduce_2 = 8;
  2. Modify line58-62: fs1 = torch.split(out1, c // 4, 1) fs2 = torch.split(out2, c // 4, 1) fs1 = fs1[0] + fs1[1] + fs1[2] + fs1[3] fs2 = fs2[0] + fs2[1] + fs2[2] + fs2[3].

JiaxiongQ avatar Sep 29 '21 10:09 JiaxiongQ

Thanks for your help!

fushh avatar Sep 29 '21 10:09 fushh