mirror of
https://github.com/xiph/opus.git
synced 2025-05-28 06:09:15 +00:00
20-bit VQ
This commit is contained in:
parent
5be0e59ff0
commit
543ee94037
4 changed files with 469 additions and 4 deletions
|
@ -153,6 +153,11 @@ def new_lpcnet_model(rnn_units1=384, rnn_units2=16, nb_used_features = 38, train
|
|||
gru_out2, _ = rnn2(Concatenate()([gru_out1, rep(cfeat)]))
|
||||
ulaw_prob = md(gru_out2)
|
||||
|
||||
rnn.trainable=False
|
||||
rnn2.trainable=False
|
||||
md.trainable=False
|
||||
embed.Trainable=False
|
||||
|
||||
model = Model([pcm, feat, pitch], ulaw_prob)
|
||||
model.rnn_units1 = rnn_units1
|
||||
model.rnn_units2 = rnn_units2
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue