shithub: opus

Download patch

ref: f3c738d45fa2967e7baabd7bea417585a93a4738
parent: 60450472a6c8cb97e35b56901878e6d15e9ed999
author: janpbuethe <jbuethe@amazon.de>
date: Wed Sep 7 05:03:46 EDT 2022

removed debug prints in dump_lpcnet.py

--- a/dnn/training_tf2/dump_lpcnet.py
+++ b/dnn/training_tf2/dump_lpcnet.py
@@ -274,11 +274,7 @@
     model.compile(optimizer='adam', loss='sparse_categorical_crossentropy', metrics=['sparse_categorical_accuracy'])
     #model.summary()
 
-    print(get_parameter(model, 'lpc_gamma'))
-
     model.load_weights(filename, by_name=True)
-    
-    print(get_parameter(model, 'lpc_gamma'))
 
     cfile = args.nnet_source
     hfile = args.nnet_header
@@ -299,8 +295,6 @@
     else:
         hf.write('/* This is *not* an end-to-end model */\n')
         hf.write('/* #define END2END */\n\n')
-    
-    print([weight.name for weight in model.weights])
     
     # LPC weighting factor
     if type(args.lpc_gamma) == type(None):
--