Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

set up issue with PointNet++ #163

Open
realjoshqsun opened this issue Oct 7, 2024 · 0 comments
Open

set up issue with PointNet++ #163

realjoshqsun opened this issue Oct 7, 2024 · 0 comments

Comments

@realjoshqsun
Copy link

realjoshqsun commented Oct 7, 2024

Hi, I encountered the following error when installing PointNet++. I'm not sure if it's a compatiable problem.

(pointr_py3.7) q84sun@alchemy:/usr/bin$ pip install "git+https://github.com/erikwijmans/Pointnet2_PyTorch.git#egg=pointnet2_ops&subdirectory=pointnet2_ops_lib"
Collecting pointnet2_ops
  Cloning https://github.com/erikwijmans/Pointnet2_PyTorch.git to /tmp/pip-install-lev6u0kf/pointnet2-ops_9e2617bea81344689a33722bdac6320c
  Running command git clone --filter=blob:none --quiet https://github.com/erikwijmans/Pointnet2_PyTorch.git /tmp/pip-install-lev6u0kf/pointnet2-ops_9e2617bea81344689a33722bdac6320c
  Resolved https://github.com/erikwijmans/Pointnet2_PyTorch.git to commit b5ceb6d9ca0467ea34beb81023f96ee82228f626
  Preparing metadata (setup.py) ... done
Requirement already satisfied: torch>=1.4 in /home/q84sun/miniconda3/envs/pointr_py3.7/lib/python3.7/site-packages (from pointnet2_ops) (1.7.1+cu110)
Requirement already satisfied: typing-extensions in /home/q84sun/miniconda3/envs/pointr_py3.7/lib/python3.7/site-packages (from torch>=1.4->pointnet2_ops) (4.7.1)
...
...
      /usr/include/c++/11/type_traits(1406): error: type name is not allowed
                detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::nullopt_t, _Up=c10::optional<c10::IntArrayRef>]"
      /home/q84sun/miniconda3/envs/pointr_py3.7/lib/python3.7/site-packages/torch/include/ATen/NativeFunctions.h(2116): here
      
      /usr/include/c++/11/type_traits(1406): error: type name is not allowed
                detected during:
                  instantiation of class "std::is_same<_Tp, _Up> [with _Tp=std::vector<int64_t, std::allocator<int64_t>>, _Up=std::vector<int64_t, std::allocator<int64_t>>]"
      /usr/include/c++/11/bits/stl_vector.h(401): here
                  instantiation of class "std::vector<_Tp, _Alloc> [with _Tp=std::vector<int64_t, std::allocator<int64_t>>, _Alloc=std::allocator<std::vector<int64_t, std::allocator<int64_t>>>]"
      /home/q84sun/miniconda3/envs/pointr_py3.7/lib/python3.7/site-packages/torch/include/ATen/WrapDimUtils.h(26): here
      
      /usr/include/c++/11/type_traits(1406): error: type name is not allowed
                detected during:
                  instantiation of class "std::is_same<_Tp, _Up> [with _Tp=std::vector<int64_t, std::allocator<int64_t>>, _Up=std::vector<int64_t, std::allocator<int64_t>>]"
      /usr/include/c++/11/bits/stl_vector.h(401): here
                  instantiation of class "std::vector<_Tp, _Alloc> [with _Tp=std::vector<int64_t, std::allocator<int64_t>>, _Alloc=std::allocator<std::vector<int64_t, std::allocator<int64_t>>>]"
      /home/q84sun/miniconda3/envs/pointr_py3.7/lib/python3.7/site-packages/torch/include/ATen/WrapDimUtils.h(26): here
      
      Error limit reached.
      100 errors detected in the compilation of "pointnet2_ops/_ext-src/src/ball_query_gpu.cu".
      Compilation terminated.
      error: command '/usr/local/cuda/bin/nvcc' failed with exit code 1
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure

× Encountered error while trying to install package.
╰─> pointnet2_ops

note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
  • python: 3.7
  • pytorch: 1.7
  • cuda: 12.2
  • nvcc: 11.2
  • ubuntu: 22.04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant