#7175 No such file or directory: F:/VideoTrans/models/models--Qwen--Qwen3-ASR-1.7B\model-00001-of-00002.safetensors:Traceback

45.154**4 Posted at: 2 hours ago

No such file or directory: F:/VideoTrans/models/models--Qwen--Qwen3-ASR-1.7B\model-00001-of-00002.safetensors:Traceback (most recent call last):
File "videotrans\process\stt_qwen.py", line 52, in qwen3asr_fun
File "qwen_asr\inference\qwen3_asr.py", line 206, 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 "F:\VideoTrans\_internal\transformers4576\modeling_utils.py", line 277, in _wrapper

return func(*args, **kwargs)

File "F:\VideoTrans\_internal\transformers4576\modeling_utils.py", line 4958, in from_pretrained

config, dtype, dtype_orig = _get_dtype(

File "F:\VideoTrans\_internal\transformers4576\modeling_utils.py", line 1250, in _get_dtype

state_dict = load_state_dict(

File "F:\VideoTrans\_internal\transformers4576\modeling_utils.py", line 484, in lo
......
run
File "videotrans\recognition\_base.py", line 97, in run
File "videotrans\recognition\_qwenasrlocal.py", line 79, in _exec
File "videotrans\configure\base.py", line 264, in _new_process
videotrans.configure.excepts.VideoTransError: No such file or directory: F:/VideoTrans/models/models--Qwen--Qwen3-ASR-1.7B\model-00001-of-00002.safetensors:Traceback (most recent call last):
File "videotrans\process\stt_qwen.py", line 52, in qwen3asr_fun
File "qwen_asr\inference\qwen3_asr.py", line 206, 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 "F:\VideoTrans\_internal\transformers4576\modeling_utils.py", line 277, in _wrapper

return func(*args, **kwargs)

File "F:\VideoTrans\_internal\transformers4576\modeling_utils.py", line 4958, in from_pretrained

config, dtype, dtype_orig = _get_dtype(

File "F:\VideoTrans\_internal\transformers4576\modeling_utils.py", line 1250, in _get_dtype

state_dict = load_state_dict(

File "F:\VideoTrans\_internal\transformers4576\modeling_utils.py", line 484, in load_state_dict

with safe_open(checkpoint_file, framework="pt") as f:

FileNotFoundError: No such file or directory: F:/VideoTrans/models/models--Qwen--Qwen3-ASR-1.7B\model-00001-of-00002.safetensors

cfg=[TaskCfgVTT]当前工作模式: 翻译视频 单视频模式
原始输入文件名: E:/迅雷云盘/07.星辰予你,温柔予我(51集)/第1集.mp4,
输出结果保存到文件夹: E:/迅雷云盘/07.星辰予你,温柔予我(51集)/_video_out/第1集-mp4,
临时文件夹: F:/VideoTrans/tmp/24628/6ee02f70eb
已选 清理已存在
已启用CUDA加速
未选 降噪
语音识别:Qwen-ASR(内置), 1.7B, 发音语言: 简体中文, 断句方式:默认断句
翻译渠道:Hy-MT2-1.8B(内置),原始语言:简体中文,目标语言:英语, 已选 发送完整字幕
配音渠道:Qwen3-TTS(内置), 角色:clone, 配音语言:英语, 未选 二次语音识别
音量:+0%, 语速:+0%, 已选 音频加速, 未选 视频慢速
字幕: 嵌入软字幕
代理地址: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-ASR-1.7B 本地模型文件未完整下载(缺少关键权重文件 model-00001-of-00002.safetensors),导致加载失败。

解决方案(按步骤操作):

  1. 删除残缺模型目录:手动删除 F:/VideoTrans/models/models--Qwen--Qwen3-ASR-1.7B 整个文件夹(可能只下了一半,虽目录看起来存在,但实际不完整)。
  2. 手动下载完整模型

    • 下载地址:https://huggingface.co/Qwen/Qwen3-ASR-1.7B/tree/main
    • 将该页面下所有文件全部下载(包括所有 .safetensorsconfig.json、tokenizer 文件等)。
    • 国内网络如无法访问 huggingface.co,可使用镜像站:将域名替换为 hf-mirror.com
  3. 放置到指定位置:将下载的所有文件放入 F:/VideoTrans/models/models--Qwen--Qwen3-ASR-1.7B 文件夹内。
  4. 注意重命名:下载时若浏览器自动改名(如 model (2).safetensors),必须手动改回原文件名。
  5. 补充建议

    • 若手动下载仍困难,可临时将语音识别渠道改为 faster-whisper(内置) + large-v3-turbo 模型,该模型同样支持中文且相对稳定。
    • 如怀疑是网络下载不全,请确认 model-00001-of-00002.safetensorsmodel-00002-of-00002.safetensors 两个文件都存在且体积完整。

请查阅相关文档:

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