TMElyralab / Comfyui-MusePose

Other
349 stars 36 forks source link

Size mismatch error when loading CLIPVisionModelWithProjection #30

Open xxinlei opened 3 months ago

xxinlei commented 3 months ago

I've been stuck on this error for 2 days How can I solve this >_<!! Thank you!!

Error occurred when executing musepose:

Error(s) in loading state_dict for CLIPVisionModelWithProjection:
size mismatch for vision_model.embeddings.class_embedding: copying a param with shape torch.Size([1024]) from checkpoint, the shape in current model is torch.Size([768]).
size mismatch for vision_model.embeddings.patch_embedding.weight: copying a param with shape torch.Size([1024, 3, 14, 14]) from checkpoint, the shape in current model is torch.Size([768, 3, 32, 32]).
size mismatch for vision_model.embeddings.position_embedding.weight: copying a param with shape torch.Size([257, 1024]) from checkpoint, the shape in current model is torch.Size([50, 768]).