shithub: opus

Download patch

ref: f9fe6c0ed8b73f9aafb8432554763687e829c23b
parent: 4e331f377f478f3a6da1ac8923946d49534fd2c3
author: Jean-Marc Valin <jmvalin@jmvalin.ca>
date: Tue Oct 16 21:36:29 EDT 2018

clear pitch features in testing too

--- a/dnn/test_wavenet_audio.py
+++ b/dnn/test_wavenet_audio.py
@@ -37,12 +37,12 @@
 pcm_chunk_size = frame_size*feature_chunk_size
 
 features = np.reshape(features, (nb_frames, feature_chunk_size, nb_features))
-
+features[:,:,18:36] = 0
 periods = (50*features[:,:,36:37]+100).astype('int16')
 
 
 
-model.load_weights('wavenet5_384_10_G16np_50.h5')
+model.load_weights('lpcnet9_384_10_G16_29.h5')
 
 order = 16
 
--