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

103.151* Posted at: 8 hours ago 👁11

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


=
system:Windows-10-10.0.19045-SP0
version:v3.98
frozen:True
language:zh
root_dir:E:/

1 Replies

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

  1. 删除损坏的模型文件。
    前往软件安装目录 E:\ 下的 models 文件夹,找到并删除与您使用的模型对应的文件夹(例如 models--Systran--faster-whisper-large-v3)。
  2. 手动下载完整的模型文件。

    • 根据您想使用的模型(例如 large-v3),在 models 文件夹内创建对应的文件夹 models--Systran--faster-whisper-large-v3
    • 访问该模型的 HuggingFace 页面(例如 https://huggingface.co/Systran/faster-whisper-large-v3/tree/main)。
    • 将该页面显示的所有 .json.bin.txt 文件下载到上一步创建的文件夹内。
  3. 重新运行软件。
    手动下载并放置好模型文件后,重新启动 pyVideoTrans 并尝试再次进行语音识别。

请查阅相关文档:

Post Your Reply