Batch size mismatch: audio=8, context=0:Traceback (most recent call last):
File "videotrans\process\stt_fun.py", line 559, in qwen3asr_fun
File "torch\utils\_contextlib.py", line 116, in decorate_context
return func(*args, **kwargs)File "D:\videotrans\_internal\qwen_asr\inference\qwen3_asr.py", line 345, in transcribe
raise ValueError(f"Batch size mismatch: audio={n}, context={len(ctxs)}")ValueError: Batch size mismatch: audio=8, context=0
[Qwen-ASR(本地内置), DeepSeek, Edge-TTS(免费)]
Traceback (most recent call last):
File "videotrans\task\only_one.py", line 47, in run
File "videotrans\task\trans_create.py", line 317, in recogn
File "videotrans\recognition\__init__.py", line 190, in run
File "videotrans\recognition\_base.py", line 94, in run
File "videotrans\recognition\_qwenasrlocal.py", line 45, in _exec
File "videotrans\configure\base.py", line 268, in _new_process
videotrans.configure.excepts.VideoTransError: Batch size mismatch: audio=8, context=0:Traceback (most recent call last):
File "videotrans\process\stt_fun.py", line 559, in qwen3asr_fun
File "torch\utils\_contextlib.py", line 116, in decorate_context
return func(*args, **kwargs)File "D:\videotrans\_internal\qwen_asr\inference\qwen3_asr.py", line 345, in transcribe
raise ValueError(f"Batch size mismatch: audio={n}, context={len(ctxs)}")ValueError: Batch size mismatch: audio=8, context=0
TaskCfgVTT(uuid='2434f1fe9b', name='C:/Users/zwsoft/Desktop/WuKong 2027 DEMO.mp4', dirname='C:/Users/zwsoft/Desktop', noextname='WuKong 2027 DEMO', basename='WuKong 2027 DEMO.mp4', ext='mp4', target_dir='WuKong 2027 DEMO-mp4', cache_folder='D:/videotrans/tmp/22188/2434f1fe9b', is_cuda=True, source_language='英语', source_language_code='en', source_sub='WuKong 2027 DEMO-mp4/en.srt', source_wav='D:/videotrans/tmp/22188/2434f1fe9b/en.wav', source_wav_output='WuKong 2027 DEMO-mp4/en.m4a', target_language='简体中文', target_language_code='zh-cn', target_sub='WuKong 2027 DEMO-mp4/zh-cn.srt', target_wav='D:/videotrans/tmp/22188/2434f1fe9b/target.wav', target_wav_output='WuKong 2027 DEMO-mp4/zh-cn.m4a', translate_type=4, tts_type=0, volume='+0%', pitch='+0Hz', voice_rate='+0%', voice_role='No', voice_autorate=True, video_autorate=False, remove_silent_mid=False, align_sub_audio=True, detect_language='en', recogn_type=2, model_name='1.7B', shibie_audio=None, remove_noise=False, enable_diariz=False, nums_diariz=0, rephrase=0, fix_punc=0, subtitle_language=None, app_mode='biaozhun', subtitles='', targetdir_mp4='WuKong 2027 DEMO-mp4/WuKong 2027 DEMO.mp4', novoice_mp4='D:/videotrans/tmp/22188/2434f1fe9b/novoice.mp4', is_separate=False, embed_bgm=True, instrument='D:/videotrans/tmp/22188/2434f1fe9b/instrument.wav', vocal='D:/videotrans/tmp/22188/2434f1fe9b/vocal.wav', clear_cache=True, background_music='', subtitle_type=4, only_out_mp4=False, recogn2pass=False, output_srt=2, copysrt_rawvideo=False, loop_backaudio=1, backaudio_volume=0.8)
=
system:Windows-10-10.0.22631-SP0
version:v4.02
frozen:True
language:zh
root_dir:D:/videotrans