PointRCNN icon indicating copy to clipboard operation
PointRCNN copied to clipboard

size mismatch for rpn.rpn_reg_layer

Open Niceday99 opened this issue 5 years ago • 3 comments

Hi guys, when I run eval_rcnn.py with the rcnn model trained by myself, following error occurs: image And it's ok if I use the model provided by author, anyone can help me?

Niceday99 avatar Nov 18 '19 02:11 Niceday99


RuntimeError: Error(s) in loading state_dict for PointRCNN:
	size mismatch for rpn.rpn_reg_layer.2.conv.weight: copying a param with shape torch.Size([52, 128, 1]) from checkpoint, the shape in current model is torch.Size([76, 128, 1]).
	size mismatch for rpn.rpn_reg_layer.2.conv.bias: copying a param with shape torch.Size([52]) from checkpoint, the shape in current model is torch.Size([76]).

same problem. Did you solve it?

adioshun avatar Nov 19 '19 06:11 adioshun

LOC_XZ_FINE = True >>> Size = 76 LOC_XZ_FINE = False >>> Size = 52

saurabverma avatar Jan 09 '20 09:01 saurabverma

set 'LOC_XZ_FINE:False' in default.yaml

jingyi-zhang avatar Jan 19 '20 07:01 jingyi-zhang