mirror of
https://github.com/xiph/opus.git
synced 2025-05-19 18:08:29 +00:00
remove import that no longer exists
This commit is contained in:
parent
92281bbe31
commit
5ff58fa117
2 changed files with 0 additions and 4 deletions
|
@ -1,6 +1,5 @@
|
||||||
#!/usr/bin/python3
|
#!/usr/bin/python3
|
||||||
|
|
||||||
import wavenet
|
|
||||||
import lpcnet
|
import lpcnet
|
||||||
import sys
|
import sys
|
||||||
import numpy as np
|
import numpy as np
|
||||||
|
|
|
@ -4,7 +4,6 @@
|
||||||
#
|
#
|
||||||
# Train a LPCNet model (note not a Wavenet model)
|
# Train a LPCNet model (note not a Wavenet model)
|
||||||
|
|
||||||
import wavenet
|
|
||||||
import lpcnet
|
import lpcnet
|
||||||
import sys
|
import sys
|
||||||
import numpy as np
|
import numpy as np
|
||||||
|
@ -30,8 +29,6 @@ nb_epochs = 40
|
||||||
batch_size = 64
|
batch_size = 64
|
||||||
|
|
||||||
# Note we are creating a LPCNet model
|
# Note we are creating a LPCNet model
|
||||||
|
|
||||||
#model = wavenet.new_wavenet_model(fftnet=True)
|
|
||||||
model, _, _ = lpcnet.new_wavernn_model()
|
model, _, _ = lpcnet.new_wavernn_model()
|
||||||
|
|
||||||
model.compile(optimizer='adam', loss='sparse_categorical_crossentropy', metrics=['sparse_categorical_accuracy'])
|
model.compile(optimizer='adam', loss='sparse_categorical_crossentropy', metrics=['sparse_categorical_accuracy'])
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue