#3592 RuntimeError: File model.bin is incomplete: failed to read a buffer of size 9830400 at position 735107841

117.152* Posted at: 18 hours ago 👁17

Traceback (most recent call last):
File "videotrans\process\stt_fun.py", line 179, in faster_whisper
File "faster_whisper\transcribe.py", line 689, in init
RuntimeError: File model.bin is incomplete: failed to read a buffer of size 9830400 at position 735107841


=
system:Windows-10-10.0.26200-SP0
version:v3.96
frozen:True
language:zh
root_dir:D:/pyvideotrans

1 Replies

这是由于 faster-whisper 模型文件 model.bin 下载不完整或已损坏导致的。

解决方案:

  1. 手动下载并替换模型文件

    • 前往 HuggingFace 模型页面:https://huggingface.co/Systran/faster-whisper-large-v3/tree/main
    • 下载该页面中所有 .json.bin.txt 文件。
    • 在软件根目录 D:/pyvideotrans 下的 models 文件夹内,创建名为 models--Systran--faster-whisper-large-v3 的文件夹。
    • 将下载的所有文件复制到此文件夹内,覆盖已有文件。
  2. 清理缓存并重试

    • 在软件主界面,勾选“清理已生成”选项。
    • 重新选择视频文件并开始翻译任务。

注意:如果网络不稳定,建议使用下载工具(如 IDM)或通过镜像站(如 https://hf-mirror.com)下载模型文件,以确保文件完整。

请查阅相关文档:

Post Your Reply