报错扩展:ipadapter_plus中的IPAdapterUnifiedLoader节点
报错信息:Error while deserializing header: HeaderTooLarge
报错原因:模型问题
解决方法:检查模型是否正确,包括名称,位置等信息,建议直接在huggingface.co上直接下载
https://github.com/cubiq/ComfyUI_IPAdapter_plus
/ComfyUI/models/clip_vision
- CLIP-ViT-H-14-laion2B-s32B-b79K.safetensors, download and rename
- CLIP-ViT-bigG-14-laion2B-39B-b160k.safetensors, download and rename
/ComfyUI/models/ipadapter
, create it if not present- ip-adapter_sd15.safetensors, Basic model, average strength
- ip-adapter_sd15_light_v11.bin, Light impact model
- ip-adapter-plus_sd15.safetensors, Plus model, very strong
- ip-adapter-plus-face_sd15.safetensors, Face model, portraits
- ip-adapter-full-face_sd15.safetensors, Stronger face model, not necessarily better
- ip-adapter_sd15_vit-G.safetensors, Base model, requires bigG clip vision encoder
- ip-adapter_sdxl_vit-h.safetensors, SDXL model
- ip-adapter-plus_sdxl_vit-h.safetensors, SDXL plus model
- ip-adapter-plus-face_sdxl_vit-h.safetensors, SDXL face model
- ip-adapter_sdxl.safetensors, vit-G SDXL model, requires bigG clip vision encoder
大佬 我全部检查一遍了,都重新下和安装了,还是和你发的这个一样的报错问题,无解了。可以帮帮我看看啥原因吗?
Error occurred when executing IPAdapterUnifiedLoader:
Error while deserializing header: HeaderTooLarge
File “E:AI-comfyuiComfyUI-aki-v1.3execution.py”, line 151, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “E:AI-comfyuiComfyUI-aki-v1.3execution.py”, line 81, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “E:AI-comfyuiComfyUI-aki-v1.3execution.py”, line 74, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “E:AI-comfyuiComfyUI-aki-v1.3custom_nodesComfyUI_IPAdapter_plusIPAdapterPlus.py”, line 520, in load_models
self.ipadapter[‘model’] = ipadapter_model_loader(ipadapter_file)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “E:AI-comfyuiComfyUI-aki-v1.3custom_nodesComfyUI_IPAdapter_plusutils.py”, line 123, in ipadapter_model_loader
model = comfy.utils.load_torch_file(file, safe_load=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “E:AI-comfyuiComfyUI-aki-v1.3comfyutils.py”, line 14, in load_torch_file
sd = safetensors.torch.load_file(ckpt, device=device.type)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “E:AI-comfyuiComfyUI-aki-v1.3.extLibsite-packagessafetensorstorch.py”, line 311, in load_file
with safe_open(filename, framework=”pt”, device=device) as f:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
我新更新了一个IPA的文章,参考一下,你这样写得话我没法判断 ,起码要远程看一下
大佬 我按照你新的文章还是报错,可以加你联系方式远程看看吗,万分感谢😭