From 8c64c09c0643c826714033a238f15ee90bea9cca Mon Sep 17 00:00:00 2001 From: Ssofja Date: Tue, 7 Jan 2025 17:08:02 +0400 Subject: [PATCH] removed the line which caused a problem in nfa_tutorial Signed-off-by: Ssofja --- nemo/collections/asr/models/hybrid_rnnt_ctc_models.py | 1 - 1 file changed, 1 deletion(-) diff --git a/nemo/collections/asr/models/hybrid_rnnt_ctc_models.py b/nemo/collections/asr/models/hybrid_rnnt_ctc_models.py index 1f63c617cea2..be795b6e4bc4 100644 --- a/nemo/collections/asr/models/hybrid_rnnt_ctc_models.py +++ b/nemo/collections/asr/models/hybrid_rnnt_ctc_models.py @@ -155,7 +155,6 @@ def transcribe( decoding_cfg.preserve_alignments = True self.change_decoding_strategy(decoding_cfg, decoder_type=self.cur_decoder, verbose=False) else: - return_hypotheses = False with open_dict(decoding_cfg): decoding_cfg.compute_timestamps = False decoding_cfg.preserve_alignments = False