Skip to content

Q-Former size Dismathch #799

@jonesfq

Description

@jonesfq

RuntimeError: Error(s) in loading state_dict for Blip2Qformer:
size mismatch for Qformer.cls.predictions.bias: copying a param with shape torch.Size([30523]) from checkpoint, the shape in current model is torch.Size([30522]).
I just load the basic model in the same way of the guidance.But I always meet this error.I tried to modify the size of vocab,but i will raised another mismatch problem

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions