kijai / ComfyUI-moondream

ComfyUI node to use the moondream tiny vision language model
91 stars 13 forks source link

Error occurred when executing MoondreamQuery: size mismatch #18

Closed DarkAlchy closed 4 months ago

DarkAlchy commented 5 months ago

Error occurred when executing MoondreamQuery:

Error(s) in loading state_dict for Moondream: size mismatch for vision_encoder.projection.mlp.fc1.weight: copying a param with shape torch.Size([8192, 2304]) from checkpoint, the shape in current model is torch.Size([8192, 1152]). You may consider adding ignore_mismatched_sizes=True in the model from_pretrained method.

Moondream2 has this issue, while moondream1 is fine.

What is broken?

alenknight commented 4 months ago

i'm having this issue too.
Screenshot 2024-06-17 at 1 55 59 AM

DarkAlchy commented 4 months ago

I witched to the other node for moondream2 only and no issues.