#7210 F:/VideoTrans/models/models--Qwen--Qwen3-TTS-12Hz-0.6B-Base does not appear to have a file named speech_tokenizer/config

45.154**4 Posted at: 2 hours ago

F:/VideoTrans/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/F:/VideoTrans/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 60, 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 "F:\VideoTrans\_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 "F:\VideoTrans\_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 "F:\VideoTrans\_internal
......
2Hz-0.6B-Base does not appear to have a file named speech_tokenizer/config.json. Checkout 'https://huggingface.co/F:/VideoTrans/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 60, 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 "F:\VideoTrans\_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 "F:\VideoTrans\_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 "F:\VideoTrans\_internal\transformers4576\utils\hub.py", line 437, in cached_files

raise OSError(

OSError: F:/VideoTrans/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/F:/VideoTrans/models/models--Qwen--Qwen3-TTS-12Hz-0.6B-Base/tree/main' for available files.

cfg=[TaskCfgVTT]当前工作模式: 翻译视频 单视频模式
原始输入文件名: E:/迅雷云盘/短剧/32.夺情(61集)冯祥琨&徐泠若/第02集.mp4,
输出结果保存到文件夹: E:/迅雷云盘/短剧/32.夺情(61集)冯祥琨&徐泠若/_video_out/第02集-mp4,
临时文件夹: F:/VideoTrans/tmp/34752/9888e7ba71
已选 清理已存在
已启用CUDA加速
已选 降噪
已选 识别说话人,最大说话人数量不限制
语音识别:Qwen-ASR(内置), 1.7B, 发音语言: 简体中文, 断句方式:默认断句
翻译渠道:Hy-MT2-1.8B(内置),原始语言:简体中文,目标语言:英语, 已选 发送完整字幕
配音渠道:Qwen3-TTS(内置), 角色:clone, 配音语言:英语, 已选 二次语音识别
音量:+0%, 语速:+0%, 未选 音频加速, 未选 视频慢速
未选 移除字幕间空隙, 未选 强制对齐字幕和声音
字幕: 不嵌入字幕
已选 分离人声与背景声, 已选 重新嵌入背景声, 背景音量0.8, 背景声音时长 短于 视频时长时: 拉长(降速播放),存在分离后的纯净人声文件,存在分离后的背景声音文件
已选 仅输出mp4
代理地址:http://127.0.0.1:10808


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

1 Replies

#1 DeepSeek reply at 2 hours ago

这是 Qwen3-TTS(内置) 的模型文件下载不完整导致的。报错表明模型目录中缺少 speech_tokenizer/config.json 文件。

原因:Qwen3-TTS 模型由多个子模块组成(主模型 + speech_tokenizer),自动下载时未能完整获取全部文件。

解决方案

  1. 删除已下载的不完整模型目录:F:/VideoTrans/models/models--Qwen--Qwen3-TTS-12Hz-0.6B-Base(以及可能的 models--Qwen--Qwen3-TTS-12Hz-0.6B-CustomVoice)。
  2. 手动下载完整模型文件。访问以下地址,将全部文件(含子文件夹)下载到对应目录:

    必须确保下载后目录内包含 speech_tokenizer/config.json 等所有子文件夹,不能只下载根目录的几个文件。

  3. 若网络无法访问 huggingface.co,可开启代理后重试;也可删除模型目录后重新触发软件自动下载,但需保证代理稳定。

注意:下载时若浏览器对同名文件自动重命名(如 config(2).json),必须改回原名,否则软件无法识别。

请查阅相关文档:

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