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

train_large.sh #6

Open
thankuuu opened this issue Oct 7, 2023 · 1 comment
Open

train_large.sh #6

thankuuu opened this issue Oct 7, 2023 · 1 comment

Comments

@thankuuu
Copy link

thankuuu commented Oct 7, 2023

I encountered the following error while running your code:

Traceback (most recent call last):
File "train.py", line 70, in
decodetask = whisper.decoding.DecodingTask(model, options)
File "/root/autodl-tmp/WhisperBiasing/whisper/decoding.py", line 514, in init
self.sot_index: int = self.initial_tokens.index(tokenizer.sot)
ValueError: tuple.index(x): x not in tuple

I have verified the content of tokenizer, but I am still unable to resolve this error.
Could you please provide some guidance on how to address this issue? Thank you for your time and assistance.

@BriansIDP
Copy link
Owner

Hi. Thank you for your question and sorry for replying late. I have not come across this error before and I suspect this is something related to Whisper itself rather than my added code. Please let me know if there is any update on this issue.

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

2 participants