Skip to content

Commit

Permalink
çAddressing issue with local variable
Browse files Browse the repository at this point in the history
Signed-off-by: nune-tadevosyan <[email protected]>
  • Loading branch information
nune-tadevosyan committed Jul 10, 2024
1 parent c52f797 commit eecc90c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions nemo/collections/asr/parts/mixins/ipl_mixin.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit eecc90c

Please sign in to comment.