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

Prepare for PromptASR model training #1796

Open
ye0njinkim opened this issue Nov 3, 2024 · 0 comments
Open

Prepare for PromptASR model training #1796

ye0njinkim opened this issue Nov 3, 2024 · 0 comments

Comments

@ye0njinkim
Copy link

ye0njinkim commented Nov 3, 2024

Thank you for providing the framework.

I want to reproduce the PromptASR training using libriheavy, but when I run the prepare_prompt_asr.sh file, I get the following error:

Traceback (most recent call last): 
  File "zipformer_prompt_asr/utils.py", line 429, in <module>  
    get_rare_words(subset=subset, top_k=top_k)  
  File "zipformer_prompt_asr/utils.py", line 116, in get_rare_words  
    with open(txt_path, "r") as file:  
FileNotFoundError: [Errno 2] No such file or directory: 'data/tmp/transcript_words_medium.txt'  

What is this txt file, and which part of the code is responsible for generating it?

Can I save the 'data/manifests/texts_medium' file as a .txt, and use it?

The prepare.sh script is already completed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant