diff --git a/nemo/collections/asr/parts/mixins/ipl_mixin.py b/nemo/collections/asr/parts/mixins/ipl_mixin.py index 73ea0607819b..0e6333e421b7 100644 --- a/nemo/collections/asr/parts/mixins/ipl_mixin.py +++ b/nemo/collections/asr/parts/mixins/ipl_mixin.py @@ -247,7 +247,7 @@ def create_cache_hypotheses(self, manifests: Union[List[List[str]], str], update restore_pc=self._ipl_params['restore_pc'], batch_size=self._ipl_params['batch_size'], ) - elif self.model_type == "ctc": + else: hypotheses = self.generate_pseudo_labels_ctc( temporary_manifest, target_transcripts=transcriptions, @@ -332,7 +332,7 @@ def create_tar_cache_hypotheses( restore_pc=self._ipl_params['restore_pc'], batch_size=self._ipl_params['batch_size'], ) - elif self.model_type == "ctc": + else: hypotheses = self.generate_pseudo_labels_ctc( cache_manifest=temporary_manifest, tarred_audio_filepaths=expanded_audio, @@ -412,7 +412,7 @@ def update_tar_cache_hypotheses( restore_pc=self._ipl_params['restore_pc'], batch_size=self._ipl_params['batch_size'], ) - elif self.model_type == "ctc": + else: hypotheses = self.generate_pseudo_labels_ctc( temporary_manifest, tarred_audio_filepaths=expanded_audio,