Bug about ipadapter v2
RuntimeError: Error(s) in loading state_dict for ImageProjModel:
size mismatch for proj.weight: copying a param with shape torch.Size([65536, 768]) from checkpoint, the shape in current model is torch.Size([16384, 768]).
size mismatch for proj.bias: copying a param with shape torch.Size([65536]) from checkpoint, the shape in current model is torch.Size([16384]).
src/flux/xflux_pipeline.py, line 77:
self.improj = ImageProjModel(4096, 768, 4)
same error
I updated the Comfyui version to the latest and also updated the XLABS plugin to the latest, which solved the problem
same error
please update comfy nodes, it'd solve the problem you mentioned
The problem says that model graph expect 4 visual tokens (was in previous version) now we have 16, update nodes to support both ip-adapters
RuntimeError: Error(s) in loading state_dict for ImageProjModel:
size mismatch for proj.weight: copying a param with shape torch.Size([65536, 768]) from checkpoint, the shape in current model is torch.Size([16384, 768]).
size mismatch for proj.bias: copying a param with shape torch.Size([65536]) from checkpoint, the shape in current model is torch.Size([16384]).src/flux/xflux_pipeline.py, line 77:
self.improj = ImageProjModel(4096, 768, 4)