CenterPoint icon indicating copy to clipboard operation
CenterPoint copied to clipboard

*** Error in `python': free(): invalid pointer: 0x000055c1501fae10 ***

Open liuqk3 opened this issue 3 years ago • 1 comments

Hi @tianweiy, thanks for the great works!

I have followed the instructions to install some dependencies. Everything seems OK. But:

  1. When I try to run: python tools/dist_test.py configs/nusc/voxelnet/nusc_centerpoint_voxelnet_0075voxel_fix_bn_z.py --work_dir work_dirs/nusc_centerpoint_voxelnet_0075voxel_fix_bn_z --checkpoint work_dirs/nusc_centerpoint_voxelnet_0075voxel_fix_bn_z/epoch_20.pth --speed_test

It throws an error:

*** Error in `python': free(): invalid pointer: 0x000055c1501fae10 ***
Aborted (core dumped)

And I found that it is actually caused by the function load_state_dict() in det3d/torchie/trainer/checkpoint.py in the line own_state[name].copy_(param) when name is backbone.conv3.0.weight.

  1. When I try to run: python tools/train.py configs/nusc/voxelnet/nusc_centerpoint_voxelnet_0075voxel_fix_bn_z.py

The same error occurs:

*** Error in `python': free(): invalid pointer: 0x0000557909ebae10 ***
Aborted (core dumped)

But this time it is caused by the function train_detector() in det3d/torchie/apis/train.py with the line model = model.cuda().

Can you please help me to solve this error? Thanks a lot!

liuqk3 avatar Sep 15 '21 12:09 liuqk3

I don't have much clues.

tianweiy avatar Sep 17 '21 22:09 tianweiy