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 decoder #76

Open
mrub1 opened this issue Jul 14, 2023 · 0 comments
Open

size mismatch for decoder #76

mrub1 opened this issue Jul 14, 2023 · 0 comments

Comments

@mrub1
Copy link

mrub1 commented Jul 14, 2023

Dear Authors,
Thank you so much for a great paper !
Did a training on 1 shapenet class.
Trying generate.py on this newly trained model.
Getting:
RuntimeError: Error(s) in loading state_dict for DVR:
size mismatch for decoder.fc_p.weight: copying a param with shape torch.Size([128, 3]) from checkpoint, the shape in current model is torch.Size([512, 3]).
Going through the code to identify which parameter should be adjusted.
Any hints would be appreciated.
No such issue on the pretrained model
Thanks a lot !

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