mirror of
https://github.com/xiph/opus.git
synced 2025-05-21 02:48:29 +00:00
Dump embedding
This commit is contained in:
parent
d93239e955
commit
477d08734d
2 changed files with 13 additions and 4 deletions
|
@ -102,7 +102,7 @@ def new_lpcnet_model(rnn_units1=384, rnn_units2=16, nb_used_features = 38, use_g
|
|||
embed2 = Embedding(256, embed_size, embeddings_initializer=PCMInit(), name='embed_exc')
|
||||
cexc = Reshape((-1, embed_size))(embed2(exc))
|
||||
|
||||
pembed = Embedding(256, 64)
|
||||
pembed = Embedding(256, 64, name='embed_pitch')
|
||||
cat_feat = Concatenate()([feat, Reshape((-1, 64))(pembed(pitch))])
|
||||
|
||||
cfeat = fconv2(fconv1(cat_feat))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue