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 for model.head.feature_mapping.weight #1

Open
Bruno-Lages opened this issue Sep 10, 2024 · 1 comment
Open

size mismatch for model.head.feature_mapping.weight #1

Bruno-Lages opened this issue Sep 10, 2024 · 1 comment

Comments

@Bruno-Lages
Copy link

Hi, I'm trying to make some predictions in the mini dataset described in the Artic readme using the checkpoint disponibilized, but I'm facing some issues related to the checkpoint mismatch.

When running the extracct_predict function, as described in the artic repo
python scripts_method/extract_predicts.py --setup p1 --method transformer_sf --load_ckpt /app/final_p1_504802f70.ckpt --run_on val --extraction_mode eval_pose

I got the error:

size mismatch for model.head.feature_mapping.weight: copying a param with shape torch.Size([512, 1536]) from checkpoint, the shape in current model is torch.Size([512, 2048]).

Also, if possible, could you tell if it's necessary to do extra steps for the prediction?

@kabouzeid
Copy link
Owner

Sadly I can't help. I'm not very familiar with the codebase anymore at this point :/

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

2 participants