mirror of
https://github.com/xiph/opus.git
synced 2025-05-30 15:17:42 +00:00
removed debug prints in dump_lpcnet.py
This commit is contained in:
parent
60450472a6
commit
f3c738d45f
1 changed files with 0 additions and 6 deletions
|
@ -274,11 +274,7 @@ if __name__ == "__main__":
|
|||
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
|
||||
|
@ -300,8 +296,6 @@ if __name__ == "__main__":
|
|||
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):
|
||||
lpc_gamma = get_parameter(model, 'lpc_gamma', 1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue