Closed selim-yildirim closed 8 months ago
probably using the wrong encoder
see https://github.com/cubiq/ComfyUI_IPAdapter_plus/issues/108
Hi! How fix it?
@DenisLAvrov14 Replace them with IPAdapter Advanced
. IPAdapter Apply doesn't exit anymore after the complete code rewrite, to learn more about the new IPAdapter V2 features check the readme file
Hi! I find desicion of my previos error and use another json file(link in Youtube pin comments) But i have a new one, anyone know how fix it?
@selim-yildirim CLIP-ViT-H-14-laion2B-s32B-b79K / CLIP-ViT-bigG-14-laion2B-39B-b160k You may have named these two files in reverse.Check it out.
我以前选择的是plus face模型,一直这样报错,后来选择vit-g就不会报错了,应该是模型选择错误
我以前选择的是plus face模型,一直这样报错,后来选择vit-g就不会报错了,应该是模型选择错误
我也解决了,I fixed by using node IPAdapter Loader, vit-g.
Hi everone!
Error occurred when executing IPAdapterApply:
Error(s) in loading state_dict for Resampler: size mismatch for proj_in.weight: copying a param with shape torch.Size([1280, 1280]) from checkpoint, the shape in current model is torch.Size([1280, 1664]).
File "C:\ComfyUI\ComfyUI_windows_portable\ComfyUI\execution.py", line 154, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) File "C:\ComfyUI\ComfyUI_windows_portable\ComfyUI\execution.py", line 84, in get_output_data return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True) File "C:\ComfyUI\ComfyUI_windows_portable\ComfyUI\execution.py", line 77, in map_node_over_list results.append(getattr(obj, func)(**slice_dict(input_data_all, i))) File "C:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_IPAdapter_plus\IPAdapterPlus.py", line 636, in apply_ipadapter self.ipadapter = IPAdapter( File "C:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_IPAdapter_plus\IPAdapterPlus.py", line 272, in init self.image_proj_model.load_state_dict(ipadapter_model["image_proj"]) File "C:\ComfyUI\ComfyUI_windows_portable\python_embeded\lib\site-packages\torch\nn\modules\module.py", line 2152, in load_state_dict raise RuntimeError('Error(s) in loading state_dict for {}:\n\t{}'.format(
I keep getting this error. I tried it on different models. I updated the IPadapter but it didn't work. I deleted it and reinstalled it and it still didn't work. I updated comfyui but it didn't fix it.
If anyone has a solution I would really appreciate it. Best regards