Fix MixConv2d() remove shortcut + apply depthwise (#5410)
This commit is contained in:
1 parent
7f9bbf0268
commit
5d4258fac5
3 files changed
+13
-12
No files matched your search
@@ -166,7 +166,7 @@ def initialize_weights(model):
|
||||
elif t is nn.BatchNorm2d:
|
||||
m.eps = 1e-3
|
||||
m.momentum = 0.03
|
||||
elif t in [nn.Hardswish, nn.LeakyReLU, nn.ReLU, nn.ReLU6]:
|
||||
elif t in [nn.Hardswish, nn.LeakyReLU, nn.ReLU, nn.ReLU6, nn.SiLU]:
|
||||
m.inplace = True
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user