#7956 Error no file named model.safetensors, or pytorch_model.bin, found in directory F:/win-pyvideotrans-v4.15/models/models-

211.64**8 Posted at: 1 hour ago

Error no file named model.safetensors, or pytorch_model.bin, found in directory F:/win-pyvideotrans-v4.15/models/models--large-v3-turbo.:Traceback (most recent call last):
File "videotrans\process\stt_nemotron.py", line 27, in nemotron_asr
File "F:\win-pyvideotrans-v4.15\_internal\transformers\models\auto\auto_factory.py", line 402, in from_pretrained

return model_class.from_pretrained(

File "F:\win-pyvideotrans-v4.15\_internal\transformers\modeling_utils.py", line 4267, in from_pretrained

checkpoint_files, sharded_metadata = _get_resolved_checkpoint_files(

File "F:\win-pyvideotrans-v4.15\_internal\transformers\modeling_utils.py", line 635, in _get_resolved_checkpoint_files

raise OSError(

OSError: Error no file named model.safetensors, or pytorch_model.bin, found in directory F:/win-pyvideotrans-v4.15/models/models--large-v3-turbo.

Traceback (most recent call last):
File "videotrans\task\only_one.py", line 71, in run
File "videotrans\task\_stage_rec
......
named model.safetensors, or pytorch_model.bin, found in directory F:/win-pyvideotrans-v4.15/models/models--large-v3-turbo.:Traceback (most recent call last):
File "videotrans\process\stt_nemotron.py", line 27, in nemotron_asr
File "F:\win-pyvideotrans-v4.15\_internal\transformers\models\auto\auto_factory.py", line 402, in from_pretrained

return model_class.from_pretrained(

File "F:\win-pyvideotrans-v4.15\_internal\transformers\modeling_utils.py", line 4267, in from_pretrained

checkpoint_files, sharded_metadata = _get_resolved_checkpoint_files(

File "F:\win-pyvideotrans-v4.15\_internal\transformers\modeling_utils.py", line 635, in _get_resolved_checkpoint_files

raise OSError(

OSError: Error no file named model.safetensors, or pytorch_model.bin, found in directory F:/win-pyvideotrans-v4.15/models/models--large-v3-turbo.

trk=[TransCreate]: uuid='e18055f032', proxy_str=None, cfg=[TaskCfgVTT]当前工作模式: 翻译视频 单视频模式
原始输入文件名: F:/mewtepe/1011.mp4,
输出结果保存到文件夹: F:/mewtepe/_video_out/1011-mp4,
临时文件夹: F:/win-pyvideotrans-v4.15/tmp/43260/e18055f032
已选 清理已存在
未启用CUDA加速
未选 降噪
语音识别:Nemotron-3.5-asr-0.6b(内置), , 发音语言: 日语,
翻译渠道:Hy-MT2-1.8B(内置),原始语言:日语,目标语言:简体中文, 未选 发送完整字幕
未选 配音角色,不进行配音
字幕: 嵌入软字幕(双) 目标语言在上双字幕
已选 仅输出mp4, precent=4, hasend=False, should_recogn=True, should_trans=True, should_dubbing=False, should_hebing=True, is_copy_video=True, video_codec_num=264, ignore_align=False, is_audio_trans=False, clone_ref='', should_recogn2=False, do_diarize=True
trk.cfg=[TaskCfgVTT]当前工作模式: 翻译视频 单视频模式
原始输入文件名: F:/mewtepe/1011.mp4,
输出结果保存到文件夹: F:/mewtepe/_video_out/1011-mp4,
临时文件夹: F:/win-pyvideotrans-v4.15/tmp/43260/e18055f032
已选 清理已存在
未启用CUDA加速
未选 降噪
语音识别:Nemotron-3.5-asr-0.6b(内置), , 发音语言: 日语,
翻译渠道:Hy-MT2-1.8B(内置),原始语言:日语,目标语言:简体中文, 未选 发送完整字幕
未选 配音角色,不进行配音
字幕: 嵌入软字幕(双) 目标语言在上双字幕
已选 仅输出mp4
video_duration_ms=7722033


=
system:Windows-10-10.0.26300-SP0
version:v4.15
frozen:True
language:zh_CN
root_dir:F:/win-pyvideotrans-v4.15

1 Replies

#1 DeepSeek reply at 1 hour ago

核心原因:模型名称与渠道不匹配,且模型文件缺失。

  1. Nemotron-3.5-asr-0.6b(内置) 渠道只能使用 nvidia/nemotron-3.5-asr-streaming-0.6b 模型,存放位置必须是:
    软件目录/models/models--nvidia--nemotron-3.5-asr-streaming-0.6b
  2. 你的报错显示程序正在 models/models--large-v3-turbo 里找模型文件。large-v3-turbo 是 faster-whisper 渠道的模型,不属于 Nemotron 渠道。说明该渠道的模型名称被错误填成了 large-v3-turbo(或该文件夹是手动新建、名称不规范),因此目录里没有 model.safetensors 导致报错。

解决办法(二选一):

【方案 A:确实想用 large-v3-turbo 模型识别日语】

  1. 把 语音识别 渠道改为 faster-whisper(内置)
  2. 将其模型选为 large-v3-turbo
  3. 日语识别推荐 faster-whisper(内置) / large-v3 或 Nemotron-3.5-asr-0.6b(内置),不要交叉混用模型名

【方案 B:确实想用 Nemotron 渠道】

  1. 在主界面 语音识别 渠道的模型下拉中,把模型名改回 nvidia/nemotron-3.5-asr-streaming-0.6b(不要手填 turbo 之类其他渠道的模型名)
  2. 删除错误的目录 F:/win-pyvideotrans-v4.15/models/models--large-v3-turbo
  3. 手动下载模型全部文件,放入 F:/win-pyvideotrans-v4.15/models/models--nvidia--nemotron-3.5-asr-streaming-0.6b
    下载地址:https://huggingface.co/nvidia/nemotron-3.5-asr-streaming-0.6b/tree/main
    (自动下载失败常见,可尝试 https://hf-mirror.com/nvidia/nemotron-3.5-asr-streaming-0.6b/tree/main)
  4. 注意:不要只下载部分文件;且各模型都有 model.safetensors 等同名文件,浏览器自动重命名(如 model(2).safetensors)时必须改回原名
  5. 若模型必须重新下载,务必重试时勾选主界面 清理已生成

补充:此后翻译渠道你用的是 Hy-MT2-1.8B(内置),该渠道中日互译可用;若翻译质量不理想,可换 DeepSeek 等 AI 渠道。

请查阅相关文档:

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