mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-08-16 04:32:19 +00:00
Minor fixes.
This commit is contained in:
parent
0dcfc4375d
commit
107e0c4c7e
@ -283,7 +283,7 @@ def decode_one_batch(
|
|||||||
# token_ids is a lit-of-list of IDs
|
# token_ids is a lit-of-list of IDs
|
||||||
token_ids = get_texts(best_path)
|
token_ids = get_texts(best_path)
|
||||||
|
|
||||||
# hyps is a list of str, e.g., [['xxx yyy zzz'], ...]
|
# hyps is a list of str, e.g., ['xxx yyy zzz', ...]
|
||||||
hyps = bpe_model.decode(token_ids)
|
hyps = bpe_model.decode(token_ids)
|
||||||
|
|
||||||
# hyps is a list of list of str, e.g., [['xxx', 'yyy', 'zzz'], ... ]
|
# hyps is a list of list of str, e.g., [['xxx', 'yyy', 'zzz'], ... ]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user