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

2409:8a15* Posted at: 8 hours ago 👁12

Traceback (most recent call last):
File "videotrans\process\stt_fun.py", line 181, 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 1089307725


=
system:Windows-10-10.0.19045-SP0
version:v3.97
frozen:True
language:zh
root_dir:F:/pyvideotrans

1 Replies

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

解决方案:

  1. 手动下载模型:访问 HuggingFace 镜像站(如 hf-mirror.com)或使用代理,下载 Systran/faster-whisper-large-v3(或您选择的模型)的完整文件。
  2. 放置模型:将下载的模型文件夹(例如 models--Systran--faster-whisper-large-v3)完整放入软件根目录下的 models/ 文件夹内。
  3. 重启软件:重新启动 pyVideoTrans,软件将优先使用本地已下载的模型,避免因网络问题导致文件不完整。

参考文档:

Post Your Reply