BatchNorm2d() to EfficientDet defaults: decay=0.997 eps=1e-4
This commit is contained in:
parent
9ce4ec48a7
commit
ea4c26b32d
|
@ -34,7 +34,7 @@ def create_modules(module_defs, img_size, arc):
|
|||
groups=mdef['groups'] if 'groups' in mdef else 1,
|
||||
bias=not bn))
|
||||
if bn:
|
||||
modules.add_module('BatchNorm2d', nn.BatchNorm2d(filters, momentum=0.1))
|
||||
modules.add_module('BatchNorm2d', nn.BatchNorm2d(filters, momentum=0.003, eps=1E-4))
|
||||
else:
|
||||
routs.append(i) # detection output (goes into yolo layer)
|
||||
|
||||
|
|
Loading…
Reference in New Issue