ASR Error[faster-whisper (Local)] module 'decoders' has no attribute 'DecodeStream'
multiprocessing.pool.RemoteTraceback:
"""
Traceback (most recent call last):
File "multiprocessing\pool.py", line 125, in worker
File "videotrans\process\stt_fun.py", line 163, in faster_whisper
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "pyimod02_importers.py", line 457, in exec_module
File "faster_whisper\__init__.py", line 2, in
from faster_whisper.transcribe import BatchedInferencePipeline, WhisperModelFile "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "pyimod02_importers.py", line 457, in exec_module
File "faster_whisper\transcribe.py", line 15, in
import tokenizersFile "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unl
......
enizer import BaseTokenizer
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "pyimod02_importers.py", line 457, in exec_module
File "tokenizers\implementations\base_tokenizer.py", line 4, in
from tokenizers.decoders import DecoderFile "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "pyimod02_importers.py", line 457, in exec_module
File "tokenizers\decoders\__init__.py", line 15, in
DecodeStream = decoders.DecodeStreamAttributeError: module 'decoders' has no attribute 'DecodeStream'
"""
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "videotrans\task\job.py", line 35, in run
File "videotrans\task\job.py", line 100, in process_task
File "videotrans\task\trans_create.py", line 322, in recogn
File "videotrans\recognition\__init__.py", line 190, in run
File "videotrans\recognition\_base.py", line 94, in run
File "videotrans\recognition\_whisper.py", line 36, in _exec
File "videotrans\recognition\_whisper.py", line 109, in _faster
File "videotrans\configure\base.py", line 250, in _new_process
File "videotrans\process\signelobj.py", line 13, in result
File "multiprocessing\pool.py", line 774, in get
AttributeError: module 'decoders' has no attribute 'DecodeStream'
TaskCfgVTT(uuid='c2e1d4dbd6', name='//songnhien.ddns.net/18TB/0Tutorials/Accounting/0Accounting 101 Business Cashflow Forecasting in 60mins/04.8. Part 1 Of Demo Including Your Projected Expenses On Your Cashflow.mp4', dirname='//songnhien.ddns.net/18TB/0Tutorials/Accounting/0Accounting 101 Business Cashflow Forecasting in 60mins', noextname='04.8. Part 1 Of Demo Including Your Projected Expenses On Your Cashflow', basename='04.8. Part 1 Of Demo Including Your Projected Expenses On Your Cashflow.mp4', ext='mp4', target_dir='04.8. Part 1 Of Demo Including Your Projected Expenses On Your Cashflow-mp4', cache_folder='D:/0Portables/PortableApps/win-pyvideotrans/tmp/14740/c2e1d4dbd6', is_cuda=False, source_language='English', source_language_code='en', source_sub='04.8. Part 1 Of Demo Including Your Projected Expenses On Your Cashflow-mp4/en.srt', source_wav='D:/0Portables/PortableApps/win-pyvideotrans/tmp/14740/c2e1d4dbd6/en.wav', source_wav_output='04.8. Part 1 Of Demo Including Your Projected Expenses On Your Cashflow-mp4/en.m4a', target_language='Vietnamese', target_language_code='vi', target_sub='04.8. Part 1 Of Demo Including Your Projected Expenses On Your Cashflow-mp4/vi.srt', target_wav='D:/0Portables/PortableApps/win-pyvideotrans/tmp/14740/c2e1d4dbd6/target.wav', target_wav_output='04.8. Part 1 Of Demo Including Your Projected Expenses On Your Cashflow-mp4/vi.m4a', translate_type=1, tts_type=0, volume='+0%', pitch='+0Hz', voice_rate='+0%', voice_role='No', voice_autorate=False, video_autorate=True, remove_silent_mid=False, align_sub_audio=True, detect_language='en', recogn_type=0, model_name='tiny', 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='04.8. Part 1 Of Demo Including Your Projected Expenses On Your Cashflow-mp4/04.8. Part 1 Of Demo Including Your Projected Expenses On Your Cashflow.mp4', novoice_mp4='D:/0Portables/PortableApps/win-pyvideotrans/tmp/14740/c2e1d4dbd6/novoice.mp4', is_separate=False, embed_bgm=True, instrument=None, vocal='D:/0Portables/PortableApps/win-pyvideotrans/tmp/14740/c2e1d4dbd6/vocal.wav', clear_cache=False, background_music='', subtitle_type=1, only_out_mp4=False, recogn2pass=False, output_srt=0, copysrt_rawvideo=False, loop_backaudio=1, backaudio_volume=0.8)
=
system:Windows-10-10.0.26200-SP0
version:v4.01
frozen:True
language:en
root_dir:D:/0Portables/PortableApps/win-pyvideotrans