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
a941fb80e6
commit
4527fabfe2
Binary file not shown.
@ -633,6 +633,8 @@ def save_results(
|
|||||||
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 = ""
|
||||||
|
print(key)
|
||||||
|
print(val)
|
||||||
logging.info(s)
|
logging.info(s)
|
||||||
|
|
||||||
|
|
||||||
@ -816,7 +818,6 @@ def main() -> None:
|
|||||||
|
|
||||||
save_results(params=params, test_set_name=test_set, results_dict=results_dict)
|
save_results(params=params, test_set_name=test_set, results_dict=results_dict)
|
||||||
|
|
||||||
|
|
||||||
torch.set_num_threads(1)
|
torch.set_num_threads(1)
|
||||||
# when we import add_model_arguments from train.py
|
# when we import add_model_arguments from train.py
|
||||||
# we enforce torch.set_num_interop_threads(1) in it,
|
# we enforce torch.set_num_interop_threads(1) in it,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user