dvlab-research / PointGroup

PointGroup: Dual-Set Point Grouping for 3D Instance Segmentation
Apache License 2.0
378 stars 81 forks source link

Error running 'python setup.py bdist_wheel' #58

Open Sandeepjalui93 opened 2 years ago

Sandeepjalui93 commented 2 years ago

(pointgroup) [sjalui@c38a-s33 spconv]$ python setup.py bdist_wheel running bdist_wheel running build running build_py running build_ext /blue/agapakie/sjalui/PointGroup/lib/spconv/build/lib.linux-x86_64-cpython-37 Release -- Caffe2: CUDA detected: 11.4 -- Caffe2: CUDA nvcc is: /apps/compilers/cuda/11.4.3/bin/nvcc -- Caffe2: CUDA toolkit directory: /apps/compilers/cuda/11.4.3 -- Caffe2: Header version is: 11.4 CMake Warning (dev) at /home/sjalui/.conda/envs/pointgroup/share/cmake-3.23/Modules/FindPackageHandleStandardArgs.cmake:438 (message): The package name passed to find_package_handle_standard_args (CUDNN) does not match the name of the calling package (Caffe2). This can lead to problems in calling code that expects find_package result variables (e.g., _FOUND) to follow a certain pattern. Call Stack (most recent call first): /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/share/cmake/Caffe2/public/cuda.cmake:107 (find_package_handle_standard_args) /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/share/cmake/Caffe2/Caffe2Config.cmake:88 (include) /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/share/cmake/Torch/TorchConfig.cmake:40 (find_package) CMakeLists.txt:25 (find_package) This warning is for project developers. Use -Wno-dev to suppress it.

-- Found cuDNN: v7.6.5 (include: /home/sjalui/.conda/envs/pointgroup/include, library: /home/sjalui/.conda/envs/pointgroup/lib/libcudnn.so) -- Autodetected CUDA architecture(s): 7.5 -- Added CUDA NVCC flags for: -gencode;arch=compute_75,code=sm_75 CMake Warning (dev) at /home/sjalui/.conda/envs/pointgroup/share/cmake-3.23/Modules/FindPackageHandleStandardArgs.cmake:438 (message): The package name passed to find_package_handle_standard_args (torch) does not match the name of the calling package (Torch). This can lead to problems in calling code that expects find_package result variables (e.g., _FOUND) to follow a certain pattern. Call Stack (most recent call first): /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/share/cmake/Torch/TorchConfig.cmake:93 (find_package_handle_standard_args) CMakeLists.txt:25 (find_package) This warning is for project developers. Use -Wno-dev to suppress it.

-- pybind11 v2.3.dev0 -- Configuring done CMake Warning (dev) in src/spconv/CMakeLists.txt: Policy CMP0104 is not set: CMAKE_CUDA_ARCHITECTURES now detected for NVCC, empty CUDA_ARCHITECTURES not allowed. Run "cmake --help-policy CMP0104" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

CUDA_ARCHITECTURES is empty for target "spconv". This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) in src/spconv/CMakeLists.txt: Policy CMP0104 is not set: CMAKE_CUDA_ARCHITECTURES now detected for NVCC, empty CUDA_ARCHITECTURES not allowed. Run "cmake --help-policy CMP0104" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

CUDA_ARCHITECTURES is empty for target "spconv". This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) in src/utils/CMakeLists.txt: Policy CMP0104 is not set: CMAKE_CUDA_ARCHITECTURES now detected for NVCC, empty CUDA_ARCHITECTURES not allowed. Run "cmake --help-policy CMP0104" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

CUDA_ARCHITECTURES is empty for target "spconv_nms". This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) in src/utils/CMakeLists.txt: Policy CMP0104 is not set: CMAKE_CUDA_ARCHITECTURES now detected for NVCC, empty CUDA_ARCHITECTURES not allowed. Run "cmake --help-policy CMP0104" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

CUDA_ARCHITECTURES is empty for target "spconv_nms". This warning is for project developers. Use -Wno-dev to suppress it.

