Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[S2T]argparse.ArgumentError: argument --audio_file: conflicting option string: --audio_file #3658

Open
xdchuan011209 opened this issue Jan 4, 2024 · 1 comment
Assignees
Labels

Comments

@xdchuan011209
Copy link

Traceback (most recent call last):
File "/raid/ASR/paddlespeech/PaddleSpeech/paddlespeech/s2t/exps/deepspeech2/bin/test_wav.py", line 174, in
parser.add_argument("--audio_file", type=str, help='audio file path')
File "/home/shj/miniconda3/envs/Paddlenv/lib/python3.8/argparse.py", line 1386, in add_argument
return self._add_action(action)
File "/home/shj/miniconda3/envs/Paddlenv/lib/python3.8/argparse.py", line 1749, in _add_action
self._optionals._add_action(action)
File "/home/shj/miniconda3/envs/Paddlenv/lib/python3.8/argparse.py", line 1590, in _add_action
action = super(_ArgumentGroup, self)._add_action(action)
File "/home/shj/miniconda3/envs/Paddlenv/lib/python3.8/argparse.py", line 1400, in _add_action
self._check_conflict(action)
File "/home/shj/miniconda3/envs/Paddlenv/lib/python3.8/argparse.py", line 1539, in _check_conflict
conflict_handler(action, confl_optionals)
File "/home/shj/miniconda3/envs/Paddlenv/lib/python3.8/argparse.py", line 1548, in _handle_conflict_error
raise ArgumentError(action, message % conflict_string)
argparse.ArgumentError: argument --audio_file: conflicting option string: --audio_file

@zxcd
Copy link
Collaborator

zxcd commented Jan 16, 2024

怎么用的 paddle和paddlespeech的版本分别是什么?

@zxcd zxcd assigned zxcd and unassigned zh794390558 Jan 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants