|
|
@@ -42,7 +42,7 @@ class Conv(nn.Module):
|
|
|
def __init__(self, c1, c2, k=1, s=1, p=None, g=1, d=1, act=True):
|
|
|
"""Initialize Conv layer with given arguments including activation."""
|
|
|
super().__init__()
|
|
|
- self.conv = nn.Conv2d(c1, c2, k, s, autopad(k, p, d), groups=g, dilation=d, bias=bias)
|
|
|
+ self.conv = nn.Conv2d(c1, c2, k, s, autopad(k, p, d), groups=g, dilation=d, bias=False)
|
|
|
self.bn = nn.BatchNorm2d(c2)
|
|
|
self.act = self.default_act if act is True else act if isinstance(act, nn.Module) else nn.Identity()
|
|
|
|