Pointnet2_PyTorch
Pointnet2_PyTorch copied to clipboard
Modify pointnet_ops_lib successfully,but can not import new attribute
I have added some attributes to the sampling.cpp and sampling_gpu.cu and complied successfully,why can't it work?
out = _ext.farthest_point_sampling(xyz, weights, npoint)
AttributeError: module 'pointnet2_ops._ext' has no attribute 'farthest_point_sampling'
the farthest_point_sampling is the new attribute and I can use the old attributes.
i meet the same question,the error is:
AttributeError: module 'pointnet2._ext' has no attribute 'cylinder_query'
but after run python setup.py install ,the result is
Installed /home/yqyjin/.local/lib/python3.10/site-packages/pointnet2-0.0.0-py3.10-linux-x86_64.egg
Processing dependencies for pointnet2==0.0.0
Finished processing dependencies for pointnet2==0.0.0
and no error occured during the installation
i use ubuntu 22.04, python=3.10,cuda=12.8