-- Generating done -- Build files have been written to: /blue/agapakie/sjalui/PointGroup/lib/spconv/build/temp.linux-x86_64-cpython-37 Consolidate compiler generated dependencies of target spconv_nms Consolidate compiler generated dependencies of target spconv [ 7%] Building CUDA object src/utils/CMakeFiles/spconv_nms.dir/nms.cu.o [ 23%] Building CXX object src/spconv/CMakeFiles/spconv.dir/indice.cc.o [ 23%] Building CXX object src/spconv/CMakeFiles/spconv.dir/all.cc.o [ 30%] Building CUDA object src/spconv/CMakeFiles/spconv.dir/indice.cu.o [ 38%] Linking CUDA shared library ../../../lib.linux-x86_64-cpython-37/spconv/libspconv_nms.so [ 38%] Built target spconv_nms In file included from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/spconv_ops.h:22:0, from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/indice.cc:17: /blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h: In function ‘void tv::check_torch_dtype(const at::Tensor&)’: /blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h:32:29: error: ‘remove_const_t’ is not a member of ‘st ’ auto val = std::is_same<std::remove_const_t, double>::value; ^ /blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h:32:29: note: suggested alternative: In file included from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h:19:0, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/core/ScalarType.h:3, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h:9, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/core/Type.h:8, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/Type.h:2, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/Context.h:4, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/ATen.h:5, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/torch/script.h:3, from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/spconv_ops.h:21, from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/indice.cc:17: /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/util/C++17.h:39:77: note: ‘c10::guts::remove_const_t’ template using remove_const_t = typename std::remove_const::type; ^ In file included from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/pool_ops.h:21:0, from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/all.cc:16: /blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h: In function ‘void tv::check_torch_dtype(const at::Tensor&)’: /blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h:32:29: error: ‘remove_const_t’ is not a member of ‘st ’ auto val = std::is_same<std::remove_const_t, double>::value; ^ /blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h:32:29: note: suggested alternative: In file included from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/spconv_ops.h:22:0, from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/indice.cc:17: /blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h:32:29: error: ‘remove_const_t’ is not a member of ‘st ’ auto val = std::is_same<std::remove_const_t, double>::value; ^ /blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h:32:29: note: suggested alternative: In file included from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h:19:0, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/core/ScalarType.h:3, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h:9, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/core/Type.h:8, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/Type.h:2, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/Context.h:4, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/ATen.h:5, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/torch/script.h:3, from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/pool_ops.h:20, from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/all.cc:16: /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/util/C++17.h:39:77: note: ‘c10::guts::remove_const_t’ template using remove_const_t = typename std::remove_const::type; ^ In file included from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h:19:0, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/core/ScalarType.h:3, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h:9, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/core/Type.h:8, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/Type.h:2, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/Context.h:4, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/ATen.h:5, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/torch/script.h:3, from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/spconv_ops.h:21, from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/indice.cc:17: /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/util/C++17.h:39:77: note: ‘c10::guts::remove_const_t’ template using remove_const_t = typename std::remove_const::type; ^ In file included from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/spconv_ops.h:22:0, from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/indice.cc:17: /blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h:32:50: error: wrong number of template arguments (1, should be 2) auto val = std::is_same<std::remove_const_t, double>::value; ^ In file included from /usr/include/c++/4.8.2/bits/move.h:57:0, from /usr/include/c++/4.8.2/bits/stl_pair.h:59, from /usr/include/c++/4.8.2/bits/stl_algobase.h:64, from /usr/include/c++/4.8.2/bits/char_traits.h:39, from /usr/include/c++/4.8.2/ios:40, from /usr/include/c++/4.8.2/ostream:38, from /usr/include/c++/4.8.2/iostream:39, from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/geometry.h:18, from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/indice.cc:15: /usr/include/c++/4.8.2/type_traits:823:12: error: provided for ‘template<class, class> struct std::is_same’ struct is_same; ^ In file included from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/spconv_ops.h:22:0, from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/indice.cc:17: /blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h:37:29: error: ‘remove_const_t’ is not a member of ‘st ’ auto val = std::is_same<std::remove_const_t, float>::value; ^ /blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h:37:29: note: suggested alternative: In file included from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h:19:0, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/core/ScalarType.h:3, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h:9, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/core/Type.h:8, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/Type.h:2, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/Context.h:4, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/ATen.h:5, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/torch/script.h:3, from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/spconv_ops.h:21, from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/indice.cc:17: /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/util/C++17.h:39:77: note: ‘c10::guts::remove_const_t’ template using remove_const_t = typename std::remove_const::type; ^ In file included from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/spconv_ops.h:22:0, from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/indice.cc:17: /blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h:37:29: error: ‘remove_const_t’ is not a member of ‘st ’ auto val = std::is_same<std::remove_const_t, float>::value; ^ /blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h:37:29: note: suggested alternative: In file included from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h:19:0, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/core/ScalarType.h:3, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h:9, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/core/Type.h:8, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/Type.h:2, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/Context.h:4, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/ATen.h:5, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/torch/script.h:3, from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/spconv_ops.h:21, from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/indice.cc:17: /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/util/C++17.h:39:77: note: ‘c10::guts::remove_const_t’ template using remove_const_t = typename std::remove_const::type; ^ Consolidate compiler generated dependencies of target spconv_utils In file included from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/spconv_ops.h:22:0, from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/indice.cc:17: /blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h:37:50: error: wrong number of template arguments (1, should be 2) auto val = std::is_same<std::remove_const_t, float>::value; ^ In file included from /usr/include/c++/4.8.2/bits/move.h:57:0, from /usr/include/c++/4.8.2/bits/stl_pair.h:59, from /usr/include/c++/4.8.2/bits/stl_algobase.h:64, from /usr/include/c++/4.8.2/bits/char_traits.h:39, from /usr/include/c++/4.8.2/ios:40, from /usr/include/c++/4.8.2/ostream:38, from /usr/include/c++/4.8.2/iostream:39, from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/geometry.h:18, from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/indice.cc:15: /usr/include/c++/4.8.2/type_traits:823:12: error: provided for ‘template<class, class> struct std::is_same’ struct is_same; ^ In file included from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/spconv_ops.h:22:0, from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/indice.cc:17: /blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h:42:29: error: ‘remove_const_t’ is not a member of ‘st ’ auto val = std::is_same<std::remove_const_t, int>::value; ^ /blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h:42:29: note: suggested alternative: In file included from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h:19:0, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/core/ScalarType.h:3, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h:9, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/core/Type.h:8, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/Type.h:2, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/Context.h:4, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/ATen.h:5, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/torch/script.h:3, from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/spconv_ops.h:21, from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/indice.cc:17: /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/util/C++17.h:39:77: note: ‘c10::guts::remove_const_t’ template using remove_const_t = typename std::remove_const::type; ^ In file included from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/spconv_ops.h:22:0, from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/indice.cc:17: /blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h:42:29: error: ‘remove_const_t’ is not a member of ‘st ’ auto val = std::is_same<std::remove_const_t, int>::value; ^ /blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h:42:29: note: suggested alternative: In file included from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/pool_ops.h:21:0, from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/all.cc:16: /blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h:32:29: error: ‘remove_const_t’ is not a member of ‘st ’ auto val = std::is_same<std::remove_const_t, double>::value; ^ /blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h:32:29: note: suggested alternative: In file included from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h:19:0, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/core/ScalarType.h:3, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h:9, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/core/Type.h:8, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/Type.h:2, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/Context.h:4, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/ATen.h:5, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/torch/script.h:3, from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/spconv_ops.h:21, from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/indice.cc:17: /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/util/C++17.h:39:77: note: ‘c10::guts::remove_const_t’ template using remove_const_t = typename std::remove_const::type; ^ In file included from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/spconv_ops.h:22:0, from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/indice.cc:17: /blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h:42:50: error: wrong number of template arguments (1, should be 2) auto val = std::is_same<std::remove_const_t, int>::value; ^ In file included from /usr/include/c++/4.8.2/bits/move.h:57:0, from /usr/include/c++/4.8.2/bits/stl_pair.h:59, from /usr/include/c++/4.8.2/bits/stl_algobase.h:64, from /usr/include/c++/4.8.2/bits/char_traits.h:39, from /usr/include/c++/4.8.2/ios:40, from /usr/include/c++/4.8.2/ostream:38, from /usr/include/c++/4.8.2/iostream:39, from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/geometry.h:18, from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/indice.cc:15: /usr/include/c++/4.8.2/type_traits:823:12: error: provided for ‘template<class, class> struct std::is_same’ struct is_same; ^ In file included from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/spconv_ops.h:22:0, from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/indice.cc:17: /blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h:47:29: error: ‘remove_const_t’ is not a member of ‘st ’ auto val = std::is_same<std::remove_const_t, at::Half>::value; ^ /blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h:47:29: note: suggested alternative: In file included from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h:19:0, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/core/ScalarType.h:3, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h:9, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/core/Type.h:8, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/Type.h:2, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/Context.h:4, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/ATen.h:5, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/torch/script.h:3, from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/spconv_ops.h:21, from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/indice.cc:17: /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/util/C++17.h:39:77: note: ‘c10::guts::remove_const_t’ template using remove_const_t = typename std::remove_const::type; ^ In file included from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/spconv_ops.h:22:0, from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/indice.cc:17: /blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h:47:29: error: ‘remove_const_t’ is not a member of ‘st ’ auto val = std::is_same<std::remove_const_t, at::Half>::value; ^ /blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h:47:29: note: suggested alternative: In file included from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h:19:0, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/core/ScalarType.h:3, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h:9, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/core/Type.h:8, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/Type.h:2, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/Context.h:4, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/ATen.h:5, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/torch/script.h:3, from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/spconv_ops.h:21, from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/indice.cc:17: /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/util/C++17.h:39:77: note: ‘c10::guts::remove_const_t’ template using remove_const_t = typename std::remove_const::type; ^ In file included from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/spconv_ops.h:22:0, from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/indice.cc:17: /blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h:47:50: error: wrong number of template arguments (1, should be 2) auto val = std::is_same<std::remove_const_t, at::Half>::value; ^ In file included from /usr/include/c++/4.8.2/bits/move.h:57:0, from /usr/include/c++/4.8.2/bits/stl_pair.h:59, from /usr/include/c++/4.8.2/bits/stl_algobase.h:64, from /usr/include/c++/4.8.2/bits/char_traits.h:39, from /usr/include/c++/4.8.2/ios:40, from /usr/include/c++/4.8.2/ostream:38, from /usr/include/c++/4.8.2/iostream:39, from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/geometry.h:18, from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/indice.cc:15: /usr/include/c++/4.8.2/type_traits:823:12: error: provided for ‘template<class, class> struct std::is_same’ struct is_same; ^ In file included from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/spconv_ops.h:22:0, from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/indice.cc:17: /blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h: In function ‘tv::TensorView tv::torch2tv(const at::Tensor&)’: /blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h:64:40: error: ‘remove_const_t’ is not a member of ‘st ’ return tv::TensorView(tensor.data<std::remove_const_t>(), shape); ^ /blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h:64:40: note: suggested alternative: In file included from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h:19:0, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/core/ScalarType.h:3, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h:9, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/core/Type.h:8, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/Type.h:2, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/Context.h:4, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/ATen.h:5, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/torch/script.h:3, from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/pool_ops.h:20, from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/all.cc:16: /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/util/C++17.h:39:77: note: ‘c10::guts::remove_const_t’ template using remove_const_t = typename std::remove_const::type; ^ In file included from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h:19:0, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/core/ScalarType.h:3, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h:9, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/core/Type.h:8, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/Type.h:2, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/Context.h:4, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/ATen.h:5, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/torch/script.h:3, from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/spconv_ops.h:21, from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/indice.cc:17: /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/util/C++17.h:39:77: note: ‘c10::guts::remove_const_t’ template using remove_const_t = typename std::remove_const::type; ^ In file included from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/spconv_ops.h:22:0, from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/indice.cc:17: /blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h:64:40: error: ‘remove_const_t’ is not a member of ‘st ’ return tv::TensorView(tensor.data<std::remove_const_t>(), shape); ^ /blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h:64:40: note: suggested alternative: In file included from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h:19:0, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/core/ScalarType.h:3, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h:9, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/core/Type.h:8, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/Type.h:2, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/Context.h:4, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/ATen.h:5, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/torch/script.h:3, from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/spconv_ops.h:21, from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/indice.cc:17: /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/util/C++17.h:39:77: note: ‘c10::guts::remove_const_t’ template using remove_const_t = typename std::remove_const::type; ^ In file included from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/pool_ops.h:21:0, from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/all.cc:16: /blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h:32:50: error: wrong number of template arguments (1, should be 2) auto val = std::is_same<std::remove_const_t, double>::value; ^ In file included from /usr/include/c++/4.8.2/bits/move.h:57:0, from /usr/include/c++/4.8.2/bits/stl_pair.h:59, from /usr/include/c++/4.8.2/utility:70, from /usr/include/c++/4.8.2/algorithm:60, from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/tensorview/tensorview.h:16, from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/maxpool.h:17, from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/pool_ops.h:19, from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/all.cc:16: /usr/include/c++/4.8.2/type_traits:823:12: error: provided for ‘template<class, class> struct std::is_same’ struct is_same; ^ In file included from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/spconv_ops.h:22:0, from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/indice.cc:17: /blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h:64:35: error: parse error in template argument list return tv::TensorView(tensor.data<std::remove_const_t>(), shape); ^ /blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h:64:27: error: expected primary-expression before ‘(’ token return tv::TensorView(tensor.data<std::remove_const_t>(), shape); ^ In file included from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/pool_ops.h:21:0, from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/all.cc:16: /blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h:37:29: error: ‘remove_const_t’ is not a member of ‘st ’ auto val = std::is_same<std::remove_const_t, float>::value; ^ /blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h:37:29: note: suggested alternative: /blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h:64:64: error: expected primary-expression before ‘)’ token return tv::TensorView(tensor.data<std::remove_const_t>(), shape); ^ In file included from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h:19:0, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/core/ScalarType.h:3, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h:9, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/core/Type.h:8, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/Type.h:2, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/Context.h:4, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/ATen.h:5, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/torch/script.h:3, from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/pool_ops.h:20, from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/all.cc:16: /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/util/C++17.h:39:77: note: ‘c10::guts::remove_const_t’ template using remove_const_t = typename std::remove_const::type; ^ In file included from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/pool_ops.h:21:0, from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/all.cc:16: /blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h:37:29: error: ‘remove_const_t’ is not a member of ‘st ’ auto val = std::is_same<std::remove_const_t, float>::value; ^ /blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h:37:29: note: suggested alternative: In file included from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h:19:0, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/core/ScalarType.h:3, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h:9, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/core/Type.h:8, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/Type.h:2, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/Context.h:4, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/ATen.h:5, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/torch/script.h:3, from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/pool_ops.h:20, from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/all.cc:16: /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/util/C++17.h:39:77: note: ‘c10::guts::remove_const_t’ template using remove_const_t = typename std::remove_const::type; ^ In file included from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/pool_ops.h:21:0, from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/all.cc:16: /blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h:37:50: error: wrong number of template arguments (1, should be 2) auto val = std::is_same<std::remove_const_t, float>::value; ^ In file included from /usr/include/c++/4.8.2/bits/move.h:57:0, from /usr/include/c++/4.8.2/bits/stl_pair.h:59, from /usr/include/c++/4.8.2/utility:70, from /usr/include/c++/4.8.2/algorithm:60, from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/tensorview/tensorview.h:16, from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/maxpool.h:17, from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/pool_ops.h:19, from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/all.cc:16: /usr/include/c++/4.8.2/type_traits:823:12: error: provided for ‘template<class, class> struct std::is_same’ struct is_same; ^ In file included from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/pool_ops.h:21:0, from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/all.cc:16: /blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h:42:29: error: ‘remove_const_t’ is not a member of ‘st ’ auto val = std::is_same<std::remove_const_t, int>::value; ^ /blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h:42:29: note: suggested alternative: In file included from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h:19:0, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/core/ScalarType.h:3, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h:9, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/core/Type.h:8, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/Type.h:2, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/Context.h:4, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/ATen.h:5, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/torch/script.h:3, from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/pool_ops.h:20, from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/all.cc:16: /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/util/C++17.h:39:77: note: ‘c10::guts::remove_const_t’ template using remove_const_t = typename std::remove_const::type; ^ In file included from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/pool_ops.h:21:0, from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/all.cc:16: /blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h:42:29: error: ‘remove_const_t’ is not a member of ‘st ’ auto val = std::is_same<std::remove_const_t, int>::value; ^ /blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h:42:29: note: suggested alternative: In file included from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h:19:0, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/core/ScalarType.h:3, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h:9, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/core/Type.h:8, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/Type.h:2, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/Context.h:4, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/ATen.h:5, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/torch/script.h:3, from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/pool_ops.h:20, from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/all.cc:16: /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/util/C++17.h:39:77: note: ‘c10::guts::remove_const_t’ template using remove_const_t = typename std::remove_const::type; ^ In file included from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/pool_ops.h:21:0, from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/all.cc:16: /blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h:42:50: error: wrong number of template arguments (1, should be 2) auto val = std::is_same<std::remove_const_t, int>::value; ^ In file included from /usr/include/c++/4.8.2/bits/move.h:57:0, from /usr/include/c++/4.8.2/bits/stl_pair.h:59, from /usr/include/c++/4.8.2/utility:70, from /usr/include/c++/4.8.2/algorithm:60, from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/tensorview/tensorview.h:16, from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/maxpool.h:17, from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/pool_ops.h:19, from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/all.cc:16: /usr/include/c++/4.8.2/type_traits:823:12: error: provided for ‘template<class, class> struct std::is_same’ struct is_same; ^ In file included from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/pool_ops.h:21:0, from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/all.cc:16: /blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h:47:29: error: ‘remove_const_t’ is not a member of ‘st ’ auto val = std::is_same<std::remove_const_t, at::Half>::value; ^ /blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h:47:29: note: suggested alternative: In file included from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h:19:0, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/core/ScalarType.h:3, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h:9, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/core/Type.h:8, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/Type.h:2, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/Context.h:4, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/ATen.h:5, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/torch/script.h:3, from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/pool_ops.h:20, from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/all.cc:16: /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/util/C++17.h:39:77: note: ‘c10::guts::remove_const_t’ template using remove_const_t = typename std::remove_const::type; ^ In file included from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/pool_ops.h:21:0, from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/all.cc:16: /blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h:47:29: error: ‘remove_const_t’ is not a member of ‘st ’ auto val = std::is_same<std::remove_const_t, at::Half>::value; ^ /blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h:47:29: note: suggested alternative: In file included from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h:19:0, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/core/ScalarType.h:3, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h:9, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/core/Type.h:8, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/Type.h:2, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/Context.h:4, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/ATen.h:5, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/torch/script.h:3, from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/pool_ops.h:20, from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/all.cc:16: /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/util/C++17.h:39:77: note: ‘c10::guts::remove_const_t’ template using remove_const_t = typename std::remove_const::type; ^ In file included from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/pool_ops.h:21:0, from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/all.cc:16: /blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h:47:50: error: wrong number of template arguments (1, should be 2) auto val = std::is_same<std::remove_const_t, at::Half>::value; ^ In file included from /usr/include/c++/4.8.2/bits/move.h:57:0, from /usr/include/c++/4.8.2/bits/stl_pair.h:59, from /usr/include/c++/4.8.2/utility:70, from /usr/include/c++/4.8.2/algorithm:60, from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/tensorview/tensorview.h:16, from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/maxpool.h:17, from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/pool_ops.h:19, from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/all.cc:16: /usr/include/c++/4.8.2/type_traits:823:12: error: provided for ‘template<class, class> struct std::is_same’ struct is_same; ^ In file included from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/pool_ops.h:21:0, from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/all.cc:16: /blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h: In function ‘tv::TensorView tv::torch2tv(const at::Tensor&)’: /blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h:64:40: error: ‘remove_const_t’ is not a member of ‘st ’ return tv::TensorView(tensor.data<std::remove_const_t>(), shape); ^ /blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h:64:40: note: suggested alternative: In file included from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h:19:0, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/core/ScalarType.h:3, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h:9, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/core/Type.h:8, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/Type.h:2, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/Context.h:4, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/ATen.h:5, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/torch/script.h:3, from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/pool_ops.h:20, from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/all.cc:16: /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/util/C++17.h:39:77: note: ‘c10::guts::remove_const_t’ template using remove_const_t = typename std::remove_const::type; ^ In file included from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/pool_ops.h:21:0, from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/all.cc:16: /blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h:64:40: error: ‘remove_const_t’ is not a member of ‘st ’ return tv::TensorView(tensor.data<std::remove_const_t>(), shape); ^ /blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h:64:40: note: suggested alternative: In file included from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h:19:0, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/core/ScalarType.h:3, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h:9, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/core/Type.h:8, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/Type.h:2, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/Context.h:4, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/ATen.h:5, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3, from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/torch/script.h:3, from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/pool_ops.h:20, from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/all.cc:16: /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/util/C++17.h:39:77: note: ‘c10::guts::remove_const_t’ template using remove_const_t = typename std::remove_const::type; ^ In file included from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/pool_ops.h:21:0, from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/all.cc:16: /blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h:64:35: error: parse error in template argument list return tv::TensorView(tensor.data<std::remove_const_t>(), shape); ^ /blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h:64:27: error: expected primary-expression before ‘(’ token return tv::TensorView(tensor.data<std::remove_const_t>(), shape); ^ /blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h:64:64: error: expected primary-expression before ‘)’ token return tv::TensorView(tensor.data<std::remove_const_t>(), shape); ^ gmake[2]: [src/spconv/CMakeFiles/spconv.dir/indice.cc.o] Error 1 gmake[2]: Waiting for unfinished jobs.... gmake[2]: [src/spconv/CMakeFiles/spconv.dir/all.cc.o] Error 1 gmake[1]: [src/spconv/CMakeFiles/spconv.dir/all] Error 2 gmake[1]: Waiting for unfinished jobs.... [ 46%] Building CXX object src/utils/CMakeFiles/spconv_utils.dir/all.cc.o [ 53%] Linking CXX shared library ../../../lib.linux-x86_64-cpython-37/spconv/spconv_utils.cpython-37m-x86_64-linux-gnu.so [ 53%] Built target spconv_utils gmake: [all] Error 2 Traceback (most recent call last): File "setup.py", line 87, in zip_safe=False, File "/home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/setuptools/init.py", line 87, in setup return distutils.core.setup(**attrs) File "/home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/setuptools/_distutils/core.py", line 148, in setup return run_commands(dist) File "/home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/setuptools/_distutils/core.py", line 163, in run_commands dist.run_commands() File "/home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/setuptools/_distutils/dist.py", line 967, in run_commands self.run_command(cmd) File "/home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/setuptools/dist.py", line 1214, in run_command super().run_command(command) File "/home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/setuptools/_distutils/dist.py", line 986, in run_command cmd_obj.run() File "/home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/wheel/bdist_wheel.py", line 299, in run self.run_command('build') File "/home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/setuptools/_distutils/cmd.py", line 313, in run_command self.distribution.run_command(command) File "/home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/setuptools/dist.py", line 1214, in run_command super().run_command(command) File "/home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/setuptools/_distutils/dist.py", line 986, in run_command cmd_obj.run() File "/home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/setuptools/_distutils/command/build.py", line 136, in run self.run_command(cmd_name) File "/home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/setuptools/_distutils/cmd.py", line 313, in run_command self.distribution.run_command(command) File "/home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/setuptools/dist.py", line 1214, in run_command super().run_command(command) File "/home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/setuptools/_distutils/dist.py", line 986, in run_command cmd_obj.run() File "setup.py", line 39, in run self.build_extension(ext) File "setup.py", line 71, in build_extension subprocess.check_call(['cmake', '--build', '.'] + build_args, cwd=self.build_temp) File "/home/sjalui/.conda/envs/pointgroup/lib/python3.7/subprocess.py", line 363, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['cmake', '--build', '.', '--config', 'Release', '--', '-j4']' returned non-zero exit status 2.

