Skip to content

MOSI以及MOSEI训练问题 #16

@houhhhy

Description

@houhhhy

修改了参数,使用了CH-SIMS and CH-SIMSv2预训练的模型参数,但是还报错:
RuntimeError: Error(s) in loading state_dict for UniPretrain:
size mismatch for encoder.model.embeddings.word_embeddings.weight: copying a param with shape torch.Size([21128, 768]) from checkpoint, the shape in current model is torch.Size([30522, 768])
请问这是什么原因,遇到同样问题的老师可以一起相互交流,感谢!

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