语音识别阶段出错[faster-whisper(本地)] Unable to allocate 788. MiB for an array with shape (1, 258283, 400) and data type float64:Traceback (most recent call last):
File "videotrans\process\stt_fun.py", line 282, 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 788. MiB for an array with shape (1, 258283, 400) and data type float64
Traceback (most recent call last):
File "videotrans\task\job.py", line 54, in run
File "videotrans\task\job.py", line 119, in process_task
File "videotrans\task\trans_create.py", line 320, in recogn
File "videotrans\recognition\__init__.py", line 190, in run
File "videotrans\recognition\_base.py", line 93, in run
File "videotrans\recognition\_whisper.py", line 35, in _exec
File "videotrans\recognition\_whisper.py", line 108, in _faster
File "videotrans\configure\base.py", line 252, in _new_process
videotrans.configure.excepts.VideoTransError: Unable to allocate 788. MiB for an array with shape (1, 258283, 400) and data type float64:Traceback (most recent call last):
File "videotrans\process\stt_fun.py", line 282, 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 788. MiB for an array with shape (1, 258283, 400) and data type float64
TaskCfgVTT(uuid='32a6aada06', name='D:/yyyyyyyyyyyyy/-Jm7fKpwBIYWeekly Webinar 🔥 Trading Hub 2.O.mp4', dirname='D:/yyyyyyyyyyyyy', noextname='-Jm7fKpwBIYWeekly Webinar 🔥 Trading Hub 2.O', basename='-Jm7fKpwBIYWeekly Webinar 🔥 Trading Hub 2.O.mp4', ext='mp4', target_dir='D:/hhhhhhhhhhhhhhhhhh/-Jm7fKpwBIYWeekly Webinar 🔥 Trading Hub 2.O-mp4', cache_folder='D:/翻译/win-pyvideotrans-v4.00-528/tmp/22824/32a6aada06', is_cuda=False, source_language='英语', source_language_code='en', source_sub='D:/hhhhhhhhhhhhhhhhhh/-Jm7fKpwBIYWeekly Webinar 🔥 Trading Hub 2.O-mp4/en.srt', source_wav='D:/翻译/win-pyvideotrans-v4.00-528/tmp/22824/32a6aada06/en.wav', source_wav_output='D:/hhhhhhhhhhhhhhhhhh/-Jm7fKpwBIYWeekly Webinar 🔥 Trading Hub 2.O-mp4/en.m4a', target_language='简体中文', target_language_code='zh-cn', target_sub='D:/hhhhhhhhhhhhhhhhhh/-Jm7fKpwBIYWeekly Webinar 🔥 Trading Hub 2.O-mp4/zh-cn.srt', target_wav='D:/翻译/win-pyvideotrans-v4.00-528/tmp/22824/32a6aada06/target.wav', target_wav_output='D:/hhhhhhhhhhhhhhhhhh/-Jm7fKpwBIYWeekly Webinar 🔥 Trading Hub 2.O-mp4/zh-cn.m4a', translate_type=0, tts_type=0, volume='+0%', pitch='+0Hz', voice_rate='+0%', voice_role='Xiaoxiao(Female/CN)', voice_autorate=True, video_autorate=True, remove_silent_mid=False, align_sub_audio=True, detect_language='en', recogn_type=0, model_name='large-v3-turbo', shibie_audio=None, remove_noise=False, enable_diariz=False, nums_diariz=0, rephrase=0, fix_punc=False, subtitle_language=None, app_mode='biaozhun', subtitles='', targetdir_mp4='D:/hhhhhhhhhhhhhhhhhh/-Jm7fKpwBIYWeekly Webinar 🔥 Trading Hub 2.O-mp4/-Jm7fKpwBIYWeekly Webinar 🔥 Trading Hub 2.O.mp4', novoice_mp4='D:/翻译/win-pyvideotrans-v4.00-528/tmp/22824/32a6aada06/novoice.mp4', is_separate=False, embed_bgm=True, instrument=None, vocal='D:/翻译/win-pyvideotrans-v4.00-528/tmp/22824/32a6aada06/vocal.wav', clear_cache=True, background_music='', subtitle_type=1, only_out_mp4=True, recogn2pass=False, output_srt=0, copysrt_rawvideo=False, loop_backaudio=1, backaudio_volume=0.8)
=
system:Windows-10-10.0.19045-SP0
version:v4.00
frozen:True
language:zh
root_dir:D:/翻译/win-pyvideotrans-v4.00-528