-
Notifications
You must be signed in to change notification settings - Fork 7
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
Audio error processing dataset using "Begin Process" button #1
Comments
Unfortunately, there's not much to go off of here as it seems like there wasn't much output from e. Would you be able to post more of the stacktrace in the terminal? It also looks like you put the repo almost directly in your C drive and I know sometimes windows has odd permission issues, so could you try moving it to your desktop if the below works? I wanna see if ffmpeg is working properly in your package. Can you try to run a similar command to process in ffmpeg by opening up a cmd terminal in the package folder and running a modified version of the below based on your audio name:
|
I moved this all to desktop then tried the ffmepeg command you sent from the new folder in terminal. It didn't produce any error but it also didn't create a new test.wav file if it was supposed to. I Here is that stack trace: C:\Users\Raoc\Desktop\beatrice_trainer_webui_v1.0>.\ffmpeg.exe -i ".\datasets\model1\tomi\mono.wav" -ar 48000 ".\test.wav" C:\Users\Raoc\Desktop\beatrice_trainer_webui_v1.0>dir .*.wav Directory of C:\Users\Raoc\Desktop\beatrice_trainer_webui_v1.0 File Not Found Also here is the full stack trace from running on the desktop for the "Begin Process" button: C:\Users\Raoc\Desktop\beatrice_trainer_webui_v1.0>runtime\python.exe webui.py To create a public link, set The above exception was the direct cause of the following exception: Traceback (most recent call last): ***Attaching the wav file specs in case, I've tried a few but I tend to save all as mono 44.1 16k as that's the default in audacity: |
So it should actually create a test.wav file in the beatrice directory... my hunch has to be ffmpeg related Let's try that command directly as well, can you run:
Also, by chance do you have ffmpeg installed locally on your device? |
I may have but I can't tell now since my windows 10 install bricked after a a windows update. I think we can close this issue. I reinstalled windows 10 and got a different issue. I'll create a new one with the new details, hopefully easier to solve - thanks! |
Hi Jarod! My folders under datasets are model1\tomi\mono.wav. The wav file is mono.
The error that pops up shortly after it begins processing speakers is:
File "C:\AI\beatrice_trainer_webui_v1.0\webui.py", line 70, in run_whisperx_transcribe
audio = whisperx.load_audio(audio_file_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\AI\beatrice_trainer_webui_v1.0\runtime\Lib\site-packages\whisperx\audio.py", line 63, in load_audio
raise RuntimeError(f"Failed to load audio: {e.stderr.decode()}") from e
RuntimeError: Failed to load audio:
The text was updated successfully, but these errors were encountered: