From ef1350f29eb537b12842fce8f2fcc4929b059af1 Mon Sep 17 00:00:00 2001 From: Yibing Liu Date: Mon, 12 Jun 2017 17:20:22 +0800 Subject: [PATCH] correct typos in annotations --- deep_speech_2/decoder.py | 2 +- deep_speech_2/infer.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/deep_speech_2/decoder.py b/deep_speech_2/decoder.py index fc746c70..96e91181 100755 --- a/deep_speech_2/decoder.py +++ b/deep_speech_2/decoder.py @@ -199,7 +199,7 @@ def ctc_beam_search_decoder_nproc(probs_split, ''' Beam search decoder using multiple processes. - :param probs_seq: 3-D list with length num_time_steps, each element + :param probs_seq: 3-D list with length batch_size, each element is a 2-D list of probabilities can be used by ctc_beam_search_decoder. diff --git a/deep_speech_2/infer.py b/deep_speech_2/infer.py index 377aeb73..0be89e61 100644 --- a/deep_speech_2/infer.py +++ b/deep_speech_2/infer.py @@ -189,7 +189,7 @@ def infer(): wer_counter += 1 print("cur wer = %f , average wer = %f" % (wer_cur, wer_sum / wer_counter)) - # beam search in multiple processes + # beam search using multiple processes elif args.decode_method == "beam_search_nproc": ext_scorer = Scorer(args.alpha, args.beta, args.language_model_path) beam_search_nproc_results = ctc_beam_search_decoder_nproc( -- GitLab