mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-12-11 06:55:27 +00:00
from local
This commit is contained in:
parent
9e74f6c77e
commit
9d9ffa8ad1
Binary file not shown.
@ -587,12 +587,14 @@ def save_results(
|
||||
for key, val in test_set_wers:
|
||||
print("{}\t{}".format(key, val), file=f)
|
||||
|
||||
spk = None
|
||||
wer = None
|
||||
s = "\nFor {}, WER of different settings are:\n".format(test_set_name)
|
||||
note = "\tbest for {}".format(test_set_name)
|
||||
for key, val in test_set_wers:
|
||||
s += "{}\t{}{}\n".format(key, val, note)
|
||||
note = ""
|
||||
spk = note.split(' ')[-1]
|
||||
wer = str(val)
|
||||
logging.info(s)
|
||||
with open(f'./{params.res_name}.txt', 'a') as f:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user