Can anybody help me, please!

zoomin-lee commented 2 years ago

Hi, how did you solve it?

dominikj2 commented 2 years ago

Hi, I am having the same problem. I wonder if it is associated with the step before compiling the spconv library (shown below)? Can anyone explain how to complete below step correctly?

_Add the $INCLUDEPATH$ that contains boost in lib/spconv/CMakeLists.txt. (Not necessary if it could be found.) include_directories($INCLUDE_PATH$)

SARIHUST commented 1 year ago

Hi, I am having the same problem. I wonder if it is associated with the step before compiling the spconv library (shown below)? Can anyone explain how to complete below step correctly?

Add the INCLUDEPATH that contains boost in lib/spconv/CMakeLists.txt. (Not necessary if it could be found.) include_directories($INCLUDE_PATH$)

I have the same question, I'm not familiar with CMake files and have no idea what that instruction means, have you solved it?

dominikj2 commented 1 year ago

Hi, I never received a response and have moved on since. I would be interested to know your solution if you find one.

On Sun, Oct 9, 2022 at 10:09 PM Hanhui Wang @.***> wrote:

Hi, I am having the same problem. I wonder if it is associated with the step before compiling the spconv library (shown below)? Can anyone explain how to complete below step correctly?

Add the INCLUDEPATH that contains boost in lib/spconv/CMakeLists.txt. (Not necessary if it could be found.) include_directories($INCLUDE_PATH$)

