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

60.185* Posted at: 2 hours ago 👁4

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


=
system:Windows-10-10.0.22631-SP0
version:v3.95
frozen:True
language:zh
root_dir:D:/BaiduNetdiskDownload/win-pyvideotrans-v3.95

1 Replies

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

解决方案:

  1. 手动下载并放置模型文件:由于网络问题,从 HuggingFace 自动下载的模型可能不完整。

    • 前往 HuggingFace 模型库(例如 Systran/faster-whisper-large-v3)或国内镜像站,手动下载完整的模型文件。
    • 将下载的模型文件夹(例如 models--Systran--faster-whisper-large-v3)完整地放入软件安装目录下的 models/ 文件夹内。
    • 确保文件夹命名与软件期望的完全一致。
  2. 清理缓存并重试:在软件菜单中,选择“工具” -> “清理缓存”,然后重启软件并重新执行任务。
  3. 更换模型:如果问题持续,可以尝试在语音识别设置中更换为其他模型(如 large-v2)或使用在线识别渠道(如 OpenAI Whisper API)。

参考文档:

Post Your Reply
Open source and free maintenance is not easy. If this project is helpful to you, please consider making a small donation to help the project continue to maintain and update.

Related resource

Similar issues already exist