#3836 RuntimeError: Unable to open file 'model.bin' in model 'F:/softwares/win-pyvideotrans-v3.96-22/models/models--Systran--f

162.141* Posted at: 3 hours ago 👁10

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: Unable to open file 'model.bin' in model 'F:/softwares/win-pyvideotrans-v3.96-22/models/models--Systran--faster-whisper-large-v3'


=
system:Windows-10-10.0.26200-SP0
version:v3.96
frozen:True
language:zh
root_dir:F:/softwares/win-pyvideotrans-v3.96-22

1 Replies

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

解决方案:

  1. 手动下载 large-v3 模型文件。
  2. 在软件根目录的 models 文件夹内,创建名为 models--Systran--faster-whisper-large-v3 的文件夹。
  3. 访问模型下载地址:https://huggingface.co/Systran/faster-whisper-large-v3/tree/main
  4. 将该页面上的所有 .json.bin.txt 文件下载下来,并复制到上一步创建的文件夹中。
  5. 重新启动软件并尝试翻译。

注意: 如果自动下载经常失败,建议配置网络代理或使用国内镜像站(如 https://hf-mirror.com)进行下载。

请查阅相关文档:

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