Pointnet_Pointnet2_pytorch icon indicating copy to clipboard operation
Pointnet_Pointnet2_pytorch copied to clipboard

RuntimeError: Error(s) in loading state_dict for get_model:

Open overweighted opened this issue 1 year ago • 6 comments

I got a problme. RuntimeError: Error(s) in loading state_dict for get_model: size mismatch for sa1.conv_blocks.0.0.weight: copying a param with shape torch.Size([32, 6, 1, 1]) from checkpoint, the shape in current model is torch.Size([32, 3, 1, 1]). size mismatch for sa1.conv_blocks.1.0.weight: copying a param with shape torch.Size([64, 6, 1, 1]) from checkpoint, the shape in current model is torch.Size([64, 3, 1, 1]). size mismatch for sa1.conv_blocks.2.0.weight: copying a param with shape torch.Size([64, 6, 1, 1]) from checkpoint, the shape in current model is torch.Size([64, 3, 1, 1]). I think that I should change in_channel , but it not work.

overweighted avatar Mar 29 '23 13:03 overweighted

Hi, have u find the solution?

Weixiang-Sun avatar Aug 15 '23 06:08 Weixiang-Sun

Hi, I have met the same issue, have u found the solution?

Curiosity38 avatar Aug 15 '23 14:08 Curiosity38

HI i have the same issue. any solution?

apalapramanik avatar Aug 24 '23 21:08 apalapramanik

Hi, I'm also experiencing this problem and can't find a solution, is there any solution?

CCEN1020 avatar Oct 19 '23 01:10 CCEN1020

--use_normals

snake-modin avatar Dec 06 '23 05:12 snake-modin

use_normals中default改成true即可

Single624 avatar Apr 22 '24 03:04 Single624