from local

This commit is contained in:
dohe0342 2023-02-25 16:10:47 +09:00
parent ee845f219c
commit 89945a0e11
2 changed files with 1 additions and 0 deletions

View File

@ -426,6 +426,7 @@ def decode_one_batch(
warmup=warmup,
return_output=True,
)
print(pred.size())
hyps = greedy_search(nnet_output, memory_key_padding_mask)
# hyps is a list of str, e.g., ['xxx yyy zzz', ...]