Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Cannot load the checkpoints #206

Open
Jiang575800 opened this issue Sep 4, 2024 · 1 comment
Open

Cannot load the checkpoints #206

Jiang575800 opened this issue Sep 4, 2024 · 1 comment

Comments

@Jiang575800
Copy link

When I use the checkpoints downloaded from the repo ,runing in the main_finetune or main_pertrain,it can't run and the error is"RuntimeError: Error(s) in loading state_dict for VisionTransformer:
Unexpected key(s) in state_dict: "head.weight", "head.bias".

@KevinSun101
Copy link

I also have this question

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants