#8268 语音识别阶段出错[Nemotron-3.5-asr-0.6b(内置)] NoneTraceback (most recent call last):

2a09**6f Posted at: 2 hours ago

语音识别阶段出错[Nemotron-3.5-asr-0.6b(内置)] None
Traceback (most recent call last):

File "videotrans\task\job.py", line 35, in run

File "videotrans\task\job.py", line 101, in process_task

File "videotrans\task\speech2text.py", line 97, in recogn

File "videotrans\recognition\__init__.py", line 141, in run

File "videotrans\recognition\_base.py", line 101, in run

File "videotrans\recognition\_huggingface.py", line 34, in _exec

File "videotrans\recognition\_huggingface.py", line 70, in _pipe_asr

File "videotrans\configure\base.py", line 277, in _new_process

videotrans.configure.excepts.VideoTransError: None
trk=[SpeechToText]: uuid='77d78d31fd', proxy_str=None, cfg=[TaskCfgSTT]
原始输入文件名: F:/Downloads/DCL/e/Jerked off on his Mothers Panties.mp4,
输出结果保存到文件夹: D:/win-pyvideotrans-v4.16-1/output/recogn,
临时文件夹: D:/win-pyvideotrans-v4.16-1/tmp/19012/77d78d31fd
未启用CUDA加速
未选 降噪
语音识别:Nemotron-3.5-asr-0.6b(内置),
发音语言:ru
未选 降噪, precent=1, hasend=False, should_recogn=True, should_trans=False, should_dubbing=False, should_hebing=False, out_format='srt', copysrt_rawvideo=False, spk_insert=True


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

1 Replies

#1 DeepSeek reply at 2 hours ago

该报错 VideoTransError: None 出现在 _huggingface.py 的 _pipe_asr → _new_process 调用链中,表示 Nemotron 模型在独立子进程内加载或推理时崩溃,但子进程没有回传具体的异常信息(所以显示为 None)。常见原因是:模型文件下载不完整、显存或内存不足,或 transformers 依赖版本异常。

排查步骤:

  1. 检查模型是否下载完整。模型应位于 软件目录/models/models--nvidia--nemotron-3.5-asr-streaming-0.6b。若目录存在,但文件缺失或大小异常,请整个删除后重新识别,触发重新下载;也可手动从 https://huggingface.co/nvidia/nemotron-3.5-asr-streaming-0.6b/tree/main 下载全部文件,放入上述目录。
  2. 检查显存。Nemotron 渠道只要 CUDA 可用就会优先使用 GPU,与是否勾选“启用CUDA加速”无关。请进入 菜单-工具-高级选项-通用设置,将 GPU同时任务数[重启生效] 设为 1,关闭其他占显存的程序后重启软件重试。显存或内存不足时,子进程会直接崩溃,并最终表现为 None。
  3. 该渠道对俄语(ru)是支持的,可先改用 faster-whisper(内置) + large-v3 识别同一文件,验证是否为模型环境问题而非音频问题。
  4. 若上述均无效,请提供 软件安装目录/logs/ 下当日日志文件底部约 30 行内容(文件名形如 20250622.log),其中通常包含子进程的真实崩溃原因。

请查阅相关文档:

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