Thanks, I'll give that one a go.To speed things up, I'd look into whispercpp, it should be faster without any quality loss.
Thanks, I'll give that one a go.To speed things up, I'd look into whispercpp, it should be faster without any quality loss.
Hello all, I'm using WhisperWithVAD_PRO and getting the following error:
"ValueError: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject"
It feels like the same issue when they changed the version of torch.
As a workaround for now, you can comment out(add a # at the beginning of the line to disable it) the spleeter installation line in the "setup whisper" section(click show code to edit) and it should look like this:
View attachment 3650116
You need to run the code(press the play button) after you've done this. If you've already ran the code, you'll need to run it again.
Spleeter is used to separate the voice from the background noise.
It's not used by default so unless you set "source_separation" to True(meaning you check the checkbox next to it), it won't change anything(and if you do enable it after disabling the spleeter install, it will give an error).
I tried this but got this error. I'm not a computer whiz. Any ideas?Upgrading numpy, pandas and tensorflow also seems to resolve the error. Not sure if it's actually necessary to upgrade all of them.
Like so:
View attachment 3650292
So does that mean I don’t need to worry if Colab crashes or restarts? It’s really frustrating when it hits the daily usage limit and I have to start over just to get different results. Does it save the project automatically?Gemini Pro helped me add checkpoint resume functionality to Mei2's WhisperWithVAD_pro Colab code. Now it saves a checkpoint file and partial srt periodically. Ever been frustrated when you reached the time limit and all progress is lost? If you crash from memory issues, reach the time limit (probably a little over 4 hours per day) or close your tab, don't worry. Use a different Google account or just wait the next day, and click Run All, if it sees those two files in WhisperJAV folder then it will resume. Check it out and see what settings I like to use. Note I removed Spleeter and Deepl functionality, things I didn't use.
Yes, all results are saved in the partial.srt and ckpt.json found inside /WhisperJAV. Don't move or edit those files as it's running.So does that mean I don’t need to worry if Colab crashes or restarts? It’s really frustrating when it hits the daily usage limit and I have to start over just to get different results. Does it save the project automatically?
Thank you!Yes, all results are saved in the partial.srt and ckpt.json found inside /WhisperJAV. Don't move or edit those files as it's running.
What's your edit? I'm using the one that you've uploaded beforeI reuploaded it. See my edit.