语音识别阶段出错[faster-whisper(内置)] unsupported device cuda:1,Traceback (most recent call last):
File "videotrans\process\stt_faster.py", line 73, in _create_model
File "faster_whisper\transcribe.py", line 689, in init
ValueError: unsupported device cuda:1
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "videotrans\process\stt_faster.py", line 73, in _create_model
File "faster_whisper\transcribe.py", line 689, in init
ValueError: unsupported device cuda:1
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "videotrans\process\stt_faster.py", line 103, in faster_whisper
File "videotrans\process\stt_faster.py", line 86, in _create_model
File "videotrans\process\stt_faster.py", line 96, in _create_model
File "videotrans\process\stt_faster.py", line 73, in _create_model
File "faster_whisper\transcribe.py", line 689, in init
ValueError: unsupported device cuda:1
Traceback (most recent call last):
File "videotrans\task\only_one.py", line 85, in run
File "videotrans\task\_stage_recogn.py", line 64, in recogn
File "videotrans\recognition\__init__.py", line 178, 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 141, in _faster
File "videotrans\configure\base.py", line 300, in _new_process
videotrans.configure.excepts.VideoTransError: unsupported device cuda:1,Traceback (most recent call last):
File "videotrans\process\stt_faster.py", line 73, in _create_model
File "faster_whisper\transcribe.py", line 689, in init
ValueError: unsupported device cuda:1
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "videotrans\process\stt_faster.py", line 73, in _create_model
File "faster_whisper\transcribe.py", line 689, in init
ValueError: unsupported device cuda:1
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "videotrans\process\stt_faster.py", line 103, in faster_whisper
File "videotrans\process\stt_faster.py", line 86, in _create_model
File "videotrans\process\stt_faster.py", line 96, in _create_model
File "videotrans\process\stt_faster.py", line 73, in _create_model
File "faster_whisper\transcribe.py", line 689, in init
ValueError: unsupported device cuda:1
trk=翻译视频 单视频模式
选择音视频文件: D:/Program Files (x86)/Steam/steamapps/workshop/content/431960/3501427165/FC2PPV-3972175.mp4,
输出目录: D:/Program Files (x86)/Steam/steamapps/workshop/content/431960/3501427165/_video_out/FC2PPV-3972175-mp4,
self.cfg.cache_folder='D:/pyvideotrans/tmp/22708/569fff24a4'
已选 清理已生成, 已选 启用硬件加速
语音识别:faster-whisper(内置), large-v3, 发音语言: 日语
最长语音持续(秒): 5s
最短语音持续(毫秒): 3000ms
静音分割持续毫秒: 600ms
语音阈值: 0.45
选择VAD: silero
计算数据类型:default
识别准确度beam_size:5
识别准确度best_of:5
启用上下文感知:False
重复惩罚:1.0
文本压缩率:2.4
翻译渠道:本地大模型(兼容OpenAI),发音语言:日语,目标语言:简体中文
已选 发送完整字幕, AI翻译渠道每批字幕行数:40
Dont dubbing: self.cfg.voice_role='No'
嵌入硬字幕(双)
中日韩字幕单行字符数:15, 其他语言字幕单行字符数:40
video duration:5276643ms
video information:{'video_fps': 29.97, 'r_frame_rate': 29.97, 'video_codec_name': 'hevc', 'audio_codec_name': 'aac', 'width': 2560, 'height': 1440, 'time': 5276643, 'streams_len': 3, 'streams_audio': 1, 'video_streams': 1, 'color': 'yuv420p10le'}
self.cfg=TaskCfgVTT(uuid='569fff24a4', name='D:/Program Files (x86)/Steam/steamapps/workshop/content/431960/3501427165/FC2PPV-3972175.mp4', dirname='D:/Program Files (x86)/Steam/steamapps/workshop/content/431960/3501427165', noextname='FC2PPV-3972175', basename='FC2PPV-3972175.mp4', ext='mp4', target_dir='D:/Program Files (x86)/Steam/steamapps/workshop/content/431960/3501427165/_video_out/FC2PPV-3972175-mp4', cache_folder='D:/pyvideotrans/tmp/22708/569fff24a4', is_cuda=True, source_language='日语', source_language_code='ja', source_sub='D:/Program Files (x86)/Steam/steamapps/workshop/content/431960/3501427165/_video_out/FC2PPV-3972175-mp4/ja.srt', source_wav='D:/pyvideotrans/tmp/22708/569fff24a4/ja.wav', source_wav_output='D:/Program Files (x86)/Steam/steamapps/workshop/content/431960/3501427165/_video_out/FC2PPV-3972175-mp4/ja.m4a', target_language='简体中文', target_language_code='zh-cn', target_sub='D:/Program Files (x86)/Steam/steamapps/workshop/content/431960/3501427165/_video_out/FC2PPV-3972175-mp4/zh-cn.srt', target_wav='D:/pyvideotrans/tmp/22708/569fff24a4/target.wav', target_wav_output='D:/Program Files (x86)/Steam/steamapps/workshop/content/431960/3501427165/_video_out/FC2PPV-3972175-mp4/zh-cn.m4a', translate_type=9, tts_type=0, volume='+0%', pitch='+0Hz', voice_rate='+0%', voice_role='No', voice_autorate=True, video_autorate=True, remove_silent_mid=False, align_sub_audio=True, tts_model_name=None, detect_language='ja', recogn_type=0, model_name='large-v3', shibie_audio=None, remove_noise=False, enable_diariz=False, nums_diariz=0, rephrase=False, fix_punc=0, app_mode='biaozhun', subtitle_language=None, targetdir_mp4='D:/Program Files (x86)/Steam/steamapps/workshop/content/431960/3501427165/_video_out/FC2PPV-3972175-mp4/FC2PPV-3972175.mp4', novoice_mp4='D:/pyvideotrans/tmp/22708/569fff24a4/novoice.mp4', is_separate=False, embed_bgm=True, instrument='D:/pyvideotrans/tmp/22708/569fff24a4/instrument.wav', vocal='D:/pyvideotrans/tmp/22708/569fff24a4/vocal.wav', clear_cache=True, background_music='', subtitle_type=3, only_out_mp4=False, recogn2pass=True, output_srt=1, copysrt_rawvideo=False, loop_backaudio=1, backaudio_volume=0.8, batch=False)
video_duration_ms=5276643
=
system:Windows-10-10.0.26300-SP0
version:v4.19
frozen:True
language:zh_CN
root_dir:D:/pyvideotrans