#6045 Subprocess Error: Backend should be defined in the BACKENDS_MAPPING. Offending backend: tensorflow_textTraceback (most r

2001:1388* Posted at: 1 hour ago

Subprocess Error: Backend should be defined in the BACKENDS_MAPPING. Offending backend: tensorflow_text
Traceback (most recent call last):
File "videotrans\task\only_one.py", line 47, in run
File "videotrans\task\_stage_recogn.py", line 62, in recogn
File "videotrans\recognition\__init__.py", line 205, in run
File "videotrans\recognition\_base.py", line 92, in run
File "videotrans\recognition\_whisper.py", line 38, in _exec
File "videotrans\recognition\_whisper.py", line 124, in _faster
File "videotrans\configure\base.py", line 272, in _new_process
videotrans.configure.excepts.VideoTransError: Subprocess Error: Backend should be defined in the BACKENDS_MAPPING. Offending backend: tensorflow_text

cfg=[TaskCfgVTT]当前工作模式: 翻译视频或音频 单视频模式
原始输入文件名: C:/Users/Ezel/Downloads/numeros_complejos.mp4,
输出结果保存到文件夹: D:/Descargas IMPORTANTES/traductorV/Traducidos_X/numeros_complejos-mp4,
临时文件夹: D:/Descargas IMPORTANTES/traductorV/win-pyvideotrans-v4.05-0711/tmp/31728/c4b58aea7d
已选 清理已存在
未选 启用CUDA加速
未选 降噪
ASR Channel:faster-whisper(LocalBuilt-in), model_name: large-v3-turbo, 发音语言: English, 断句方式:默认断句
Trans Channel:Google (Free),原始语言:English,目标语言:Spanish, 已选 Send SRT
Dubb Channel:Edge-TTS(Free), 角色:Alex(Male/PE), 配音语言:Spanish, 未选 二次语音识别
音量:+0%, 语速:+0%, 已选 音频加速, 未选 视频慢速
字幕: Embed Hard Subs
代理地址:


=
system:Windows-10-10.0.19045-SP0
version:v4.06
frozen:True
language:en
root_dir:D:/Descargas IMPORTANTES/traductorV/win-pyvideotrans-v4.05-0711

1 Replies

The error "Backend should be defined in the BACKENDS_MAPPING. Offending backend: tensorflow_text" is a known issue in pyVideoTrans v4.05/4.06 caused by a transformers version upgrade that did not clean up old code artifacts.

Solution:

  1. Download the latest patch package for v4.06 from the official website: https://pyvideotrans.com/downpackage
  2. Extract the patch and overwrite all files into your current software installation directory (where sp.exe resides).
  3. Restart the software. This removes the obsolete tensorflow_text backend reference.

If the problem persists, download the full v4.06 package (≈2.6GB) and re-extract it to a clean directory (e.g., D:\pyVideoTrans), then apply the patch again.

Refer to the official FAQ:

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