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:
|
for key, val in test_set_wers:
|
||||||
print("{}\t{}".format(key, val), file=f)
|
print("{}\t{}".format(key, val), file=f)
|
||||||
|
|
||||||
|
spk = None
|
||||||
wer = None
|
wer = None
|
||||||
s = "\nFor {}, WER of different settings are:\n".format(test_set_name)
|
s = "\nFor {}, WER of different settings are:\n".format(test_set_name)
|
||||||
note = "\tbest for {}".format(test_set_name)
|
note = "\tbest for {}".format(test_set_name)
|
||||||
for key, val in test_set_wers:
|
for key, val in test_set_wers:
|
||||||
s += "{}\t{}{}\n".format(key, val, note)
|
s += "{}\t{}{}\n".format(key, val, note)
|
||||||
note = ""
|
note = ""
|
||||||
|
spk = note.split(' ')[-1]
|
||||||
wer = str(val)
|
wer = str(val)
|
||||||
logging.info(s)
|
logging.info(s)
|
||||||
with open(f'./{params.res_name}.txt', 'a') as f:
|
with open(f'./{params.res_name}.txt', 'a') as f:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user