From e173f765e8dfe8352ca26b240f877267e37d13d2 Mon Sep 17 00:00:00 2001 From: dohe0342 Date: Sat, 25 Feb 2023 16:10:17 +0900 Subject: [PATCH] from local --- .../ASR/conformer_ctc2/.decode.py.swp | Bin 65536 -> 65536 bytes egs/librispeech/ASR/conformer_ctc2/decode.py | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/egs/librispeech/ASR/conformer_ctc2/.decode.py.swp b/egs/librispeech/ASR/conformer_ctc2/.decode.py.swp index 9db6d45276ae115f8525f9268b20b4066e8a797b..98d6fe937a24a4d8268269ead0810ccb20ed52ae 100644 GIT binary patch delta 41 vcmZo@U}oi~c|mrqvd5!-B4eyjrk<8cgM delta 43 xcmZo@U}{q_20|55W49oxk diff --git a/egs/librispeech/ASR/conformer_ctc2/decode.py b/egs/librispeech/ASR/conformer_ctc2/decode.py index 2a0cb4fbf..3eeedb424 100755 --- a/egs/librispeech/ASR/conformer_ctc2/decode.py +++ b/egs/librispeech/ASR/conformer_ctc2/decode.py @@ -419,7 +419,7 @@ def decode_one_batch( unsorted_token_ids = graph_compiler.texts_to_ids(supervisions["text"]) att_loss = model.decoder_forward( memory, - momory_key_padding_mask, + memory_key_padding_mask, token_ids=unsorted_token_ids, sos_id=graph_compiler.sos_id, eos_id=graph_compiler.eos_id,