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

Clarify args to whisper e2e script #431

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tutorials/whisper_e2e.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,8 +234,8 @@ def postprocessing(token_ids, hf_processor):

if __name__ == '__main__':
parser = argparse.ArgumentParser()
parser.add_argument("-a", "--audio", required=True, help="Path to audio file")
parser.add_argument("-m", "--model", required=True, help="Path to custom export of Whisper with beam search")
parser.add_argument("-a", "--audio", required=True, help="Audio file input used to test exported model")
parser.add_argument("-m", "--model", required=True, help="Whisper model with beam search onnx file. Filename must be named whisper-.*_beamsearch.onnx")
args = parser.parse_args()

print("Looking for the exported model...", end='')
Expand Down