#3149 RuntimeError: Model distil-large-v3.5 not found; available models = ['tiny.en', 'tiny', 'base.en', 'base', 'small.en', '

205.198* Posted at: 9 days ago 👁34

Traceback (most recent call last):
File "videotrans\process\stt_fun.py", line 61, in openai_whisper
File "whisper\__init__.py", line 143, in load_model
RuntimeError: Model distil-large-v3.5 not found; available models = ['tiny.en', 'tiny', 'base.en', 'base', 'small.en', 'small', 'medium.en', 'medium', 'large-v1', 'large-v2', 'large-v3', 'large', 'large-v3-turbo', 'turbo']


=
system:Windows-10-10.0.26200-SP0
version:v3.96
frozen:True
language:zh
root_dir:D:/A

1 Replies

这是由于在语音识别时选择了 distil-large-v3.5 模型,但 OpenAI Whisper 本地模型库中不包含此模型。

解决方案

  1. 在软件主界面,进入“语音识别”设置。
  2. 在“模型”下拉列表中,选择一个可用的模型,例如 large-v3large-v3-turbo
  3. 保存设置并重新执行任务。

说明
distil-large-v3.5 是 Distil-Whisper 项目发布的蒸馏模型,并非 OpenAI 官方 Whisper 模型的一部分。pyVideoTrans 的“OpenAI-Whisper”渠道使用的是官方模型库,因此无法加载该模型。如需使用 Distil-Whisper 模型,请考虑使用“HuggingFace_ASR”渠道并配置相应的模型路径。

请查阅相关文档:

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