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
0fc4769ce6
commit
ed9a79bc86
Binary file not shown.
@ -791,21 +791,22 @@ def main():
|
|||||||
test_sets = [test_clean_sets, test_other_sets]
|
test_sets = [test_clean_sets, test_other_sets]
|
||||||
test_dl = [test_clean_dl, test_other_dl]
|
test_dl = [test_clean_dl, test_other_dl]
|
||||||
|
|
||||||
for test_set, test_dl in zip(test_sets, test_dl):
|
for sets, dls in zip(test_sets, test_dl):
|
||||||
results_dict = decode_dataset(
|
for test_set, test_dl in zip(sets, dls):
|
||||||
dl=test_dl,
|
results_dict = decode_dataset(
|
||||||
params=params,
|
dl=test_dl,
|
||||||
model=model,
|
params=params,
|
||||||
sp=sp,
|
model=model,
|
||||||
word_table=word_table,
|
sp=sp,
|
||||||
decoding_graph=decoding_graph,
|
word_table=word_table,
|
||||||
)
|
decoding_graph=decoding_graph,
|
||||||
|
)
|
||||||
|
|
||||||
save_results(
|
save_results(
|
||||||
params=params,
|
params=params,
|
||||||
test_set_name=test_set,
|
test_set_name=test_set,
|
||||||
results_dict=results_dict,
|
results_dict=results_dict,
|
||||||
)
|
)
|
||||||
|
|
||||||
logging.info("Done!")
|
logging.info("Done!")
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user