#6433 Subprocess Error: Backend should be defined in the BACKENDS_MAPPING. Offending backend: tfTraceback (most recent call la

1.204.**5 Posted at: 1 hour ago

Subprocess Error: Backend should be defined in the BACKENDS_MAPPING. Offending backend: tf
Traceback (most recent call last):
File "videotrans\task\only_one.py", line 62, in run
File "videotrans\task\_stage_recogn.py", line 62, in recogn
File "videotrans\recognition\__init__.py", line 206, in run
File "videotrans\recognition\_base.py", line 92, in run
File "videotrans\recognition\_qwenasrlocal.py", line 40, in _exec
File "videotrans\recognition\_base.py", line 206, in cut_audio
File "videotrans\recognition\_base.py", line 187, in _vad_split
File "videotrans\configure\base.py", line 267, in _new_process
videotrans.configure.excepts.VideoTransError: Subprocess Error: Backend should be defined in the BACKENDS_MAPPING. Offending backend: tf

cfg=[TaskCfgVTT]当前工作模式: 翻译视频或音频 单视频模式
原始输入文件名: D:/Bandicam/夜色名为温柔 - 副本.mp4,
输出结果保存到文件夹: D:/Bandicam/_video_out/夜色名为温柔 - 副本-mp4,
临时文件夹: D:/AIGC/pyVideoTrans/tmp/7952/b6608a2d0c
未选 清理已存在
已启用CUDA加速
未选 降噪
语音识别:Qwen-ASR(内置), model_name: 1.7B, 发音语言: 简体中文, 断句方式:默认断句
翻译渠道:DeepSeek,原始语言:简体中文,目标语言:英语, 已选 发送完整字幕
配音渠道:Qwen3-TTS(内置), 角色:clone, 配音语言:英语, 未选 二次语音识别
音量:+0%, 语速:+0%, 已选 音频加速, 未选 视频慢速
字幕: 嵌入软字幕(双) 目标语言在上双字幕
已选 仅输出mp4
代理地址:


=
system:Windows-10-10.0.26200-SP0
version:v4.08
frozen:True
language:zh
root_dir:D:/AIGC/pyVideoTrans

1 Replies

该报错是升级后遗留的旧版代码与当前 transformers 等依赖不匹配导致的,常见于补丁覆盖不完整或源码未更新到最新。

处理步骤:

  1. 前往官网下载当前最新版本的完整包或补丁包,覆盖到软件根目录;
  2. 覆盖后重启 sp.exe 再重新执行任务;
  3. 如果使用源码部署,请重新 git pull 拉取最新源码,并执行 uv sync 更新依赖;
  4. 覆盖配置文件不会丢失,配置文件保存在 软件目录/videotrans/ 下的 params.jsoncfg.json 等文件中。

若覆盖完整包后仍报同样错误,请提供软件安装目录 logs/ 文件夹中最新的日志文件内容,以便进一步定位。

请查阅相关文档:

Post Your Reply
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

Dondate via PayPal

Related resource