Skip to content

consulting #29

@cuffsword

Description

@cuffsword

Hello, I am an student may I ask if when I finished training and obtained the model, I found that the model structure was displaying an error messageMissing key(s) in state_dict: "encoder.layers.0.weight"...... Unexpected key(s) in state_dict: "model", "n", "optimizer", "lr_scheduler". Can you teach me how to save the model correctly

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions