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

Checkpoint model shape mismatch #209

Open
Iven-Wu opened this issue Mar 24, 2022 · 1 comment
Open

Checkpoint model shape mismatch #209

Iven-Wu opened this issue Mar 24, 2022 · 1 comment

Comments

@Iven-Wu
Copy link

Iven-Wu commented Mar 24, 2022

I run the eval_rcnn.py with checkpoint downloaded and get this error.

RuntimeError: Error(s) in loading state_dict for PointRCNN:
size mismatch for rpn.backbone_net.SA_modules.0.mlps.0.layer0.conv.weight: copying a param with shape torch.Size([16, 3, 1, 1]) from checkpoint, the shape in current model is torch.Size([16, 4, 1, 1]).
size mismatch for rpn.backbone_net.SA_modules.0.mlps.1.layer0.conv.weight: copying a param with shape torch.Size([32, 3, 1, 1]) from checkpoint, the shape in current model is torch.Size([32, 4, 1, 1]).
size mismatch for rpn.backbone_net.FP_modules.0.mlp.layer0.conv.weight: copying a param with shape torch.Size([128, 256, 1, 1]) from checkpoint, the shape in current model is torch.Size([128, 257, 1, 1]).

@gehadza
Copy link

gehadza commented Jan 22, 2023

Do you solve it ??

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