#7617 Model does not existTraceback (most recent call last):

180.93**2 Posted at: 1 hour ago

Model does not exist
Traceback (most recent call last):
File "videotrans\recognition\_base.py", line 99, in run
File "tenacity\__init__.py", line 338, in wrapped_f
File "tenacity\__init__.py", line 477, in call
File "tenacity\__init__.py", line 378, in iter
File "tenacity\__init__.py", line 421, in exc_check
tenacity.RetryError: RetryError[]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "videotrans\task\only_one.py", line 70, in run
File "videotrans\task\_stage_recogn.py", line 63, in recogn
File "videotrans\recognition\__init__.py", line 121, in run
File "videotrans\recognition\_base.py", line 108, in run
File "tenacity\__init__.py", line 480, in call
File "videotrans\recognition\_openrouter.py", line 38, in _exec
videotrans.configure.excepts.SpeechToTextError: Model does not exist

cfg=[TaskCfgVTT]当前工作模式: 翻译视频 单视频模式
原始输入文件名: D:/video/tiktok-1790062882013.mp4,
输出结果保存到文件夹: D:/video/_video_out/tiktok-1790062882013-mp4,
临时文件夹: D:/win-pyvideotrans-v4.13-1/tmp/3804/570e277c9d
已选 清理已存在
已启用CUDA加速
未选 降噪
语音识别:OpenRouter, , 发音语言: 越南语, 断句方式:默认断句
翻译渠道:OpenRouter,原始语言:越南语,目标语言:简体中文, 已选 发送完整字幕
未选 配音角色,不进行配音
字幕: 嵌入软字幕
代理地址:http://127.0.0.1:10808
video_duration_ms=15770


=
system:Windows-10-10.0.22631-SP0
version:v4.13
frozen:True
language:zh_CN
root_dir:D:/win-pyvideotrans-v4.13-1

1 Replies

#1 DeepSeek reply at 1 hour ago

这是因为你选择了 OpenRouter 作为语音识别渠道,但没有选择具体的语音识别模型,导致请求发送到 OpenRouter 时模型名称为空,服务端返回 Model does not exist(模型不存在)。

从你的日志可以看到:语音识别:OpenRouter, , 发音语言: 越南语,渠道后面是空的,说明模型未选中。

解决方案

  1. 在主界面 语音识别(STT Service) 一行,选择 OpenRouter 渠道后,必须在其右侧的模型下拉框中明确选择一个语音识别模型(不能留空)。

  2. 如果下拉框中没有可选模型,请点击 菜单 → 翻译设置 → OpenRouter,检查是否已正确填写 OpenRouter 的 API 密钥(SK)。

  3. 配置完成后重新选择模型再执行。

补充建议(针对越南语识别)

OpenRouter 上的语音识别模型对越南语支持有限,建议改用以下渠道获得更好的越南语识别效果:

  • faster-whisper(内置) + large-v3 模型(免费、本地、支持越南语)
  • 或 OpenAI 语音识别 API

请查阅相关文档:

Thinking...
Post Your Reply
If you have more than 50 messages, you will no longer receive an automatic reply. Please ask a new question!
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.

Dondate via ko-fi.com

Related resource