提交 95eb1dd6 编写于 作者: M michaelowenliu

remove padding from 1x1 conv

上级 140025b7
...@@ -95,7 +95,7 @@ class SeparableConvBNReLU(nn.Layer): ...@@ -95,7 +95,7 @@ class SeparableConvBNReLU(nn.Layer):
groups=in_channels, groups=in_channels,
**kwargs) **kwargs)
self.piontwise_conv = ConvBNReLU( self.piontwise_conv = ConvBNReLU(
in_channels, out_channels, kernel_size=1, padding=padding, groups=1) in_channels, out_channels, kernel_size=1, groups=1)
def forward(self, x): def forward(self, x):
x = self.depthwise_conv(x) x = self.depthwise_conv(x)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册