#7048 D:/AI/pyVideoTrans/models/models--Qwen--Qwen3-TTS-12Hz-0.6B-Base does not appear to have a file named speech_tokenizer/c

104.28**0 Posted at: 1 hour ago

D:/AI/pyVideoTrans/models/models--Qwen--Qwen3-TTS-12Hz-0.6B-Base does not appear to have a file named speech_tokenizer/config.json. Checkout 'https://huggingface.co/D:/AI/pyVideoTrans/models/models--Qwen--Qwen3-TTS-12Hz-0.6B-Base/tree/main' for available files.,Traceback (most recent call last):
File "videotrans\process\qwen_tts.py", line 63, in qwen3tts_fun
File "qwen_tts\inference\qwen3_tts_model.py", line 112, in from_pretrained

model = AutoModel.from_pretrained(pretrained_model_name_or_path, **kwargs)

File "D:\AI\pyVideoTrans\_internal\transformers4576\models\auto\auto_factory.py", line 604, in from_pretrained

return model_class.from_pretrained(

File "qwen_tts\core\models\modeling_qwen3_tts.py", line 1900, in from_pretrained

speech_tokenizer_path = cached_file(

File "D:\AI\pyVideoTrans\_internal\transformers4576\utils\hub.py", line 322, in cached_file

file = cached_files(path_or_repo_id=path_or_repo_id, filenames=[filename], **kwargs)

File "D:\
......
ss
videotrans.configure.excepts.VideoTransError: D:/AI/pyVideoTrans/models/models--Qwen--Qwen3-TTS-12Hz-0.6B-Base does not appear to have a file named speech_tokenizer/config.json. Checkout 'https://huggingface.co/D:/AI/pyVideoTrans/models/models--Qwen--Qwen3-TTS-12Hz-0.6B-Base/tree/main' for available files.,Traceback (most recent call last):
File "videotrans\process\qwen_tts.py", line 63, in qwen3tts_fun
File "qwen_tts\inference\qwen3_tts_model.py", line 112, in from_pretrained

model = AutoModel.from_pretrained(pretrained_model_name_or_path, **kwargs)

File "D:\AI\pyVideoTrans\_internal\transformers4576\models\auto\auto_factory.py", line 604, in from_pretrained

return model_class.from_pretrained(

File "qwen_tts\core\models\modeling_qwen3_tts.py", line 1900, in from_pretrained

speech_tokenizer_path = cached_file(

File "D:\AI\pyVideoTrans\_internal\transformers4576\utils\hub.py", line 322, in cached_file

file = cached_files(path_or_repo_id=path_or_repo_id, filenames=[filename], **kwargs)

File "D:\AI\pyVideoTrans\_internal\transformers4576\utils\hub.py", line 437, in cached_files

raise OSError(

OSError: D:/AI/pyVideoTrans/models/models--Qwen--Qwen3-TTS-12Hz-0.6B-Base does not appear to have a file named speech_tokenizer/config.json. Checkout 'https://huggingface.co/D:/AI/pyVideoTrans/models/models--Qwen--Qwen3-TTS-12Hz-0.6B-Base/tree/main' for available files.

cfg=[TaskCfgVTT]当前工作模式: 翻译视频 单视频模式
原始输入文件名: E:/Store/YouTube/频道/Zenn/视频/【2】LuCans9euxY/video.mp4,
输出结果保存到文件夹: E:/Store/YouTube/频道/Zenn/视频/【2】LuCans9euxY/_video_out/video-mp4,
临时文件夹: D:/AI/pyVideoTrans/tmp/38704/cb7cada05a
已选 清理已存在
未启用CUDA加速
未选 降噪
语音识别:faster-whisper(内置), tiny, 发音语言: 简体中文, 断句方式:默认断句
发音语言和目标语言相同,不翻译字幕
配音渠道:Qwen3-TTS(内置), 角色:clone, 配音语言:简体中文, 未选 二次语音识别
音量:+20%, 语速:+10%, 已选 音频加速, 已选 视频慢速
字幕: 嵌入硬字幕
代理地址:http://127.0.0.1:10808


=
system:Windows-10-10.0.19044-SP0
version:v4.11
frozen:True
language:zh
root_dir:D:/AI/pyVideoTrans

1 Replies

#1 DeepSeek reply at 1 hour ago

该报错是因为本地 Qwen3-TTS 模型目录 models--Qwen--Qwen3-TTS-12Hz-0.6B-Base 下的文件不完整,缺失了 speech_tokenizer/config.json。软件判定模型未下载成功或文件被截断,因此提示找不到该文件。

请按以下步骤修复:

  1. 删除残缺模型目录:进入 D:/AI/pyVideoTrans/models/,将 models--Qwen--Qwen3-TTS-12Hz-0.6B-Base 整个文件夹删除。
  2. 重新下载模型:重新打开软件并选择 Qwen3-TTS(内置),软件会自动重新下载。如果自动下载失败,请手动下载模型文件。
  3. 手动下载方式:打开模型仓库地址 https://huggingface.co/Qwen/Qwen3-TTS-12Hz-0.6B-Base/tree/main ,将其中所有文件下载好后,放入 D:/AI/pyVideoTrans/models/models--Qwen--Qwen3-TTS-12Hz-0.6B-Base 目录内,保持原有目录结构(尤其要包含 speech_tokenizer/config.json)。
  4. 下载后请不要重命名或改变文件父子关系

注意事项:

  • 模型体积较大,下载时请确保网络稳定,建议使用代理或科学上网。你已在软件中填写代理 http://127.0.0.1:10808,请确认代理软件已启动且端口正确。
  • 如果下载后仍然报错,可能是浏览器下载时自动重命名了同名文件(如 config(2).json),需改回原名。
  • 若依然无法解决,请提供 logs/ 目录下最新日志的完整内容以便进一步分析。

请查阅相关文档:

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