From 2d7cf7f0e66c60a6e24cb59aedfef2abb571a8d9 Mon Sep 17 00:00:00 2001 From: megemini Date: Mon, 9 Dec 2024 20:33:41 +0800 Subject: [PATCH] =?UTF-8?q?[Hackathon=207th]=20=E4=BF=AE=E5=A4=8D=20`asr4`?= =?UTF-8?q?=20=E7=9A=84=20`test=5Fwav`=20=E5=A4=9A=E4=BD=99=E7=9A=84=20arg?= =?UTF-8?q?ument=20(#3940)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * [Fix] test_wav parse arg * [Fix] remove line --- paddlespeech/s2t/exps/hubert/bin/test_wav.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/paddlespeech/s2t/exps/hubert/bin/test_wav.py b/paddlespeech/s2t/exps/hubert/bin/test_wav.py index 94d7f76a8a1..58910eabb71 100644 --- a/paddlespeech/s2t/exps/hubert/bin/test_wav.py +++ b/paddlespeech/s2t/exps/hubert/bin/test_wav.py @@ -97,11 +97,6 @@ def main(config, args): if __name__ == "__main__": parser = default_argument_parser() - # save asr result to - parser.add_argument( - "--result_file", type=str, help="path of save the asr result") - parser.add_argument( - "--audio_file", type=str, help="path of the input audio file") args = parser.parse_args() config = CfgNode(new_allowed=True)