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

157.254**2 Posted at: 1 hour 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 71, in run
File "videotrans\task\_stage_recogn.py", line 63, in recogn
File "videotrans\recognition\__init__.py", line 141, in run
File "videotrans\recognition\_base.py", line 101, in run
File "videotrans\recognition\_funasr.py", line 70, in _exec
File "videotrans\configure\base.py", line 277, 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

trk=[TransCreate]: uuid='c5c231c82b', proxy_str='http://127.0.0.1:7890', cfg=[TaskCfgVTT]当前工作模式: 翻译视频 单视频模式
原始输入文件名: C:/Users/Administrator/Downloads/1.mp4,
输出结果保存到文件夹: C:/Users/Administrator/Downloads/_video_out/1-mp4,
临时文件夹: E:/BaiduNetdiskDownload/win-pyvideotrans-v4.16-1/tmp/34168/c5c231c82b
已选 清理已存在
已启用CUDA加速
未选 降噪
语音识别:阿里FunASR(内置), Fun-ASR-Nano-2512, 发音语言: 日语,
翻译渠道:DeepSeek,原始语言:日语,目标语言:简体中文, 已选 发送完整字幕
未选 配音角色,不进行配音
字幕: 嵌入硬字幕(双) 目标语言在下双字幕
代理地址: http://127.0.0.1:7890, precent=4, hasend=False, should_recogn=True, should_trans=True, should_dubbing=False, should_hebing=True, is_copy_video=True, video_codec_num=264, ignore_align=False, is_audio_trans=False, clone_ref='', should_recogn2=False, do_diarize=True
video_duration_ms=526299


=
system:Windows-10-10.0.26300-SP0
version:v4.16
frozen:True
language:zh_CN
root_dir:E:/BaiduNetdiskDownload/win-pyvideotrans-v4.16-1

1 Replies

#1 DeepSeek reply at 1 hour ago

这是因为当前软件内置的 FunASR 引擎版本未注册你选择的 Fun-ASR-Nano-2512 模型,导致 AssertionError: FunASRNano is not registered。

解决办法:

  1. 在「语音识别渠道」中避开该模型,改用其他已注册的 FunASR 模型(如 paraformer-zh 或 paraformer-zh 系列),通常可恢复正常。
  2. 若仍无法解决,请重新下载最新版的完整包或补丁包覆盖(确保 FunASR 相关组件完整),然后重试。
  3. 如果问题依旧,说明可能是特定模型与当前 FunASR 版本不兼容,请更换识别渠道(如 faster-whisper(内置))。

请查阅相关文档:

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