kijai / ComfyUI-moondream

ComfyUI node to use the moondream tiny vision language model
80 stars 8 forks source link

Error occurred when executing MoondreamQuery: size mismatch #18

Closed DarkAlchy closed 2 weeks ago

DarkAlchy commented 4 weeks 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 2 weeks ago

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

DarkAlchy commented 2 weeks ago

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