Whisper returns string of all exclamation points #865
BucketofJava
started this conversation in
General
Replies: 2 comments
-
It happened with me once, it was some audio encoding issue. You can check whether the audio is encoded in the correct format. I think it happened when I saved using scipy.io.wavfile.write. Another reason could be the sample rate, whisper needs it to be set at 16000. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thank you for your answer! The problem was that my program generating audio occasionally outputted 'nan' as part of the audio, which I fixed with audio[audio!=audio]=0. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am using the model to evaluate audio generated by a model I am making. However, sometimes, when run the model on my generated audio, it returns '!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!' as the text, and nan as the no_speech_prob. Anyone know why this is?
Thanks so much!
Beta Was this translation helpful? Give feedback.
All reactions