diff --git a/egs/librispeech/ASR/pruned_transducer_stateless/decode.py b/egs/librispeech/ASR/pruned_transducer_stateless/decode.py index ea011b1f9..f39cc614c 100755 --- a/egs/librispeech/ASR/pruned_transducer_stateless/decode.py +++ b/egs/librispeech/ASR/pruned_transducer_stateless/decode.py @@ -449,7 +449,7 @@ def decode_one_batch( key += f"max_contexts_{params.max_contexts}_" key += f"max_states_{params.max_states}" if "nbest" in params.decoding_method: - key += f"num_paths_{params.num_paths}_" + key += f"_num_paths_{params.num_paths}_" key += f"nbest_scale_{params.nbest_scale}" if "LG" in params.decoding_method: key += f"_ngram_lm_scale_{params.ngram_lm_scale}" diff --git a/egs/librispeech/ASR/pruned_transducer_stateless2/decode.py b/egs/librispeech/ASR/pruned_transducer_stateless2/decode.py index 56cfde8d2..ea368fb87 100755 --- a/egs/librispeech/ASR/pruned_transducer_stateless2/decode.py +++ b/egs/librispeech/ASR/pruned_transducer_stateless2/decode.py @@ -456,7 +456,7 @@ def decode_one_batch( key += f"max_contexts_{params.max_contexts}_" key += f"max_states_{params.max_states}" if "nbest" in params.decoding_method: - key += f"num_paths_{params.num_paths}_" + key += f"_num_paths_{params.num_paths}_" key += f"nbest_scale_{params.nbest_scale}" if "LG" in params.decoding_method: key += f"_ngram_lm_scale_{params.ngram_lm_scale}" diff --git a/egs/librispeech/ASR/pruned_transducer_stateless3/decode.py b/egs/librispeech/ASR/pruned_transducer_stateless3/decode.py index bb04c3378..8b1ddc930 100755 --- a/egs/librispeech/ASR/pruned_transducer_stateless3/decode.py +++ b/egs/librispeech/ASR/pruned_transducer_stateless3/decode.py @@ -465,7 +465,7 @@ def decode_one_batch( key += f"max_contexts_{params.max_contexts}_" key += f"max_states_{params.max_states}" if "nbest" in params.decoding_method: - key += f"num_paths_{params.num_paths}_" + key += f"_num_paths_{params.num_paths}_" key += f"nbest_scale_{params.nbest_scale}" if "LG" in params.decoding_method: key += f"_ngram_lm_scale_{params.ngram_lm_scale}" diff --git a/egs/librispeech/ASR/pruned_transducer_stateless4/decode.py b/egs/librispeech/ASR/pruned_transducer_stateless4/decode.py index 79dd7856e..a8d730ad6 100755 --- a/egs/librispeech/ASR/pruned_transducer_stateless4/decode.py +++ b/egs/librispeech/ASR/pruned_transducer_stateless4/decode.py @@ -462,7 +462,7 @@ def decode_one_batch( key += f"max_contexts_{params.max_contexts}_" key += f"max_states_{params.max_states}" if "nbest" in params.decoding_method: - key += f"num_paths_{params.num_paths}_" + key += f"_num_paths_{params.num_paths}_" key += f"nbest_scale_{params.nbest_scale}" if "LG" in params.decoding_method: key += f"_ngram_lm_scale_{params.ngram_lm_scale}" diff --git a/egs/librispeech/ASR/pruned_transducer_stateless5/decode.py b/egs/librispeech/ASR/pruned_transducer_stateless5/decode.py index d845eed51..f87d23cc9 100755 --- a/egs/librispeech/ASR/pruned_transducer_stateless5/decode.py +++ b/egs/librispeech/ASR/pruned_transducer_stateless5/decode.py @@ -464,7 +464,7 @@ def decode_one_batch( key += f"max_contexts_{params.max_contexts}_" key += f"max_states_{params.max_states}" if "nbest" in params.decoding_method: - key += f"num_paths_{params.num_paths}_" + key += f"_num_paths_{params.num_paths}_" key += f"nbest_scale_{params.nbest_scale}" if "LG" in params.decoding_method: key += f"_ngram_lm_scale_{params.ngram_lm_scale}"