From 107e0c4c7e99df760783124191c61ddb2770e7da Mon Sep 17 00:00:00 2001 From: Fangjun Kuang Date: Sun, 26 Sep 2021 13:32:50 +0800 Subject: [PATCH] Minor fixes. --- egs/librispeech/ASR/conformer_ctc/decode.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/egs/librispeech/ASR/conformer_ctc/decode.py b/egs/librispeech/ASR/conformer_ctc/decode.py index 661c4a33e..5a83dd39c 100755 --- a/egs/librispeech/ASR/conformer_ctc/decode.py +++ b/egs/librispeech/ASR/conformer_ctc/decode.py @@ -283,7 +283,7 @@ def decode_one_batch( # token_ids is a lit-of-list of IDs 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 is a list of list of str, e.g., [['xxx', 'yyy', 'zzz'], ... ]