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

117.140* 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 9830400 at position 420263491


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

1 Replies

这是由于语音识别模型文件 model.bin 下载不完整或已损坏导致的。

解决方案:

  1. 手动下载 faster-whisper 模型文件。

    • 前往 HuggingFace 模型仓库(例如 Systran/faster-whisper-large-v3)或国内镜像站。
    • 下载模型文件,通常包括 config.json, model.bin, vocabulary.json 等。
  2. 将模型文件放置到正确的目录。

    • 在软件根目录下的 models 文件夹内,创建一个符合命名规则的文件夹,例如 models--Systran--faster-whisper-large-v3
    • 将下载的所有模型文件放入该文件夹中。
  3. 重启软件,再次尝试语音识别。

如果网络条件不佳,建议配置网络代理或使用镜像站下载模型。

请查阅相关文档:

Post Your Reply