语音识别阶段出错[faster-whisper(内置)] Unable to allocate 546. MiB for an array with shape (1, 179003, 400) and data type float64:Traceback (most recent call last):
File "videotrans\process\stt_faster.py", line 121, in faster_whisper
File "faster_whisper\transcribe.py", line 916, in transcribe
File "faster_whisper\feature_extractor.py", line 215, in call
File "faster_whisper\feature_extractor.py", line 189, in stft
File "numpy\fft\_pocketfft.py", line 409, in rfft
File "numpy\fft\_pocketfft.py", line 70, in _raw_fft
numpy.core._exceptions._ArrayMemoryError: Unable to allocate 546. MiB for an array with shape (1, 179003, 400) and data type float64
Traceback (most recent call last):
File "videotrans\task\job.py", line 35, in run
File "videotrans\task\job.py", line 101, in process_task
File "videotrans\task\speech2text.py", line 97, in recogn
File "videotrans\recognition\__init__.py", line 141, in run
File "videotrans\recognition\_base.py", line 101, in run
File "videotrans\recognition\_whisper.py", line 39, in _exec
File "videotrans\recognition\_whisper.py", line 136, in _faster
File "videotrans\configure\base.py", line 277, in _new_process
videotrans.configure.excepts.VideoTransError: Unable to allocate 546. MiB for an array with shape (1, 179003, 400) and data type float64:Traceback (most recent call last):
File "videotrans\process\stt_faster.py", line 121, in faster_whisper
File "faster_whisper\transcribe.py", line 916, in transcribe
File "faster_whisper\feature_extractor.py", line 215, in call
File "faster_whisper\feature_extractor.py", line 189, in stft
File "numpy\fft\_pocketfft.py", line 409, in rfft
File "numpy\fft\_pocketfft.py", line 70, in _raw_fft
numpy.core._exceptions._ArrayMemoryError: Unable to allocate 546. MiB for an array with shape (1, 179003, 400) and data type float64
trk=[SpeechToText]: uuid='e8b8ebec5f', proxy_str='http://127.0.0.1:7897', cfg=[TaskCfgSTT]
原始输入文件名: D:/Baasir/Documents/We Tried China's WORST Products.mp4,
输出结果保存到文件夹: D:/论文版/参考文献/win-pyvideotrans-v4.16-1/output/recogn,
临时文件夹: D:/win-pyvideotrans-v4.16-1/tmp/26500/e8b8ebec5f
未启用CUDA加速
未选 降噪
语音识别:faster-whisper(内置), small
发音语言:en
未选 降噪
代理地址:http://127.0.0.1:7897, precent=1, hasend=False, should_recogn=True, should_trans=False, should_dubbing=False, should_hebing=False, out_format='srt', copysrt_rawvideo=False, spk_insert=True
=
system:Windows-10-10.0.19045-SP0
version:v4.16
frozen:True
language:zh_CN
root_dir:D:/win-pyvideotrans-v4.16-1