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

240e**9ac7 Posted at: 58 minutes 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]当前工作模式: 翻译视频 单视频模式
原始输入文件名: E:/MyDownload/2.16完成蜗杆建模.mp4,
输出结果保存到文件夹: E:/MyDownload/_video_out/2.16完成蜗杆建模-mp4,
临时文件夹: E:/py/win-pyvideotrans-v4.14/tmp/53180/688c1486fb
已选 清理已存在
已启用CUDA加速
未选 降噪
语音识别:阿里FunASR(内置), Fun-ASR-Nano-2512, 发音语言: 简体中文, 断句方式:默认断句
发音语言和目标语言相同,不翻译字幕
未选 配音角色,不进行配音
字幕: 嵌入硬字幕
video_duration_ms=502566


=
system:Windows-10-10.0.26100-SP0
version:v4.14
frozen:True
language:zh_CN
root_dir:E:/Python_venv/win-pyvideotrans-v4.14

1 Replies

#1 DeepSeek reply at 58 minutes ago

这是 FunASR 渠道加载模型时内部组件未注册导致的底层故障(FunASRNano is not registered),属于模型/依赖不匹配问题,与你的操作无关。

解决方案(按顺序尝试)

  1. 改用其他中文识别渠道(最快绕过)
    你的场景是简体中文视频,推荐直接切换为:

    • Qwen-ASR(内置)(中文效果佳)
    • 或 faster-whisper(内置) + large-v3

    这两个渠道避开 FunASR 的注册问题,开箱可用。

  2. 若必须用 FunASR,请检查版本完整性

    • 确认软件是最新版本 v4.14(左上角查看版本号)。旧版与 Fun-ASR-Nano-2512 模型不兼容会报此错。
    • 若是覆盖补丁包升级,检查是否遗漏覆盖 _internal 和 videotrans 文件夹。删除旧目录下所有 __pycache__ 文件夹后再覆盖。
  3. 清理模型后重下
    FunASR 模型可能下载不完整(只下了部分文件)。删除软件目录下 FunASR 相关已下载模型,重试时自动重新下载。

请查阅相关文档:

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