I have the same question, I'm not familiar with CMake files and have no idea what that instruction means, have you solved it?

— Reply to this email directly, view it on GitHub https://github.com/dvlab-research/PointGroup/issues/58#issuecomment-1272517971, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFIRHC4QLM26HDJKO452SOLWCKRYHANCNFSM5TQVBTIA . You are receiving this because you commented.Message ID: @.***>

SARIHUST commented 1 year ago

I finally built the environment successfully on a docker container, I used the image: pytorch/pytorch:1.7.1-cuda11.0-cudnn8-devel

The main problems I came up with compiling spconv are shown below:

  1. boost/geometry.hpp: No such file or directory
  2. no matching function for call to 'torch::jit::RegisterOperators... from Geoformer/lib/spconv/src/spconv/all.cc'

For the first error, I believe it is beacause I used conda install libboost which turns out to have failed to install boost correctly for some unknow reason, so I used sudo apt install libboost-dev-all instead and solved the error. For the second error, it is clear that there was something wrong with the all.cc file, it turned out that after pytorch1.4, the function torch::jit::RegisterOperators was changed to torch::RegisterOperators, so I simply removed ::jit from the file and it worked out well. @dominikj2 BTW, similar to the first problem, when I tryied to compile pointgroup_ops, it turned out that conda install -c bioconda googlesparse-hash didn't work for me, and I solved the problem by using sudo apt install libsparsehash-dev

