updates
This commit is contained in:
parent
204594f299
commit
207cf14df4
|
@ -41,6 +41,9 @@ def create_modules(module_defs, img_size, arc):
|
||||||
elif mdef['activation'] == 'swish':
|
elif mdef['activation'] == 'swish':
|
||||||
modules.add_module('activation', Swish())
|
modules.add_module('activation', Swish())
|
||||||
|
|
||||||
|
if not bn: # detection output layer
|
||||||
|
routs.append(i)
|
||||||
|
|
||||||
elif mdef['type'] == 'maxpool':
|
elif mdef['type'] == 'maxpool':
|
||||||
size = mdef['size']
|
size = mdef['size']
|
||||||
stride = mdef['stride']
|
stride = mdef['stride']
|
||||||
|
|
Loading…
Reference in New Issue