缺少模型报错

#11
by hefamily - opened

Error occurred when executing DownloadAndLoadChatGLM3:

Error no file named pytorch_model.bin, model.safetensors, tf_model.h5, model.ckpt.index or flax_model.msgpack found in directory D:\comfyui-aik\ComfyUI-aki-v1.3\models\diffusers\Kolors\text_encoder.

File "D:\comfyui-aik\ComfyUI-aki-v1.3\execution.py", line 151, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
File "D:\comfyui-aik\ComfyUI-aki-v1.3\execution.py", line 81, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
File "D:\comfyui-aik\ComfyUI-aki-v1.3\execution.py", line 74, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
File "D:\comfyui-aik\ComfyUI-aki-v1.3\custom_nodes\ComfyUI-KwaiKolorsWrapper\nodes.py", line 181, in loadmodel
text_encoder = ChatGLMModel.from_pretrained(
File "D:\comfyui-aik\ComfyUI-aki-v1.3\python\lib\site-packages\transformers\modeling_utils.py", line 3382, in from_pretrained
raise EnvironmentError(

根据错误信息,这个问题是由于在目录 "D:\comfyui-aik\ComfyUI-aki-v1.3\models\diffusers\Kolors\text_encoder" 中找不到以下任何一种格式的模型文件:

pytorch_model.bin
model.safetensors
tf_model.h5
model.ckpt.index
flax_model.msgpack
这可能是由于以下几个原因引起的,但是我应该下载的模型都下载了啊,请帮我检查下。

缺少那个模型?.png

去掉文件名里的所有"text_encoder_"前缀。

Sign up or log in to comment