from local

This commit is contained in:
dohe0342 2023-02-02 18:34:56 +09:00
parent 0fabcfca36
commit b825599ec2
2 changed files with 3 additions and 0 deletions

View File

@ -258,6 +258,9 @@ def decode_one_batch(
logging.info(lattice) logging.info(lattice)
if params.method == 'greedy-search':
logging.info(batch)
if params.method == "ctc-decoding": if params.method == "ctc-decoding":
best_path = one_best_decoding( best_path = one_best_decoding(
lattice=lattice, use_double_scores=params.use_double_scores lattice=lattice, use_double_scores=params.use_double_scores