Remove useless (and possibly hurtful) residual connection

I guess it's a bad idea to forward inputs directly
This commit is contained in:
Jean-Marc Valin 2019-01-17 23:17:42 -05:00
parent 4698b28345
commit 38cd5cf08f
4 changed files with 3 additions and 5 deletions

View file

@ -97,7 +97,7 @@ del sig
del pred
# dump models to disk as we go
checkpoint = ModelCheckpoint('lpcnet20_384_10_G16_{epoch:02d}.h5')
checkpoint = ModelCheckpoint('lpcnet20c_384_10_G16_{epoch:02d}.h5')
#model.load_weights('lpcnet9b_384_10_G16_01.h5')
model.compile(optimizer=Adam(0.001, amsgrad=True, decay=5e-5), loss='sparse_categorical_crossentropy')