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

RuntimeError: Error(s) in loading state_dict for DataParallel: #133

Open
baboonaaaa opened this issue Sep 8, 2024 · 2 comments
Open

RuntimeError: Error(s) in loading state_dict for DataParallel: #133

baboonaaaa opened this issue Sep 8, 2024 · 2 comments

Comments

@baboonaaaa
Copy link

I find the following troubles when I compile demo.py,can you tell me how to resolve it?

size mismatch for module.pose_net.conv_z_1.0.weight: copying a param with shape torch.Size([16384, 2048, 1]) from checkpoint, the shape in current model is torch.Size([101376, 2048, 1]).
size mismatch for module.pose_net.conv_z_1.0.bias: copying a param with shape torch.Size([16384]) from checkpoint, the shape in current model is torch.Size([101376]).
size mismatch for module.pose_net.conv_z_1.1.weight: copying a param with shape torch.Size([16384]) from checkpoint, the shape in current model is torch.Size([101376]).
size mismatch for module.pose_net.conv_z_1.1.bias: copying a param with shape torch.Size([16384]) from checkpoint, the shape in current model is torch.Size([101376]).
size mismatch for module.pose_net.conv_z_1.1.running_mean: copying a param with shape torch.Size([16384]) from checkpoint, the shape in current model is torch.Size([101376]).
size mismatch for module.pose_net.conv_z_1.1.running_var: copying a param with shape torch.Size([16384]) from checkpoint, the shape in current model is torch.Size([101376]).
size mismatch for module.pose2feat.conv.0.weight: copying a param with shape torch.Size([64, 1920, 3, 3]) from checkpoint, the shape in current model is torch.Size([64, 11548, 3, 3]).
size mismatch for module.mesh_net.conv_z_1.0.weight: copying a param with shape torch.Size([16384, 2048, 1]) from checkpoint, the shape in current model is torch.Size([101376, 2048, 1]).
size mismatch for module.mesh_net.conv_z_1.0.bias: copying a param with shape torch.Size([16384]) from checkpoint, the shape in current model is torch.Size([101376]).
size mismatch for module.mesh_net.conv_z_1.1.weight: copying a param with shape torch.Size([16384]) from checkpoint, the shape in current model is torch.Size([101376]).
size mismatch for module.mesh_net.conv_z_1.1.bias: copying a param with shape torch.Size([16384]) from checkpoint, the shape in current model is torch.Size([101376]).
size mismatch for module.mesh_net.conv_z_1.1.running_mean: copying a param with shape torch.Size([16384]) from checkpoint, the shape in current model is torch.Size([101376]).
size mismatch for module.mesh_net.conv_z_1.1.running_var: copying a param with shape torch.Size([16384]) from checkpoint, the shape in current model is torch.Size([101376]).

@mks0601
Copy link
Owner

mks0601 commented Sep 8, 2024

what did you change from the original repo?

@baboonaaaa
Copy link
Author

Snipaste_2024-09-08_21-22-51
thanks for replying,but I'm not change 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