from local

This commit is contained in:
dohe0342 2023-01-04 03:20:54 +09:00
parent ea4fc1baa0
commit 125b5fc79a
2 changed files with 13 additions and 14 deletions

View File

@ -782,21 +782,20 @@ def main():
test_dl = [test_clean_dl, test_other_dl]
for test_set, test_dl in zip(test_sets, test_dl):
for test_set, test_dl in zip(sets, dls):
results_dict = decode_dataset(
dl=test_dl,
params=params,
model=model,
sp=sp,
word_table=word_table,
decoding_graph=decoding_graph,
)
results_dict = decode_dataset(
dl=test_dl,
params=params,
model=model,
sp=sp,
word_table=word_table,
decoding_graph=decoding_graph,
)
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,
)
'''
test_clean_cuts, test_clean_sets = librispeech.test_clean_cuts(option='user')