PoinTr
PoinTr copied to clipboard
pointnet2_ops_lib compilation failed
Hi xumin,
Thanks for the great work and the well organized code!
I came across this problem on installing the pointnet2_ops_lib from the pip address you give here.
pip install "git+git://github.com/erikwijmans/Pointnet2_PyTorch.git#egg=pointnet2_ops&subdirectory=pointnet2_ops_lib"
So I referred to the original Pointnet2_Pytorch project and tried to install it from source using git clone + pip install pointnet2_ops_lib/.
However, I was stuck in the compilation error as shown below:
I haven't found any solutions to this on the original project page, so I tried to seek for help here. Have you ever encountered with the same problem?
hi @YiLin32Wang, can you check the version of the gcc and g++ in your server
hi @YiLin32Wang, can you check the version of the gcc and g++ in your server
Hi, the gcc version is 7.5.0 on my server.
I'm also trying to code the python version directly to replace the pointnet2_uils.
Do you think it possible if I directly replace the pointnet2_utils.gather_operation()
by torch.gather()
?
It seems that there's little difference in the terms of their returns, since what we're trying to do here is just indexing the point feature vectors according to the fps_idx.
Do you think it possible if I directly replace the pointnet2_utils.gather_operation() by torch.gather()?
Yes.
The version of gcc meets the requirements. It seems that the problems come from the unsupported gpu+cuda. So what is your gpu model and cuda version?
Sorry for late reply! I'm using RTX2080Ti with CUDA 11.4.
So far I haven't succeeded in installing the pointnet2_utils so I'm using another PyTorch implementation and torch.gather()
to replace the fps and gather operation.
Sorry for late reply! I'm using RTX2080Ti with CUDA 11.4.
So far I haven't succeeded in installing the pointnet2_utils so I'm using another PyTorch implementation and
torch.gather()
to replace the fps and gather operation.
Can you give me your modified code, I'd appreciate it!