diff --git a/egs/wenetspeech/ASR/whisper/decode.py b/egs/wenetspeech/ASR/whisper/decode.py index 292e162af..d91362cdd 100755 --- a/egs/wenetspeech/ASR/whisper/decode.py +++ b/egs/wenetspeech/ASR/whisper/decode.py @@ -397,7 +397,7 @@ def save_results( @torch.no_grad() def main(): parser = get_parser() - AishellAsrDataModule.add_arguments(parser) + WenetSpeechAsrDataModule.add_arguments(parser) args = parser.parse_args() args.exp_dir = Path(args.exp_dir) diff --git a/egs/wenetspeech/ASR/whisper/train.py b/egs/wenetspeech/ASR/whisper/train.py index 07de35dd5..3f5a9f4ec 100644 --- a/egs/wenetspeech/ASR/whisper/train.py +++ b/egs/wenetspeech/ASR/whisper/train.py @@ -908,7 +908,7 @@ def display_and_save_batch( def main(): parser = get_parser() - AishellAsrDataModule.add_arguments(parser) + WenetSpeechAsrDataModule.add_arguments(parser) args = parser.parse_args() args.exp_dir = Path(args.exp_dir)