diff --git a/models.py b/models.py index 04224ac0..1d9dae0e 100755 --- a/models.py +++ b/models.py @@ -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)