语音识别阶段出错[Qwen-ASR(内置)] Subprocess Error: safetensors>=0.8.0 is required for a normal functioning of this module, but found safetensors==0.4.5.
Try: pip install transformers -U or pip install -e '.[dev]' if you're working with git main
Traceback (most recent call last):
File "videotrans\task\job.py", line 35, in run
File "videotrans\task\job.py", line 102, in process_task
File "videotrans\task\speech2text.py", line 100, in recogn
File "videotrans\recognition\__init__.py", line 121, in run
File "videotrans\recognition\_base.py", line 99, in run
File "videotrans\recognition\_qwenasrlocal.py", line 85, in _exec
File "videotrans\configure\base.py", line 264, in _new_process
videotrans.configure.excepts.VideoTransError: Subprocess Error: safetensors>=0.8.0 is required for a normal functioning of this module, but found safetensors==0.4.5.
Try: pip install transformers -U or pip install -e '.[dev]' if you're working with git main
[SpeechToText]语音转录: self.out_format='txt',self.copysrt_rawvideo=False,self.spk_insert=False
[TaskCfgSTT]
原始输入文件名: C:/Users/user/Videos/五福臨門,最難得的是“考終命”.mp4,
输出结果保存到文件夹: E:/win-pyvideotrans-v4.06-0718/output/recogn,
临时文件夹: E:/win-pyvideotrans-v4.06-0718/tmp/3288/cd1a8dddb7
未启用CUDA加速
未选 降噪
语音识别:Qwen-ASR(内置), 1.7B 断句方式:默认断句
发音语言:自动检测
未选 降噪
=
system:Windows-10-10.0.26200-SP0
version:v4.13
frozen:True
language:zh
root_dir:E:/win-pyvideotrans-v4.06-0718