CenterPoint
CenterPoint copied to clipboard
*** Error in `python': free(): invalid pointer: 0x000055c1501fae10 ***
Hi @tianweiy, thanks for the great works!
I have followed the instructions to install some dependencies. Everything seems OK. But:
- 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
.
- 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!
I don't have much clues.