Error while trying to transcript #893
Replies: 3 comments 3 replies
-
Do you have |
Beta Was this translation helpful? Give feedback.
-
As the log says, you're looking for a file called "audio.mp3" in your working directory. By the way, "using FP32 instead" means whisper will only use the CPU for the task, if you want to take advantage of the GPU, check out the PyTorch version for "cuda". |
Beta Was this translation helpful? Give feedback.
-
Did you solved it? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
C:\Users\Shahid\Desktop\Python Scripts\whisper-main\whisper\transcribe.py:79: UserWarning: FP16 is not supported on CPU; using FP32 instead
warnings.warn("FP16 is not supported on CPU; using FP32 instead")
Traceback (most recent call last):
File "C:\Users\Shahid\Desktop\Python Scripts\whisper-main\main.py", line 4, in
result = model.transcribe("audio.mp3")
File "C:\Users\Shahid\Desktop\Python Scripts\whisper-main\whisper\transcribe.py", line 85, in transcribe
mel = log_mel_spectrogram(audio)
File "C:\Users\Shahid\Desktop\Python Scripts\whisper-main\whisper\audio.py", line 111, in log_mel_spectrogram
audio = load_audio(audio)
File "C:\Users\Shahid\Desktop\Python Scripts\whisper-main\whisper\audio.py", line 42, in load_audio
ffmpeg.input(file, threads=0)
File "C:\Users\Shahid\AppData\Local\Programs\Python\Python310\lib\site-packages\ffmpeg_run.py", line 313, in run
process = run_async(
File "C:\Users\Shahid\AppData\Local\Programs\Python\Python310\lib\site-packages\ffmpeg_run.py", line 284, in run_async
return subprocess.Popen(
File "C:\Users\Shahid\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 971, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\Users\Shahid\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 1440, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] The system cannot find the file specified
Beta Was this translation helpful? Give feedback.
All reactions