#3744 TaskCfgSTT(is_cuda=True, uuid='73ab3e1b5c', cache_folder='D:/翻译文件/win-pyvideotrans-v3.98-312/tmp/12136/73ab3e1b5c', targ

151.242* Posted at: 1 hour ago 👁7

语音识别阶段出错 [Qwen-ASR(本地)] Could not read model from D:\翻译文件\win-pyvideotrans-v3.98-312\_internal agisa/data/nagisa_v001.model
concurrent.futures.process._RemoteTraceback:
"""
Traceback (most recent call last):
File "concurrent\futures\process.py", line 246, in _process_worker
File "videotrans\process\stt_fun.py", line 806, in qwen3asr_fun
File "D:\翻译文件\win-pyvideotrans-v3.98-312\_internal\qwen_asr\__init__.py", line 20, in

from .inference.qwen3_asr import Qwen3ASRModel

File "D:\翻译文件\win-pyvideotrans-v3.98-312\_internal\qwen_asr\inference\qwen3_asr.py", line 32, in

from .qwen3_forced_aligner import Qwen3ForcedAligner

File "D:\翻译文件\win-pyvideotrans-v3.98-312\_internal\qwen_asr\inference\qwen3_forced_aligner.py", line 21, in

import nagisa

File "D:\翻译文件\win-pyvideotrans-v3.98-312\_internal agisa\__init__.py", line 8, in

tagger  = Tagger()

File "D:\翻译文件\win-pyvideotrans-v3.98-312\_internal agisa\tagger.py", line 38, in init

self._model = model.Model(self._hp, params)

File "D:\翻译文件\win-pyvideotrans-v3.98-312\_internal agisa\model.py", line 75, in init

model.populate(params)

File "_dynet.pyx", line 1461, in _dynet.ParameterCollection.populate
File "_dynet.pyx", line 1516, in _dynet.ParameterCollection.populate_from_textfile
RuntimeError: Could not read model from D:\翻译文件\win-pyvideotrans-v3.98-312\_internal agisa/data/nagisa_v001.model
"""

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "videotrans\task\job.py", line 105, in run
File "videotrans\task\_speech2text.py", line 152, in recogn
File "videotrans\recognition\__init__.py", line 239, in run
File "videotrans\recognition\_base.py", line 143, in run
File "videotrans\recognition\_qwenasrlocal.py", line 48, in _exec
File "videotrans\configure\_base.py", line 284, in _new_process
File "concurrent\futures\_base.py", line 458, in result
File "concurrent\futures\_base.py", line 403, in __get_result
RuntimeError: Could not read model from D:\翻译文件\win-pyvideotrans-v3.98-312\_internal agisa/data/nagisa_v001.model
TaskCfgSTT(is_cuda=True, uuid='73ab3e1b5c', cache_folder='D:/翻译文件/win-pyvideotrans-v3.98-312/tmp/12136/73ab3e1b5c', target_dir='C:/Users/24202/Desktop/win-pyvideotrans-v3.98-312/output/recogn', source_language=None, source_language_code=None, source_sub=None, source_wav=None, source_wav_output=None, target_language=None, target_language_code=None, target_sub='C:/Users/24202/Desktop/win-pyvideotrans-v3.98-312/output/recogn/02-1. 명시성과 퀄리티.srt', target_wav=None, target_wav_output=None, name='F:/75/Coloso Asset Niken/Videos/02-1. 명시성과 퀄리티.mp4', noextname='02-1. 명시성과 퀄리티', basename='02-1. 명시성과 퀄리티.mp4', ext='mp4', dirname='F:/75/Coloso Asset Niken/Videos', shound_del_name=None, detect_language='ko', recogn_type=2, model_name='1.7B', shibie_audio='D:/翻译文件/win-pyvideotrans-v3.98-312/tmp/12136/73ab3e1b5c/02-1. 명시성과 퀄리티-1774173412.6379287.wav', remove_noise=False, enable_diariz=False, nums_diariz=0, rephrase=0, fix_punc=False)


=
system:Windows-10-10.0.26200-SP0
version:v3.98
frozen:True
language:zh
root_dir:D:/翻译文件/win-pyvideotrans-v3.98-312

1 Replies

这是由于 Qwen-ASR(本地) 语音识别渠道依赖的 nagisa 分词模型文件损坏或缺失导致的。

解决方案:

  1. 请从以下链接手动下载 nagisa_v001.model 文件:
    https://github.com/taishi-i/nagisa/releases/download/v0.2.7/nagisa_v001.model
  2. 将下载的 nagisa_v001.model 文件,放置到软件安装目录下的 _internal\nagisa\data\ 文件夹内。
    根据你的日志,完整路径应为:D:\翻译文件\win-pyvideotrans-v3.98-312\_internal\nagisa\data\
  3. 放置完成后,重启 pyVideoTrans 软件,再次尝试使用 Qwen-ASR(本地) 进行语音识别。

额外建议:

  • 检查你的软件安装路径 D:\翻译文件\win-pyvideotrans-v3.98-312。路径中包含中文“翻译文件”,这有时可能导致文件读取问题。如果上述方法无效,建议将整个软件文件夹移动到纯英文路径下(例如 D:\pyVideoTrans)再试。
  • 你的输入视频文件名包含韩文和特殊符号(02-1. 명시성과 퀄리티.mp4),这可能导致处理过程中的路径问题。建议在处理前将视频文件重命名为简短的英文或数字名称。

请查阅相关文档:

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.

Related resource