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