#3088 RuntimeError: File model.bin is incomplete: failed to read a buffer of size 13107200 at position 433388930

57.129* Posted at: 12 hours ago 👁15

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 13107200 at position 433388930


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

1 Replies

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

解决方案:

  1. 手动下载模型:由于网络问题,从 HuggingFace 自动下载的模型可能损坏。

    • 前往 HuggingFace 模型页面(例如 Systran/faster-whisper-large-v3)。
    • 手动下载 model.bin 文件。
  2. 放置模型文件

    • 在软件根目录(D:/videotrans)下找到 models 文件夹。
    • 根据模型名称创建对应的文件夹结构,例如 models--Systran--faster-whisper-large-v3
    • 将下载的 model.bin 文件放入该文件夹内。
  3. 清理并重试

    • 在软件菜单中,点击“工具” -> “清理缓存”,然后重启软件。
    • 再次尝试语音识别任务。

参考文档:

Post Your Reply