Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

size mismatch error #148

Open
afsharshamsi opened this issue Oct 7, 2024 · 0 comments
Open

size mismatch error #148

afsharshamsi opened this issue Oct 7, 2024 · 0 comments

Comments

@afsharshamsi
Copy link

Dear VITpose authors, I decided to run your code on mpii dataset using ViTPose-B. after downloading the checkpoint and config for that, I got the size mismatch error as "size mismatch for keypoint_head.final_layer.weight: copying a param with shape torch.Size([17, 256, 1, 1]) from checkpoint, the shape in current model is torch.Size([16, 256, 1, 1]).
size mismatch for keypoint_head.final_layer.bias: copying a param with shape torch.Size([17]) from checkpoint, the shape in current model is torch.Size([16]).". It seems the provided checkpoint does not match leading to the following results "Ankle: 0.6140770714586143
Elbow: 2.4202130750155133
Head: 4.058663028649386
Hip: 0.32892339747001
Knee: 89.34101785856382
PCKh: 13.827738745771532
[email protected]: 3.851157936458084
Shoulder: 0.18682065217391303
Wrist: 9.593513488382577". This results are far from what you reported in the paper. Can you please provide me with the correct checkpoint as well as config please?

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

No branches or pull requests

1 participant