updates
This commit is contained in:
parent
d23f721dcf
commit
8b18beb3db
|
@ -18,6 +18,8 @@ def create_modules(module_defs, img_size, arc):
|
||||||
|
|
||||||
for i, mdef in enumerate(module_defs):
|
for i, mdef in enumerate(module_defs):
|
||||||
modules = nn.Sequential()
|
modules = nn.Sequential()
|
||||||
|
# if i == 0:
|
||||||
|
# modules.add_module('BatchNorm2d_0', nn.BatchNorm2d(output_filters[-1], momentum=0.1))
|
||||||
|
|
||||||
if mdef['type'] == 'convolutional':
|
if mdef['type'] == 'convolutional':
|
||||||
bn = int(mdef['batch_normalize'])
|
bn = int(mdef['batch_normalize'])
|
||||||
|
|
Loading…
Reference in New Issue