Berumotto1 commented 1 year ago

Hi, I am having the same problem. I wonder if it is associated with the step before compiling the spconv library (shown below)? Can anyone explain how to complete below step correctly?

_Add the $INCLUDEPATH$ that contains boost in lib/spconv/CMakeLists.txt. (Not necessary if it could be found.) include_directories($INCLUDE_PATH$)

change the cmake version to 3.14.4 pip install cmake==3.14.4

Rurouni-z commented 12 months ago

if you are 2080ti and re-install cmake to re-complie

  1. first install cuda10.0
  2. install cudnn
  3. gcc version <= 7
  4. then:

    pip uninstall cmake && pip install cmake==3.14.4

btw dont use conda intall cuda, cudnn, torchvison... you must install cuda in your system and maybe your cuda version is wrong

reinstall cmake just to clear the old file which is created by cmake. if dont work, you must got error in somewhere

Lucyliuwen commented 10 months ago

Hi, I am having the same problem. I wonder if it is associated with the step before compiling the spconv library (shown below)? Can anyone explain how to complete below step correctly? _Add the $INCLUDEPATH$ that contains boost in lib/spconv/CMakeLists.txt. (Not necessary if it could be found.) include_directories($INCLUDE_PATH$)

change the cmake version to 3.14.4 pip install cmake==3.14.4

hello, could you please explain it in more detail? i have changed the cmake version and recompiled but still encounter the same problem. I would appreciate it if you could reply.

cChrister commented 6 months ago

pip install cmake==3.14.4 can solve the problem ‘remove_const_t’ is not a member of ‘std’

cChrister commented 6 months ago

if you do not have root to install libboost, you can refer this link: https://stackoverflow.com/questions/12578499/how-to-install-boost-on-ubuntu