From 3394c221b178174a6947c0912fd97a69bf9c622e Mon Sep 17 00:00:00 2001 From: Ssofja <78349198+Ssofja@users.noreply.github.com> Date: Thu, 26 Dec 2024 01:17:36 +0400 Subject: [PATCH] removed the line which caused a problem in nfa_tutorial (#11710) 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