from local

This commit is contained in:
dohe0342 2023-02-25 16:14:40 +09:00
parent 7d5afcce46
commit 9617c25fb1
2 changed files with 2 additions and 0 deletions

View File

@ -403,6 +403,8 @@ def decode_one_batch(
return {key: hyps}
if params.method == "ctc-greedy-search":
print(nnet_output.size())
exit()
hyps = ctc_greedy_search(nnet_output, memory_key_padding_mask)
# hyps is a list of str, e.g., ['xxx yyy zzz', ...]