You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)
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)
looks like the shape is not compatible with v2 model
https://huggingface.co/XLabs-AI/flux-ip-adapter-v2
The text was updated successfully, but these errors were encountered: