nomewang / M3DM

MIT License
146 stars 19 forks source link

PointNet++ #11

Open JiayuLiu666 opened 1 year ago

JiayuLiu666 commented 1 year ago

Hello, I have faced the problem below.

fatal: unable to connect to github.com: github.com[0: 140.82.114.3]: errno=Connection timed out

error: subprocess-exited-with-error

× git clone --filter=blob:none --quiet git://github.com/erikwijmans/Pointnet2_PyTorch.git /tmp/pip-install-kq9u8ao9/pointnet2-ops_ceaad6fe187d4bbd9a54c0b9341bce1a did not run successfully. │ exit code: 128 ╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error

× git clone --filter=blob:none --quiet git://github.com/erikwijmans/Pointnet2_PyTorch.git /tmp/pip-install-kq9u8ao9/pointnet2-ops_ceaad6fe187d4bbd9a54c0b9341bce1a did not run successfully. │ exit code: 128 ╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

Could you help me to solve this problem? Thank you very much.

dinuowei commented 1 year ago

应该是pytorch版本不兼容。很麻烦

JiayuLiu666 commented 1 year ago

应该是pytorch版本不兼容。很麻烦

莫名其妙解决了,不清楚发生了什么事情

Jay-zzcoder commented 1 year ago

这不是应该是没链接上github吗

JiayuLiu666 commented 1 year ago

还能回想起来是哪方面的问题吗,,,,一直这个错误,有vpn,电脑一直可以访问github

直接去://github.com/erikwijmans/Pointnet2_PyTorch.git 把pointnet ops下载下来

withWindJin commented 6 months ago

git+git哪里改成git+https就行啦

heidapao2b commented 6 months ago

这种方法我之前有尝试包括换成https的链接也尝试了,但是这两种方法在执行指令安装的时候 pip install pointnet2_ops_lib/. 出现编译报错如下,看到有些和我一样问题的但是没找到解决方案

(test1) jinghui@jinghui-Jiguang-Z-Series-GM5AGEE:~/code/M3DM/Pointnet2_PyTorch$ pip install pointnet2_ops_lib/. Processing ./pointnet2_ops_lib Preparing metadata (setup.py) ... done Requirement already satisfied: torch>=1.4 in /home/jinghui/anaconda3/envs/test1/lib/python3.8/site-packages (from pointnet2-ops==3.0.0) (1.11.0) Requirement already satisfied: typing_extensions in /home/jinghui/anaconda3/envs/test1/lib/python3.8/site-packages (from torch>=1.4->pointnet2-ops==3.0.0) (4.7.1) Building wheels for collected packages: pointnet2-ops Building wheel for pointnet2-ops (setup.py) ... error error: subprocess-exited-with-error

× python setup.py bdist_wheel did not run successfully. │ exit code: 1 ╰─> [161 lines of output] running bdist_wheel running build running build_py creating build creating build/lib.linux-x86_64-3.8 creating build/lib.linux-x86_64-3.8/pointnet2_ops copying pointnet2_ops/_version.py -> build/lib.linux-x86_64-3.8/pointnet2_ops copying pointnet2_ops/pointnet2_utils.py -> build/lib.linux-x86_64-3.8/pointnet2_ops copying pointnet2_ops/init.py -> build/lib.linux-x86_64-3.8/pointnet2_ops copying pointnet2_ops/pointnet2_modules.py -> build/lib.linux-x86_64-3.8/pointnet2_ops running egg_info writing pointnet2_ops.egg-info/PKG-INFO writing dependency_links to pointnet2_ops.egg-info/dependency_links.txt writing requirements to pointnet2_ops.egg-info/requires.txt writing top-level names to pointnet2_ops.egg-info/top_level.txt reading manifest file 'pointnet2_ops.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'pointnet2_ops.egg-info/SOURCES.txt' creating build/lib.linux-x86_64-3.8/pointnet2_ops/_ext-src creating build/lib.linux-x86_64-3.8/pointnet2_ops/_ext-src/include copying pointnet2_ops/_ext-src/include/ball_query.h -> build/lib.linux-x86_64-3.8/pointnet2_ops/_ext-src/include copying pointnet2_ops/_ext-src/include/cuda_utils.h -> build/lib.linux-x86_64-3.8/pointnet2_ops/_ext-src/include copying pointnet2_ops/_ext-src/include/group_points.h -> build/lib.linux-x86_64-3.8/pointnet2_ops/_ext-src/include copying pointnet2_ops/_ext-src/include/interpolate.h -> build/lib.linux-x86_64-3.8/pointnet2_ops/_ext-src/include copying pointnet2_ops/_ext-src/include/sampling.h -> build/lib.linux-x86_64-3.8/pointnet2_ops/_ext-src/include copying pointnet2_ops/_ext-src/include/utils.h -> build/lib.linux-x86_64-3.8/pointnet2_ops/_ext-src/include creating build/lib.linux-x86_64-3.8/pointnet2_ops/_ext-src/src copying pointnet2_ops/_ext-src/src/ball_query.cpp -> build/lib.linux-x86_64-3.8/pointnet2_ops/_ext-src/src copying pointnet2_ops/_ext-src/src/ball_query_gpu.cu -> build/lib.linux-x86_64-3.8/pointnet2_ops/_ext-src/src copying pointnet2_ops/_ext-src/src/bindings.cpp -> build/lib.linux-x86_64-3.8/pointnet2_ops/_ext-src/src copying pointnet2_ops/_ext-src/src/group_points.cpp -> build/lib.linux-x86_64-3.8/pointnet2_ops/_ext-src/src copying pointnet2_ops/_ext-src/src/group_points_gpu.cu -> build/lib.linux-x86_64-3.8/pointnet2_ops/_ext-src/src copying pointnet2_ops/_ext-src/src/interpolate.cpp -> build/lib.linux-x86_64-3.8/pointnet2_ops/_ext-src/src copying pointnet2_ops/_ext-src/src/interpolate_gpu.cu -> build/lib.linux-x86_64-3.8/pointnet2_ops/_ext-src/src copying pointnet2_ops/_ext-src/src/sampling.cpp -> build/lib.linux-x86_64-3.8/pointnet2_ops/_ext-src/src copying pointnet2_ops/_ext-src/src/sampling_gpu.cu -> build/lib.linux-x86_64-3.8/pointnet2_ops/_ext-src/src running build_ext /home/jinghui/anaconda3/envs/test1/lib/python3.8/site-packages/torch/utils/cpp_extension.py:788: UserWarning: The detected CUDA version (11.5) has a minor version mismatch with the version that was used to compile PyTorch (11.3). Most likely this shouldn't be a problem. warnings.warn(CUDA_MISMATCH_WARN.format(cuda_str_version, torch.version.cuda)) building 'pointnet2_ops._ext' extension creating /home/jinghui/code/M3DM/Pointnet2_PyTorch/pointnet2_ops_lib/build/temp.linux-x86_64-3.8 creating /home/jinghui/code/M3DM/Pointnet2_PyTorch/pointnet2_ops_lib/build/temp.linux-x86_64-3.8/pointnet2_ops creating /home/jinghui/code/M3DM/Pointnet2_PyTorch/pointnet2_ops_lib/build/temp.linux-x86_64-3.8/pointnet2_ops/_ext-src creating /home/jinghui/code/M3DM/Pointnet2_PyTorch/pointnet2_ops_lib/build/temp.linux-x86_64-3.8/pointnet2_ops/_ext-src/src Emitting ninja build file /home/jinghui/code/M3DM/Pointnet2_PyTorch/pointnet2_ops_lib/build/temp.linux-x86_64-3.8/build.ninja... Compiling objects... Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N) [1/9] c++ -MMD -MF /home/jinghui/code/M3DM/Pointnet2_PyTorch/pointnet2_ops_lib/build/temp.linux-x86_64-3.8/pointnet2_ops/_ext-src/src/group_points.o.d -pthread -B /home/jinghui/anaconda3/envs/test1/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/jinghui/code/M3DM/Pointnet2_PyTorch/pointnet2_ops_lib/pointnet2_ops/_ext-src/include -I/home/jinghui/anaconda3/envs/test1/lib/python3.8/site-packages/torch/include -I/home/jinghui/anaconda3/envs/test1/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/jinghui/anaconda3/envs/test1/lib/python3.8/site-packages/torch/include/TH -I/home/jinghui/anaconda3/envs/test1/lib/python3.8/site-packages/torch/include/THC -I/home/jinghui/anaconda3/envs/test1/include/python3.8 -c -c /home/jinghui/code/M3DM/Pointnet2_PyTorch/pointnet2_ops_lib/pointnet2_ops/_ext-src/src/group_points.cpp -o /home/jinghui/code/M3DM/Pointnet2_PyTorch/pointnet2_ops_lib/build/temp.linux-x86_64-3.8/pointnet2_ops/_ext-src/src/group_points.o -O3 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14 cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [2/9] c++ -MMD -MF /home/jinghui/code/M3DM/Pointnet2_PyTorch/pointnet2_ops_lib/build/temp.linux-x86_64-3.8/pointnet2_ops/_ext-src/src/interpolate.o.d -pthread -B /home/jinghui/anaconda3/envs/test1/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/jinghui/code/M3DM/Pointnet2_PyTorch/pointnet2_ops_lib/pointnet2_ops/_ext-src/include -I/home/jinghui/anaconda3/envs/test1/lib/python3.8/site-packages/torch/include -I/home/jinghui/anaconda3/envs/test1/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/jinghui/anaconda3/envs/test1/lib/python3.8/site-packages/torch/include/TH -I/home/jinghui/anaconda3/envs/test1/lib/python3.8/site-packages/torch/include/THC -I/home/jinghui/anaconda3/envs/test1/include/python3.8 -c -c /home/jinghui/code/M3DM/Pointnet2_PyTorch/pointnet2_ops_lib/pointnet2_ops/_ext-src/src/interpolate.cpp -o /home/jinghui/code/M3DM/Pointnet2_PyTorch/pointnet2_ops_lib/build/temp.linux-x86_64-3.8/pointnet2_ops/_ext-src/src/interpolate.o -O3 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14 cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [3/9] c++ -MMD -MF /home/jinghui/code/M3DM/Pointnet2_PyTorch/pointnet2_ops_lib/build/temp.linux-x86_64-3.8/pointnet2_ops/_ext-src/src/sampling.o.d -pthread -B /home/jinghui/anaconda3/envs/test1/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/jinghui/code/M3DM/Pointnet2_PyTorch/pointnet2_ops_lib/pointnet2_ops/_ext-src/include -I/home/jinghui/anaconda3/envs/test1/lib/python3.8/site-packages/torch/include -I/home/jinghui/anaconda3/envs/test1/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/jinghui/anaconda3/envs/test1/lib/python3.8/site-packages/torch/include/TH -I/home/jinghui/anaconda3/envs/test1/lib/python3.8/site-packages/torch/include/THC -I/home/jinghui/anaconda3/envs/test1/include/python3.8 -c -c /home/jinghui/code/M3DM/Pointnet2_PyTorch/pointnet2_ops_lib/pointnet2_ops/_ext-src/src/sampling.cpp -o /home/jinghui/code/M3DM/Pointnet2_PyTorch/pointnet2_ops_lib/build/temp.linux-x86_64-3.8/pointnet2_ops/_ext-src/src/sampling.o -O3 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14 cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [4/9] c++ -MMD -MF /home/jinghui/code/M3DM/Pointnet2_PyTorch/pointnet2_ops_lib/build/temp.linux-x86_64-3.8/pointnet2_ops/_ext-src/src/bindings.o.d -pthread -B /home/jinghui/anaconda3/envs/test1/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/jinghui/code/M3DM/Pointnet2_PyTorch/pointnet2_ops_lib/pointnet2_ops/_ext-src/include -I/home/jinghui/anaconda3/envs/test1/lib/python3.8/site-packages/torch/include -I/home/jinghui/anaconda3/envs/test1/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/jinghui/anaconda3/envs/test1/lib/python3.8/site-packages/torch/include/TH -I/home/jinghui/anaconda3/envs/test1/lib/python3.8/site-packages/torch/include/THC -I/home/jinghui/anaconda3/envs/test1/include/python3.8 -c -c /home/jinghui/code/M3DM/Pointnet2_PyTorch/pointnet2_ops_lib/pointnet2_ops/_ext-src/src/bindings.cpp -o /home/jinghui/code/M3DM/Pointnet2_PyTorch/pointnet2_ops_lib/build/temp.linux-x86_64-3.8/pointnet2_ops/_ext-src/src/bindings.o -O3 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14 cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [5/9] c++ -MMD -MF /home/jinghui/code/M3DM/Pointnet2_PyTorch/pointnet2_ops_lib/build/temp.linux-x86_64-3.8/pointnet2_ops/_ext-src/src/ball_query.o.d -pthread -B /home/jinghui/anaconda3/envs/test1/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/jinghui/code/M3DM/Pointnet2_PyTorch/pointnet2_ops_lib/pointnet2_ops/_ext-src/include -I/home/jinghui/anaconda3/envs/test1/lib/python3.8/site-packages/torch/include -I/home/jinghui/anaconda3/envs/test1/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/jinghui/anaconda3/envs/test1/lib/python3.8/site-packages/torch/include/TH -I/home/jinghui/anaconda3/envs/test1/lib/python3.8/site-packages/torch/include/THC -I/home/jinghui/anaconda3/envs/test1/include/python3.8 -c -c /home/jinghui/code/M3DM/Pointnet2_PyTorch/pointnet2_ops_lib/pointnet2_ops/_ext-src/src/ball_query.cpp -o /home/jinghui/code/M3DM/Pointnet2_PyTorch/pointnet2_ops_lib/build/temp.linux-x86_64-3.8/pointnet2_ops/_ext-src/src/ball_query.o -O3 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14 cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [6/9] /usr/bin/nvcc -I/home/jinghui/code/M3DM/Pointnet2_PyTorch/pointnet2_ops_lib/pointnet2_ops/_ext-src/include -I/home/jinghui/anaconda3/envs/test1/lib/python3.8/site-packages/torch/include -I/home/jinghui/anaconda3/envs/test1/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/jinghui/anaconda3/envs/test1/lib/python3.8/site-packages/torch/include/TH -I/home/jinghui/anaconda3/envs/test1/lib/python3.8/site-packages/torch/include/THC -I/home/jinghui/anaconda3/envs/test1/include/python3.8 -c -c /home/jinghui/code/M3DM/Pointnet2_PyTorch/pointnet2_ops_lib/pointnet2_ops/_ext-src/src/ball_query_gpu.cu -o /home/jinghui/code/M3DM/Pointnet2_PyTorch/pointnet2_ops_lib/build/temp.linux-x86_64-3.8/pointnet2_ops/_ext-src/src/ball_query_gpu.o -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_BFLOAT16_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -O3 -Xfatbin -compress-all -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_37,code=compute_37 -gencode=arch=compute_37,code=sm_37 -gencode=arch=compute_50,code=sm_50 -gencode=arch=compute_60,code=sm_60 -gencode=arch=compute_61,code=sm_61 -gencode=arch=compute_62,code=sm_62 -gencode=arch=compute_70,code=sm_70 -gencode=arch=compute_75,code=sm_75 -std=c++14 FAILED: /home/jinghui/code/M3DM/Pointnet2_PyTorch/pointnet2_ops_lib/build/temp.linux-x86_64-3.8/pointnet2_ops/_ext-src/src/ball_query_gpu.o /usr/bin/nvcc -I/home/jinghui/code/M3DM/Pointnet2_PyTorch/pointnet2_ops_lib/pointnet2_ops/_ext-src/include -I/home/jinghui/anaconda3/envs/test1/lib/python3.8/site-packages/torch/include -I/home/jinghui/anaconda3/envs/test1/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/jinghui/anaconda3/envs/test1/lib/python3.8/site-packages/torch/include/TH -I/home/jinghui/anaconda3/envs/test1/lib/python3.8/site-packages/torch/include/THC -I/home/jinghui/anaconda3/envs/test1/include/python3.8 -c -c /home/jinghui/code/M3DM/Pointnet2_PyTorch/pointnet2_ops_lib/pointnet2_ops/_ext-src/src/ball_query_gpu.cu -o /home/jinghui/code/M3DM/Pointnet2_PyTorch/pointnet2_ops_lib/build/temp.linux-x86_64-3.8/pointnet2_ops/_ext-src/src/ball_query_gpu.o -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_BFLOAT16_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -O3 -Xfatbin -compress-all -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_37,code=compute_37 -gencode=arch=compute_37,code=sm_37 -gencode=arch=compute_50,code=sm_50 -gencode=arch=compute_60,code=sm_60 -gencode=arch=compute_61,code=sm_61 -gencode=arch=compute_62,code=sm_62 -gencode=arch=compute_70,code=sm_70 -gencode=arch=compute_75,code=sm_75 -std=c++14 nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning). /usr/include/c++/11/bits/std_function.h:435:145: error: parameter packs not expanded with ‘...’: 435 | function(_Functor&& f) | ^ /usr/include/c++/11/bits/std_function.h:435:145: note: ‘_ArgTypes’ /usr/include/c++/11/bits/std_function.h:530:146: error: parameter packs not expanded with ‘...’: 530 | operator=(_Functor&& **f) | ^ /usr/include/c++/11/bits/std_function.h:530:146: note: ‘_ArgTypes’ [7/9] /usr/bin/nvcc -I/home/jinghui/code/M3DM/Pointnet2_PyTorch/pointnet2_ops_lib/pointnet2_ops/_ext-src/include -I/home/jinghui/anaconda3/envs/test1/lib/python3.8/site-packages/torch/include -I/home/jinghui/anaconda3/envs/test1/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/jinghui/anaconda3/envs/test1/lib/python3.8/site-packages/torch/include/TH -I/home/jinghui/anaconda3/envs/test1/lib/python3.8/site-packages/torch/include/THC -I/home/jinghui/anaconda3/envs/test1/include/python3.8 -c -c /home/jinghui/code/M3DM/Pointnet2_PyTorch/pointnet2_ops_lib/pointnet2_ops/_ext-src/src/group_points_gpu.cu -o /home/jinghui/code/M3DM/Pointnet2_PyTorch/pointnet2_ops_lib/build/temp.linux-x86_64-3.8/pointnet2_ops/_ext-src/src/group_points_gpu.o -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_BFLOAT16_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -O3 -Xfatbin -compress-all -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_37,code=compute_37 -gencode=arch=compute_37,code=sm_37 -gencode=arch=compute_50,code=sm_50 -gencode=arch=compute_60,code=sm_60 -gencode=arch=compute_61,code=sm_61 -gencode=arch=compute_62,code=sm_62 -gencode=arch=compute_70,code=sm_70 -gencode=arch=compute_75,code=sm_75 -std=c++14 FAILED: /home/jinghui/code/M3DM/Pointnet2_PyTorch/pointnet2_ops_lib/build/temp.linux-x86_64-3.8/pointnet2_ops/_ext-src/src/group_points_gpu.o /usr/bin/nvcc -I/home/jinghui/code/M3DM/Pointnet2_PyTorch/pointnet2_ops_lib/pointnet2_ops/_ext-src/include -I/home/jinghui/anaconda3/envs/test1/lib/python3.8/site-packages/torch/include -I/home/jinghui/anaconda3/envs/test1/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/jinghui/anaconda3/envs/test1/lib/python3.8/site-packages/torch/include/TH -I/home/jinghui/anaconda3/envs/test1/lib/python3.8/site-packages/torch/include/THC -I/home/jinghui/anaconda3/envs/test1/include/python3.8 -c -c /home/jinghui/code/M3DM/Pointnet2_PyTorch/pointnet2_ops_lib/pointnet2_ops/_ext-src/src/group_points_gpu.cu -o /home/jinghui/code/M3DM/Pointnet2_PyTorch/pointnet2_ops_lib/build/temp.linux-x86_64-3.8/pointnet2_ops/_ext-src/src/group_points_gpu.o -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_BFLOAT16_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -O3 -Xfatbin -compress-all -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_37,code=compute_37 -gencode=arch=compute_37,code=sm_37 -gencode=arch=compute_50,code=sm_50 -gencode=arch=compute_60,code=sm_60 -gencode=arch=compute_61,code=sm_61 -gencode=arch=compute_62,code=sm_62 -gencode=arch=compute_70,code=sm_70 -gencode=arch=compute_75,code=sm_75 -std=c++14 nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning). /usr/include/c++/11/bits/std_function.h:435:145: error: parameter packs not expanded with ‘...’: 435 | function(_Functor&& __f) | ^ /usr/include/c++/11/bits/std_function.h:435:145: note: ‘_ArgTypes’ /usr/include/c++/11/bits/std_function.h:530:146: error: parameter packs not expanded with ‘...’: 530 | operator=(_Functor&& f) | ^ /usr/include/c++/11/bits/std_function.h:530:146: note: ‘_ArgTypes’ [8/9] /usr/bin/nvcc -I/home/jinghui/code/M3DM/Pointnet2_PyTorch/pointnet2_ops_lib/pointnet2_ops/_ext-src/include -I/home/jinghui/anaconda3/envs/test1/lib/python3.8/site-packages/torch/include -I/home/jinghui/anaconda3/envs/test1/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/jinghui/anaconda3/envs/test1/lib/python3.8/site-packages/torch/include/TH -I/home/jinghui/anaconda3/envs/test1/lib/python3.8/site-packages/torch/include/THC -I/home/jinghui/anaconda3/envs/test1/include/python3.8 -c -c /home/jinghui/code/M3DM/Pointnet2_PyTorch/pointnet2_ops_lib/pointnet2_ops/_ext-src/src/sampling_gpu.cu -o /home/jinghui/code/M3DM/Pointnet2_PyTorch/pointnet2_ops_lib/build/temp.linux-x86_64-3.8/pointnet2_ops/_ext-src/src/sampling_gpu.o -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_BFLOAT16_CONVERSIONS** -D__CUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -O3 -Xfatbin -compress-all -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_37,code=compute_37 -gencode=arch=compute_37,code=sm_37 -gencode=arch=compute_50,code=sm_50 -gencode=arch=compute_60,code=sm_60 -gencode=arch=compute_61,code=sm_61 -gencode=arch=compute_62,code=sm_62 -gencode=arch=compute_70,code=sm_70 -gencode=arch=compute_75,code=sm_75 -std=c++14 FAILED: /home/jinghui/code/M3DM/Pointnet2_PyTorch/pointnet2_ops_lib/build/temp.linux-x86_64-3.8/pointnet2_ops/_ext-src/src/sampling_gpu.o /usr/bin/nvcc -I/home/jinghui/code/M3DM/Pointnet2_PyTorch/pointnet2_ops_lib/pointnet2_ops/_ext-src/include -I/home/jinghui/anaconda3/envs/test1/lib/python3.8/site-packages/torch/include -I/home/jinghui/anaconda3/envs/test1/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/jinghui/anaconda3/envs/test1/lib/python3.8/site-packages/torch/include/TH -I/home/jinghui/anaconda3/envs/test1/lib/python3.8/site-packages/torch/include/THC -I/home/jinghui/anaconda3/envs/test1/include/python3.8 -c -c /home/jinghui/code/M3DM/Pointnet2_PyTorch/pointnet2_ops_lib/pointnet2_ops/_ext-src/src/sampling_gpu.cu -o /home/jinghui/code/M3DM/Pointnet2_PyTorch/pointnet2_ops_lib/build/temp.linux-x86_64-3.8/pointnet2_ops/_ext-src/src/sampling_gpu.o -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_BFLOAT16_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -O3 -Xfatbin -compress-all -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_37,code=compute_37 -gencode=arch=compute_37,code=sm_37 -gencode=arch=compute_50,code=sm_50 -gencode=arch=compute_60,code=sm_60 -gencode=arch=compute_61,code=sm_61 -gencode=arch=compute_62,code=sm_62 -gencode=arch=compute_70,code=sm_70 -gencode=arch=compute_75,code=sm_75 -std=c++14 nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning). /usr/include/c++/11/bits/std_function.h:435:145: error: parameter packs not expanded with ‘...’: 435 | function(_Functor&& f) | ^ /usr/include/c++/11/bits/std_function.h:435:145: note: ‘_ArgTypes’ /usr/include/c++/11/bits/std_function.h:530:146: error: parameter packs not expanded with ‘...’: 530 | operator=(_Functor&& **f) | ^ /usr/include/c++/11/bits/std_function.h:530:146: note: ‘_ArgTypes’ [9/9] /usr/bin/nvcc -I/home/jinghui/code/M3DM/Pointnet2_PyTorch/pointnet2_ops_lib/pointnet2_ops/_ext-src/include -I/home/jinghui/anaconda3/envs/test1/lib/python3.8/site-packages/torch/include -I/home/jinghui/anaconda3/envs/test1/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/jinghui/anaconda3/envs/test1/lib/python3.8/site-packages/torch/include/TH -I/home/jinghui/anaconda3/envs/test1/lib/python3.8/site-packages/torch/include/THC -I/home/jinghui/anaconda3/envs/test1/include/python3.8 -c -c /home/jinghui/code/M3DM/Pointnet2_PyTorch/pointnet2_ops_lib/pointnet2_ops/_ext-src/src/interpolate_gpu.cu -o /home/jinghui/code/M3DM/Pointnet2_PyTorch/pointnet2_ops_lib/build/temp.linux-x86_64-3.8/pointnet2_ops/_ext-src/src/interpolate_gpu.o -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_BFLOAT16_CONVERSIONS** -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -O3 -Xfatbin -compress-all -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_37,code=compute_37 -gencode=arch=compute_37,code=sm_37 -gencode=arch=compute_50,code=sm_50 -gencode=arch=compute_60,code=sm_60 -gencode=arch=compute_61,code=sm_61 -gencode=arch=compute_62,code=sm_62 -gencode=arch=compute_70,code=sm_70 -gencode=arch=compute_75,code=sm_75 -std=c++14 FAILED: /home/jinghui/code/M3DM/Pointnet2_PyTorch/pointnet2_ops_lib/build/temp.linux-x86_64-3.8/pointnet2_ops/_ext-src/src/interpolate_gpu.o /usr/bin/nvcc -I/home/jinghui/code/M3DM/Pointnet2_PyTorch/pointnet2_ops_lib/pointnet2_ops/_ext-src/include -I/home/jinghui/anaconda3/envs/test1/lib/python3.8/site-packages/torch/include -I/home/jinghui/anaconda3/envs/test1/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/jinghui/anaconda3/envs/test1/lib/python3.8/site-packages/torch/include/TH -I/home/jinghui/anaconda3/envs/test1/lib/python3.8/site-packages/torch/include/THC -I/home/jinghui/anaconda3/envs/test1/include/python3.8 -c -c /home/jinghui/code/M3DM/Pointnet2_PyTorch/pointnet2_ops_lib/pointnet2_ops/_ext-src/src/interpolate_gpu.cu -o /home/jinghui/code/M3DM/Pointnet2_PyTorch/pointnet2_ops_lib/build/temp.linux-x86_64-3.8/pointnet2_ops/_ext-src/src/interpolate_gpu.o -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_BFLOAT16_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -O3 -Xfatbin -compress-all -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_37,code=compute_37 -gencode=arch=compute_37,code=sm_37 -gencode=arch=compute_50,code=sm_50 -gencode=arch=compute_60,code=sm_60 -gencode=arch=compute_61,code=sm_61 -gencode=arch=compute_62,code=sm_62 -gencode=arch=compute_70,code=sm_70 -gencode=arch=compute_75,code=sm_75 -std=c++14 nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning). /usr/include/c++/11/bits/std_function.h:435:145: error: parameter packs not expanded with ‘...’: 435 | function(_Functor&& f) | ^ /usr/include/c++/11/bits/std_function.h:435:145: note: ‘_ArgTypes’ /usr/include/c++/11/bits/std_function.h:530:146: error: parameter packs not expanded with ‘...’: 530 | operator=(_Functor&& __f) | ^ /usr/include/c++/11/bits/std_function.h:530:146: note: ‘_ArgTypes’ ninja: build stopped: subcommand failed. Traceback (most recent call last): File "/home/jinghui/anaconda3/envs/test1/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 1740, in _run_ninja_build subprocess.run( File "/home/jinghui/anaconda3/envs/test1/lib/python3.8/subprocess.py", line 516, in run raise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1.

  The above exception was the direct cause of the following exception:

  Traceback (most recent call last):
    File "<string>", line 2, in <module>
    File "<pip-setuptools-caller>", line 34, in <module>
    File "/home/jinghui/code/M3DM/Pointnet2_PyTorch/pointnet2_ops_lib/setup.py", line 20, in <module>
      setup(
    File "/home/jinghui/anaconda3/envs/test1/lib/python3.8/site-packages/setuptools/__init__.py", line 153, in setup
      return distutils.core.setup(**attrs)
    File "/home/jinghui/anaconda3/envs/test1/lib/python3.8/distutils/core.py", line 148, in setup
      dist.run_commands()
    File "/home/jinghui/anaconda3/envs/test1/lib/python3.8/distutils/dist.py", line 966, in run_commands
      self.run_command(cmd)
    File "/home/jinghui/anaconda3/envs/test1/lib/python3.8/distutils/dist.py", line 985, in run_command
      cmd_obj.run()
    File "/home/jinghui/anaconda3/envs/test1/lib/python3.8/site-packages/wheel/bdist_wheel.py", line 325, in run
      self.run_command("build")
    File "/home/jinghui/anaconda3/envs/test1/lib/python3.8/distutils/cmd.py", line 313, in run_command
      self.distribution.run_command(command)
    File "/home/jinghui/anaconda3/envs/test1/lib/python3.8/distutils/dist.py", line 985, in run_command
      cmd_obj.run()
    File "/home/jinghui/anaconda3/envs/test1/lib/python3.8/distutils/command/build.py", line 135, in run
      self.run_command(cmd_name)
    File "/home/jinghui/anaconda3/envs/test1/lib/python3.8/distutils/cmd.py", line 313, in run_command
      self.distribution.run_command(command)
    File "/home/jinghui/anaconda3/envs/test1/lib/python3.8/distutils/dist.py", line 985, in run_command
      cmd_obj.run()
    File "/home/jinghui/anaconda3/envs/test1/lib/python3.8/site-packages/setuptools/command/build_ext.py", line 79, in run
      _build_ext.run(self)
    File "/home/jinghui/anaconda3/envs/test1/lib/python3.8/distutils/command/build_ext.py", line 340, in run
      self.build_extensions()
    File "/home/jinghui/anaconda3/envs/test1/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 741, in build_extensions
      build_ext.build_extensions(self)
    File "/home/jinghui/anaconda3/envs/test1/lib/python3.8/distutils/command/build_ext.py", line 449, in build_extensions
      self._build_extensions_serial()
    File "/home/jinghui/anaconda3/envs/test1/lib/python3.8/distutils/command/build_ext.py", line 474, in _build_extensions_serial
      self.build_extension(ext)
    File "/home/jinghui/anaconda3/envs/test1/lib/python3.8/site-packages/setuptools/command/build_ext.py", line 202, in build_extension
      _build_ext.build_extension(self, ext)
    File "/home/jinghui/anaconda3/envs/test1/lib/python3.8/distutils/command/build_ext.py", line 528, in build_extension
      objects = self.compiler.compile(sources,
    File "/home/jinghui/anaconda3/envs/test1/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 562, in unix_wrap_ninja_compile
      _write_ninja_file_and_compile_objects(
    File "/home/jinghui/anaconda3/envs/test1/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 1419, in _write_ninja_file_and_compile_objects
      _run_ninja_build(
    File "/home/jinghui/anaconda3/envs/test1/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 1756, in _run_ninja_build
      raise RuntimeError(message) from e
  RuntimeError: Error compiling objects for extension
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for pointnet2-ops Running setup.py clean for pointnet2-ops Failed to build pointnet2-ops ERROR: Could not build wheels for pointnet2-ops, which is required to install pyproject.toml-based projects

跟你一样的问题解决了吗