#7821 FunASRNano is not registered:Traceback (most recent call last): File

101.71**3 Posted at: 2 hours ago

FunASRNano is not registered:Traceback (most recent call last):
File "videotrans\process\stt_funasr.py", line 51, in funasr_mlt
File "funasr\auto\auto_model.py", line 135, in init

model, kwargs = self.build_model(**kwargs)

File "funasr\auto\auto_model.py", line 281, in build_model

assert model_class is not None, f'{kwargs["model"]} is not registered'

AssertionError: FunASRNano is not registered

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 99, in run
File "videotrans\recognition\_funasr.py", line 72, in _exec
File "videotrans\configure\base.py", line 264, in _new_process
videotrans.configure.excepts.VideoTransError: FunASRNano is not registered:Traceback (most recent call last):
File "videotrans\process\stt_funasr.py", line 51, in funasr_mlt
File "funasr\auto\auto_model.py", line 135, in init

model, kwargs = self.build_model(**kwargs)

File "funasr\auto\auto_model.py", line 281, in build_model

assert model_class is not None, f'{kwargs["model"]} is not registered'

AssertionError: FunASRNano is not registered

cfg=[TaskCfgVTT]当前工作模式: 翻译视频 单视频模式
原始输入文件名: D:/360MoveData/Users/lenovo/Desktop/教学/视频下载/Our First Day in Shanghai (China’s Most Important City)10.5.mp4,
输出结果保存到文件夹: D:/360MoveData/Users/lenovo/Desktop/教学/视频下载/_video_out/Our First Day in Shanghai (China’s Most Important City)10.5-mp4,
临时文件夹: D:/360MoveData/Users/lenovo/Desktop/教学/win-pyvideotrans-v4.14/tmp/10908/baf003cccb
已选 清理已存在
未启用CUDA加速
未选 降噪
语音识别:阿里FunASR(内置), Fun-ASR-Nano-2512, 发音语言: 自动检测, 断句方式:默认断句
翻译渠道:微软(免费),原始语言:自动检测,目标语言:简体中文, 已选 发送完整字幕
未选 配音角色,不进行配音
字幕: 嵌入硬字幕
video_duration_ms=1951429


=
system:Windows-10-10.0.26200-SP0
version:v4.14
frozen:True
language:zh_CN
root_dir:D:/360MoveData/Users/lenovo/Desktop/教学/win-pyvideotrans-v4.14

1 Replies

#1 DeepSeek reply at 2 hours ago

核心原因是:阿里FunASR(内置) 渠道中的 Fun-ASR-Nano-2512 模型未在本地 FunASR 库中正确注册,通常由模型文件下载不完整/缺失或模型名称与版本不匹配导致。

同时指出两个需注意的配置问题:

  1. 你使用的是 翻译视频 模式,并将 发音语言 设为 自动检测。FunASR(内置) 渠道需要明确指定发音语言,不支持自动检测(自动检测仅适用于 faster-whisper / openai-whisper / Qwen-ASR)。请将发音语言明确指定,例如中文视频选 中文。
  2. 该错误本身来自 FunASR 模型加载。

解决方案:

  1. 将主界面 发音语言 由 自动检测 改为视频实际语言(如 中文),不要用 自动检测。
  2. 检查/重新下载 FunASR 渠道模型文件。若使用的模型未下载完整,请删除对应模型目录后重新下载。

  3. 若仍报错,建议改用更稳定、支持的渠道:

    • 中文视频推荐:Qwen-ASR(内置)(中文效果佳)、faster-whisper(内置) 的 large-v3 模型。
  4. 勾选主界面 清理已生成 后重试,避免使用上次残留的缓存文件。
提示:FunASR(内置) 相关模型位于阿里魔塔,若自动下载失败会频繁出现此类未注册/加载错误,建议手动下载模型覆盖。

如按上述操作后仍报错,请提供软件安装目录下 logs/ 文件夹中最新的日志文件(复制底部约30行报错信息)以便进一步分析。

请查阅相关文档:

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