HaozheQi / P2B

P2B: Point-to-Box Network for 3D Object Tracking in Point Clouds
189 stars 36 forks source link

Bugs in Build _ext module #19

Open cuge1995 opened 3 years ago

cuge1995 commented 3 years ago
pointnet2/_ext-src/src/group_points.cpp:56:40: error: ‘AT_CHECK’ was not declared in this scope
     AT_CHECK(false, "CPU not supported");
                                        ^
error: command 'gcc' failed with exit status 1
cuge1995 commented 3 years ago

solved by pip install torchvision==0.5 and pip install torch==1.4

sidml commented 2 years ago

If you are using torch>1.5, then you need to replace AT_CHECK with AT_ASSERT. See https://github.com/facebookresearch/votenet/issues/97