#7245 Traceback (most recent call last): File

113.89**4 Posted at: 4 hours ago

Traceback (most recent call last):
File "videotrans\task\only_one.py", line 70, in run
File "videotrans\task\_stage_recogn.py", line 65, in recogn
File "videotrans\recognition\__init__.py", line 228, in run
File "videotrans\__init__.py", line 28, in get_class
File "importlib\__init__.py", line 126, in import_module
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1004, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'videotrans.recognition._vibeasr'

cfg=[TaskCfgVTT]当前工作模式: 翻译视频 单视频模式
原始输入文件名: F:/golearn/GBD002/006.mp4,
输出结果保存到文件夹: F:/golearn/GBD002/out/006-mp4,
临时文件夹: G:/VideoTrans/tmp/7556/51a44e2231
已选 清理已存在
已启用CUDA加速
未选 降噪
语音识别:VibeVoice-ASR(内置), , 发音语言: 英语, 断句方式:默认断句
翻译渠道:Google(免费),原始语言:英语,目标语言:简体中文, 已选 发送完整字幕
配音渠道:Edge-TTS(免费), 角色:Yunyang(Male/CN), 配音语言:简体中文, 未选 二次语音识别
音量:+0%, 语速:+0%, 未选 音频加速, 未选 视频慢速
未选 移除字幕间空隙, 已选 强制对齐字幕和声音
字幕: 嵌入硬字幕
video_duration_ms=495995


=
system:Windows-10-10.0.19045-SP0
version:v4.12
frozen:True
language:zh_CN
root_dir:G:/VideoTrans

1 Replies

#1 DeepSeek reply at 4 hours ago

这是因为当前版本中缺少 VibeVoice-ASR(内置) 渠道对应的模块文件 videotrans/recognition/_vibeasr.py,导致在语音识别阶段动态导入该模块时失败。

解决方案(任选其一):

  1. 更换语音识别渠道(推荐):在主界面将语音识别渠道改为 faster-whisper(内置),模型选 large-v3-turbo,这是默认推荐且稳定可用的渠道。
  2. 重新下载最新补丁包覆盖:当前你使用的是 G:/VideoTrans 下的打包版,可能存在补丁未完整覆盖。请前往下载最新补丁包,完整覆盖到软件目录后重启软件再试。
  3. 源码部署用户:请确保 videotrans/recognition/ 目录下存在 _vibeasr.py 文件,如缺失请重新拉取最新源码覆盖。

注意:VibeVoice-ASR 模型极为消耗显存(低于 15G 不建议使用),若不满足显卡条件,建议直接改用 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