#5626 TaskCfgVTT(uuid='20a56016fe', name='D:/下载/720p.av1.mp4 (11).mp4', dirname='D:/下载', noextname='720p.av1.mp4 (11)', basena

223.104* Posted at: 2 days ago

File model.bin is incomplete: failed to read a buffer of size 132776960 at position 233,Traceback (most recent call last):
File "videotrans\process\stt_fun.py", line 207, in faster_whisper
File "videotrans\process\stt_fun.py", line 172, in _create_model
File "faster_whisper\transcribe.py", line 689, in init
RuntimeError: File model.bin is incomplete: failed to read a buffer of size 132776960 at position 233
语音识别阶段出错:faster-whisper(本地), 翻译字幕阶段出错: Google(免费), 配音阶段出错:Edge-TTS(免费)
Traceback (most recent call last):
File "videotrans\task\only_one.py", line 47, in run
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 253, in _new_process
videotrans.configure.excepts.VideoTransError: File model.bin is incomplete: failed to read a buffer of size 132776960 at position 233,Traceback (most recent call last):
File "videotrans\process\stt_fun.py", line 207, in faster_whisper
File "videotrans\process\stt_fun.py", line 172, in _create_model
File "faster_whisper\transcribe.py", line 689, in init
RuntimeError: File model.bin is incomplete: failed to read a buffer of size 132776960 at position 233
TaskCfgVTT(uuid='20a56016fe', name='D:/下载/720p.av1.mp4 (11).mp4', dirname='D:/下载', noextname='720p.av1.mp4 (11)', basename='720p.av1.mp4 (11).mp4', ext='mp4', target_dir='D:/已翻译字幕/720p.av1.mp4 (11)-mp4', cache_folder='D:/迅雷下载/win-pyvideotrans-v4.01-0602/tmp/18960/20a56016fe', is_cuda=False, source_language='英语', source_language_code='en', source_sub='D:/已翻译字幕/720p.av1.mp4 (11)-mp4/en.srt', source_wav='D:/迅雷下载/win-pyvideotrans-v4.01-0602/tmp/18960/20a56016fe/en.wav', source_wav_output='D:/已翻译字幕/720p.av1.mp4 (11)-mp4/en.m4a', target_language='简体中文', target_language_code='zh-cn', target_sub='D:/已翻译字幕/720p.av1.mp4 (11)-mp4/zh-cn.srt', target_wav='D:/迅雷下载/win-pyvideotrans-v4.01-0602/tmp/18960/20a56016fe/target.wav', target_wav_output='D:/已翻译字幕/720p.av1.mp4 (11)-mp4/zh-cn.m4a', translate_type=0, 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=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:/已翻译字幕/720p.av1.mp4 (11)-mp4/720p.av1.mp4 (11).mp4', novoice_mp4='D:/迅雷下载/win-pyvideotrans-v4.01-0602/tmp/18960/20a56016fe/novoice.mp4', is_separate=False, embed_bgm=True, instrument=None, vocal='D:/迅雷下载/win-pyvideotrans-v4.01-0602/tmp/18960/20a56016fe/vocal.wav', clear_cache=True, 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.19045-SP0
version:v4.01
frozen:True
language:zh
root_dir:D:/迅雷下载/win-pyvideotrans-v4.01-0602

1 Replies

File model.bin is incomplete 表明 large-v3-turbo 模型文件在下载或解压时已损坏,无法完整读取。

解决方法(二选一):

  1. 自动重下:删除坏模型文件夹,让软件下次运行自动重新下载。

    • 关闭 pyVideoTrans。
    • 进入软件根目录的 models/ 文件夹,删除 models--mobiuslabsgmbh--faster-whisper-large-v3-turbo 整个文件夹(或命名为类似名字的文件夹)。
    • 重新打开软件,运行任务,软件会自动下载完整模型(请确保网络稳定,下载过程不要中断)。
  2. 手动下载覆盖(推荐网络不佳时使用):

    • 访问 large-v3-turbo 模型页面(国内可用镜像 hf-mirror.com)。
    • 下载页面内所有 *.bin*.json*.txt 文件。
    • 将这些文件复制到 models/models--mobiuslabsgmbh--faster-whisper-large-v3-turbo 文件夹内(如果文件夹不存在则手动创建)。
    • 重新运行软件。
若使用 GPU 加速但未勾选 CUDA,或内存不足也可能引发类似错误,但日志中 is_cuda=False 表明当前未启用 GPU。如果后续仍有问题,可尝试改用 large-v3medium 模型,或勾选 CUDA(需安装 CUDA 12.8+ 和 cuDNN 9.11+)。
Post Your Reply
Open source and free maintenance is not easy. If this project is helpful to you, please consider making a small donation to help the project continue to maintain and update. Dondate: ko-fi.com/jianchang512

Related resource