Open tyq996 opened 1 year ago
The errors here are const-correctness problems in calls to increment_version. I think you might be using quite an old version of pytorch, specifically from before https://github.com/pytorch/pytorch/pull/55351 (which fixed the type signature of torch::autograd::increment_version), a version so old pytorch3d doesn't support it.
If you are stuck with the version of pytorch. As a quick fix, you can just delete all the lines which call increment_version in pytorch3d: i.e. remove the changes in https://github.com/facebookresearch/pytorch3d/commit/7d8b029aaed5f247e3898f4b51e6a79ca52bfc54 .
python3.8+cuda10.1+torch1.6.1 I have successfully installed the iopath and fvscore. The commands are as follows:
git clone https://github.com/facebookresearch/iopath pip install -e iopath
git clone https://github.com/facebookresearch/fvcore pip install -e fvcore And then I install the CUB library by the following command:
conda install -c bottler nvidiacub
But when I install the pytorch3d by the following command:
git clone https://github.com/facebookresearch/pytorch3d.git cd pytorch3d pip install -e .
the error is as follows:
running install /home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. !!
!! self.initialize_options() /home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/setuptools/_distutils/cmd.py:66: EasyInstallDeprecationWarning: easy_install command is deprecated. !!
!! self.initialize_options() running bdist_egg running egg_info writing pytorch3d.egg-info/PKG-INFO writing dependency_links to pytorch3d.egg-info/dependency_links.txt writing entry points to pytorch3d.egg-info/entry_points.txt writing requirements to pytorch3d.egg-info/requires.txt writing top-level names to pytorch3d.egg-info/top_level.txt reading manifest file 'pytorch3d.egg-info/SOURCES.txt' adding license file 'LICENSE' adding license file 'LICENSE-3RD-PARTY' writing manifest file 'pytorch3d.egg-info/SOURCES.txt' installing library code to build/bdist.linux-x86_64/egg running install_lib running build_py running build_ext building 'pytorch3d._C' extension Emitting ninja build file /media/public/新加卷/Mask2Hand-main/pytorch3d/build/temp.linux-x86_64-cpython-38/build.ninja... Compiling objects... Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N) [1/67] c++ -MMD -MF '/media/public/新加卷/Mask2Hand-main/pytorch3d/build/temp.linux-x86_64-cpython-38/media/public/新加卷/Mask2Hand-main/pytorch3d/pyt/csrc/gather_scatter/gather_scatter_cpu.o'.d -pthread -B /home/public/anaconda3/envs/pytorch3d/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK '-I/media/public/新加卷/Mask2Hand-main/pytorch3d/pytorchcsrc' -I/home/public/anaconda3/envs/pytorch3d/include -I/home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include -I/home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/TH -I/home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/public/anaconda3/envs/pytorch3d/include/python3.8 -c -c '/media/public/新加卷/Mask2Hand-main/pytorch3d/pytorch3d/csrc/gather_scatter/gather_scatter_cpu.cpp' -o '/media/public/新加卷/Mask2Hand-main/pytorch3d/build/temp.linux-x86_64-cpython-38/media/public/新加卷/Mask2Hand-main/pytorch3d/pytorch3d/csrc/gacatter/gather_scatter_cpu.o' -std=c++14 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [2/67] /usr/local/cuda/bin/nvcc -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK '-I/media/public/新加卷/Mask2Hand-main/pytorch3d/pytorch3d/csrc' -I/homeblic/anaconda3/envs/pytorch3d/include -I/home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include -I/home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/TH -I/home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/public/anaconda3/envs/pytorch3d/include/python3.8 -c -c '/media/public/新加卷/Mask2Hand-main/pytorch3d/pytorch3d/csrc/face_areas_normals/face_areas_normals.cu' -o '/mediablic/新加卷/Mask2Hand-main/pytorch3d/build/temp.linux-x86_64-cpython-38/media/public/新加卷/Mask2Hand-main/pytorch3d/pytorch3d/csrc/face_areas_normalsareas_normals.o' -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -DCUDA_HAS_FP16=1 -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS -std=c++14 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 [3/67] /usr/local/cuda/bin/nvcc -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK '-I/media/public/新加卷/Mask2Hand-main/pytorch3d/pytorch3d/csrc' -I/homeblic/anaconda3/envs/pytorch3d/include -I/home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include -I/home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/TH -I/home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/public/anaconda3/envs/pytorch3d/include/python3.8 -c -c '/media/public/新加卷/Mask2Hand-main/pytorch3d/pytorch3d/csrc/blending/sigmoid_alpha_blend.cu' -o '/media/public/新Mask2Hand-main/pytorch3d/build/temp.linux-x86_64-cpython-38/media/public/新加卷/Mask2Hand-main/pytorch3d/pytorch3d/csrc/blending/sigmoid_alpha_blend.oDCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -DCUDA_HAS_FP16=1 -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS -std=c++14 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 [4/67] /usr/local/cuda/bin/nvcc -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK '-I/media/public/新加卷/Mask2Hand-main/pytorch3d/pytorch3d/csrc' -I/homeblic/anaconda3/envs/pytorch3d/include -I/home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include -I/home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/TH -I/home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/public/anaconda3/envs/pytorch3d/include/python3.8 -c -c '/media/public/新加卷/Mask2Hand-main/pytorch3d/pytorch3d/csrc/interp_face_attrs/interp_face_attrs.cu' -o '/media/pic/新加卷/Mask2Hand-main/pytorch3d/build/temp.linux-x86_64-cpython-38/media/public/新加卷/Mask2Hand-main/pytorch3d/pytorch3d/csrc/interp_face_attrs/inace_attrs.o' -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -DCUDA_HAS_FP16=1 -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS -std=c++14 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 [5/67] /usr/local/cuda/bin/nvcc -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK '-I/media/public/新加卷/Mask2Hand-main/pytorch3d/pytorch3d/csrc' -I/homeblic/anaconda3/envs/pytorch3d/include -I/home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include -I/home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/TH -I/home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/public/anaconda3/envs/pytorch3d/include/python3.8 -c -c '/media/public/新加卷/Mask2Hand-main/pytorch3d/pytorch3d/csrc/gather_scatter/gather_scatter.cu' -o '/media/public//Mask2Hand-main/pytorch3d/build/temp.linux-x86_64-cpython-38/media/public/新加卷/Mask2Hand-main/pytorch3d/pytorch3d/csrc/gather_scatter/gather_scatter -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -DCUDA_HAS_FP16=1 -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS -std=c++14 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 [6/67] /usr/local/cuda/bin/nvcc -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK '-I/media/public/新加卷/Mask2Hand-main/pytorch3d/pytorch3d/csrc' -I/homeblic/anaconda3/envs/pytorch3d/include -I/home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include -I/home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/TH -I/home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/public/anaconda3/envs/pytorch3d/include/python3.8 -c -c '/media/public/新加卷/Mask2Hand-main/pytorch3d/pytorch3d/csrc/compositing/norm_weighted_sum.cu' -o '/media/public//Mask2Hand-main/pytorch3d/build/temp.linux-x86_64-cpython-38/media/public/新加卷/Mask2Hand-main/pytorch3d/pytorch3d/csrc/compositing/norm_weighted_sum -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -DCUDA_HAS_FP16=1 -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS -std=c++14 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 [7/67] /usr/local/cuda/bin/nvcc -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK '-I/media/public/新加卷/Mask2Hand-main/pytorch3d/pytorch3d/csrc' -I/homeblic/anaconda3/envs/pytorch3d/include -I/home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include -I/home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/TH -I/home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/public/anaconda3/envs/pytorch3d/include/python3.8 -c -c '/media/public/新加卷/Mask2Hand-main/pytorch3d/pytorch3d/csrc/ball_query/ball_query.cu' -o '/media/public/新加卷/Mnd-main/pytorch3d/build/temp.linux-x86_64-cpython-38/media/public/新加卷/Mask2Hand-main/pytorch3d/pytorch3d/csrc/ball_query/ball_query.o' -DCUDA_NO_F_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -DCUDA_HAS_FP16=1 -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS -std=c++14 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 [8/67] /usr/local/cuda/bin/nvcc -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK '-I/media/public/新加卷/Mask2Hand-main/pytorch3d/pytorch3d/csrc' -I/homeblic/anaconda3/envs/pytorch3d/include -I/home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include -I/home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/TH -I/home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/public/anaconda3/envs/pytorch3d/include/python3.8 -c -c '/media/public/新加卷/Mask2Hand-main/pytorch3d/pytorch3d/csrc/compositing/weighted_sum.cu' -o '/media/public/新加卷2Hand-main/pytorch3d/build/temp.linux-x86_64-cpython-38/media/public/新加卷/Mask2Hand-main/pytorch3d/pytorch3d/csrc/compositing/weighted_sum.o' -DCUNO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -DCUDA_HAS_FP16=1 -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS__ -std=c++14 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 [9/67] /usr/local/cuda/bin/nvcc -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK '-I/media/public/新加卷/Mask2Hand-main/pytorch3d/pytorch3d/csrc' -I/homeblic/anaconda3/envs/pytorch3d/include -I/home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include -I/home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/TH -I/home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/public/anaconda3/envs/pytorch3d/include/python3.8 -c -c '/media/public/新加卷/Mask2Hand-main/pytorch3d/pytorch3d/csrc/compositing/alpha_composite.cu' -o '/media/public/新ask2Hand-main/pytorch3d/build/temp.linux-x86_64-cpython-38/media/public/新加卷/Mask2Hand-main/pytorch3d/pytorch3d/csrc/compositing/alpha_composite.o' _CUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -DCUDA_HAS_FP16=1 -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -D__CUDA_NO_HALF2_OPERATORS__ -std=c++14 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 [10/67] c++ -MMD -MF '/media/public/新加卷/Mask2Hand-main/pytorch3d/build/temp.linux-x86_64-cpython-38/media/public/新加卷/Mask2Hand-main/pytorch3d/pyd/csrc/ext.o'.d -pthread -B /home/public/anaconda3/envs/pytorch3d/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK '-I/media/public/新加卷/Mask2Hand-main/pytorch3d/pytorch3d/csrc' -I/home/public/anaco3/envs/pytorch3d/include -I/home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include -I/home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/TH -I/home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/public/anaconda3/envs/pytorch3d/include/python3.8 -c -c '/media/public/新加卷/Mask2Hand-main/pytorch3d/pytorch3d/csrc/ext.cpp' -o '/media/public/新加卷/Mask2Hand-main/pytorch3d/build/p.linux-x86_64-cpython-38/media/public/新加卷/Mask2Hand-main/pytorch3d/pytorch3d/csrc/ext.o' -std=c++14 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENS_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 FAILED: /media/public/新加卷/Mask2Hand-main/pytorch3d/build/temp.linux-x86_64-cpython-38/media/public/新加卷/Mask2Hand-main/pytorch3d/pytorch3d/csrc/ext.o c++ -MMD -MF '/media/public/新加卷/Mask2Hand-main/pytorch3d/build/temp.linux-x86_64-cpython-38/media/public/新加卷/Mask2Hand-main/pytorch3d/pytorch3d/xt.o'.d -pthread -B /home/public/anaconda3/envs/pytorch3d/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK '-I/media/public/新加卷/Mask2Hand-main/pytorch3d/pytorch3d/csrc' -I/home/public/anaconda3/envytorch3d/include -I/home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include -I/home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/TH -I/home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/public/anaconda3/envs/pytorch3d/include/python3.8 -c -c '/media/public/新加卷/Mask2Hand-main/pytorch3d/pytorch3d/csrc/ext.cpp' -o '/media/public/新加卷/Mask2Hand-main/pytorch3d/build/temp.linx86_64-cpython-38/media/public/新加卷/Mask2Hand-main/pytorch3d/pytorch3d/csrc/ext.o' -std=c++14 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME -D_GLIBCXX_USE_CXX11_ABI=0 cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ In file included from /media/public/新加卷/Mask2Hand-main/pytorch3d/pytorch3d/csrc/ext.cpp:10:0: /media/public/新加卷/Mask2Hand-main/pytorch3d/pytorch3d/csrc/./pulsar/global.h:46:0: warning: ignoring #pragma clang diagnostic [-Wunknown-pragmas]
pragma clang diagnostic push
^ /media/public/新加卷/Mask2Hand-main/pytorch3d/pytorch3d/csrc/./pulsar/global.h:47:0: warning: ignoring #pragma clang diagnostic [-Wunknown-pragmas]
pragma clang diagnostic ignored "-Weverything"
^ In file included from /home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/ATen/Parallel.h:149:0, from /home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/utils.h:3, from /home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/nn/cloneable.h:5, from /home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/nn.h:3, from /home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:7, from /home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/torch/extension.h:4, from /media/public/新加卷/Mask2Hand-main/pytorch3d/pytorch3d/csrc/./pulsar/global.h:48, from /media/public/新加卷/Mask2Hand-main/pytorch3d/pytorch3d/csrc/ext.cpp:10: /home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/ATen/ParallelOpenMP.h:84:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
pragma omp parallel for if ((end - begin) >= grain_size)
^ In file included from /media/public/新加卷/Mask2Hand-main/pytorch3d/pytorch3d/csrc/ext.cpp:10:0: /media/public/新加卷/Mask2Hand-main/pytorch3d/pytorch3d/csrc/./pulsar/global.h:49:0: warning: ignoring #pragma clang diagnostic [-Wunknown-pragmas]
pragma clang diagnostic pop
^ In file included from /media/public/新加卷/Mask2Hand-main/pytorch3d/pytorch3d/csrc/ext.cpp:29:0: /media/public/新加卷/Mask2Hand-main/pytorch3d/pytorch3d/csrc/points_to_volumes/points_to_volumes.h: In function ‘void PointsToVolumesForward(const at:nsor&, const at::Tensor&, const at::Tensor&, const at::Tensor&, const at::Tensor&, const at::Tensor&, float, bool, bool)’: /media/public/新加卷/Mask2Hand-main/pytorch3d/pytorch3d/csrc/points_to_volumes/points_to_volumes.h:100:55: error: binding ‘const at::Tensor’ to refere of type ‘at::Tensor&’ discards qualifiers torch::autograd::increment_version(volume_features); ^ In file included from /media/public/新加卷/Mask2Hand-main/pytorch3d/pytorch3d/csrc/points_to_volumes/points_to_volumes.h:10:0, from /media/public/新加卷/Mask2Hand-main/pytorch3d/pytorch3d/csrc/ext.cpp:29: /home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/torch/csrc/autograd/VariableTypeUtils.h:87:13: note: initializing argument 1 of ‘void torch::autograd::increment_version(at::Tensor&)’ inline void increment_version(Tensor & t) { ^ In file included from /media/public/新加卷/Mask2Hand-main/pytorch3d/pytorch3d/csrc/ext.cpp:29:0: /media/public/新加卷/Mask2Hand-main/pytorch3d/pytorch3d/csrc/points_to_volumes/points_to_volumes.h:101:56: error: binding ‘const at::Tensor’ to refere of type ‘at::Tensor&’ discards qualifiers torch::autograd::increment_version(volume_densities); ^ In file included from /media/public/新加卷/Mask2Hand-main/pytorch3d/pytorch3d/csrc/points_to_volumes/points_to_volumes.h:10:0, from /media/public/新加卷/Mask2Hand-main/pytorch3d/pytorch3d/csrc/ext.cpp:29: /home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/torch/csrc/autograd/VariableTypeUtils.h:87:13: note: initializing argument 1 of ‘void torch::autograd::increment_version(at::Tensor&)’ inline void increment_version(Tensor & t) { ^ In file included from /media/public/新加卷/Mask2Hand-main/pytorch3d/pytorch3d/csrc/ext.cpp:33:0: /media/public/新加卷/Mask2Hand-main/pytorch3d/pytorch3d/csrc/sample_pdf/sample_pdf.h: In function ‘void SamplePdf(const at::Tensor&, const at::Tensor&onst at::Tensor&, float)’: /media/public/新加卷/Mask2Hand-main/pytorch3d/pytorch3d/csrc/sample_pdf/sample_pdf.h:67:47: error: binding ‘const at::Tensor’ to reference of type ‘atensor&’ discards qualifiers torch::autograd::increment_version(outputs); ^ In file included from /media/public/新加卷/Mask2Hand-main/pytorch3d/pytorch3d/csrc/points_to_volumes/points_to_volumes.h:10:0, from /media/public/新加卷/Mask2Hand-main/pytorch3d/pytorch3d/csrc/ext.cpp:29: /home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/torch/csrc/autograd/VariableTypeUtils.h:87:13: note: initializing argument 1 of ‘void torch::autograd::increment_version(at::Tensor&)’ inline void increment_version(Tensor & t) { ^ [11/67] c++ -MMD -MF '/media/public/新加卷/Mask2Hand-main/pytorch3d/build/temp.linux-x86_64-cpython-38/media/public/新加卷/Mask2Hand-main/pytorch3d/pyd/csrc/mesh_normal_consistency/mesh_normal_consistency_cpu.o'.d -pthread -B /home/public/anaconda3/envs/pytorch3d/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK '-I/media/public/新加卷/Mask2Hand-maiytorch3d/pytorch3d/csrc' -I/home/public/anaconda3/envs/pytorch3d/include -I/home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include -I/home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/TH -I/home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/public/anaconda3/envs/pytorch3d/include/python3.8 -c -c '/media/public/新加卷/Mask2Hand-main/pytorch3d/pytorch3d/csrc/mesh_normal_consistency/mesh_normal_consistency_cpu.cpp' -o '/media/public/新加卷/Mask2Hand-main/pytorch3d/build/temp.linux-x86_64-cpython-38/media/public/新加卷/Mask2ain/pytorch3d/pytorch3d/csrc/mesh_normal_consistency/mesh_normal_consistency_cpu.o' -std=c++14 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ /media/public/新加卷/Mask2Hand-main/pytorch3d/pytorch3d/csrc/mesh_normal_consistency/mesh_normal_consistency_cpu.cpp: In function ‘at::Tensor MeshNormonsistencyFindVerticesCpu(const at::Tensor&)’: /media/public/新加卷/Mask2Hand-main/pytorch3d/pytorch3d/csrc/mesh_normal_consistency/mesh_normal_consistency_cpu.cpp:46:35: warning: comparison betweeigned and unsigned integer expressions [-Wsign-compare] for (int64_t i_pair = 0; i_pair < pairs.size(); ++i_pair) { ^ [12/67] c++ -MMD -MF '/media/public/新加卷/Mask2Hand-main/pytorch3d/build/temp.linux-x86_64-cpython-38/media/public/新加卷/Mask2Hand-main/pytorch3d/pyd/csrc/compositing/weighted_sum_cpu.o'.d -pthread -B /home/public/anaconda3/envs/pytorch3d/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK '-I/media/public/新加卷/Mask2Hand-main/pytorch3d/pytorch3d/c' -I/home/public/anaconda3/envs/pytorch3d/include -I/home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include -I/home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/TH -I/home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/public/anaconda3/envs/pytorch3d/include/python3.8 -c -c '/media/public/新加卷/Mask2Hand-main/pytorch3d/pytorch3d/csrc/compositing/weighted_sum_cpu.cpp' -o '/media/public/新加卷/Mask2Hand-main/pytorch3d/build/temp.linux-x86_64-cpython-38/media/public/新加卷/Mask2Hand-main/pytorch3d/pytorch3d/csrc/compositingted_sum_cpu.o' -std=c++14 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ In file included from /home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/ATen/Parallel.h:149:0, from /home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/utils.h:3, from /home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/nn/cloneable.h:5, from /home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/nn.h:3, from /home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:7, from /home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/torch/extension.h:4, from /media/public/新加卷/Mask2Hand-main/pytorch3d/pytorch3d/csrc/compositing/weighted_sum_cpu.cpp:9: /home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/ATen/ParallelOpenMP.h:84:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
pragma omp parallel for if ((end - begin) >= grain_size)
^ [13/67] c++ -MMD -MF '/media/public/新加卷/Mask2Hand-main/pytorch3d/build/temp.linux-x86_64-cpython-38/media/public/新加卷/Mask2Hand-main/pytorch3d/pyd/csrc/blending/sigmoid_alpha_blend_cpu.o'.d -pthread -B /home/public/anaconda3/envs/pytorch3d/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK '-I/media/public/新加卷/Mask2Hand-main/pytorch3d/pytorchcsrc' -I/home/public/anaconda3/envs/pytorch3d/include -I/home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include -I/home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/TH -I/home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/public/anaconda3/envs/pytorch3d/include/python3.8 -c -c '/media/public/新加卷/Mask2Hand-main/pytorch3d/pytorch3d/csrc/blending/sigmoid_alpha_blend_cpu.cpp' -o '/media/public/新加卷/Mask2Hand-main/pytorch3d/build/temp.linux-x86_64-cpython-38/media/public/新加卷/Mask2Hand-main/pytorch3d/pytorch3d/csrc/blesigmoid_alpha_blend_cpu.o' -std=c++14 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ In file included from /home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/ATen/Parallel.h:149:0, from /home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/utils.h:3, from /home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/nn/cloneable.h:5, from /home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/nn.h:3, from /home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:7, from /home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/torch/extension.h:4, from /media/public/新加卷/Mask2Hand-main/pytorch3d/pytorch3d/csrc/blending/sigmoid_alpha_blend_cpu.cpp:9: /home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/ATen/ParallelOpenMP.h:84:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
pragma omp parallel for if ((end - begin) >= grain_size)
^ [14/67] c++ -MMD -MF '/media/public/新加卷/Mask2Hand-main/pytorch3d/build/temp.linux-x86_64-cpython-38/media/public/新加卷/Mask2Hand-main/pytorch3d/pyd/csrc/compositing/norm_weighted_sum_cpu.o'.d -pthread -B /home/public/anaconda3/envs/pytorch3d/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK '-I/media/public/新加卷/Mask2Hand-main/pytorch3d/pytorc/csrc' -I/home/public/anaconda3/envs/pytorch3d/include -I/home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include -I/home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/TH -I/home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/public/anaconda3/envs/pytorch3d/include/python3.8 -c -c '/media/public/新加卷/Mask2Hand-main/pytorch3d/pytorch3d/csrc/compositing/norm_weighted_sum_cpu.cpp' -o '/media/public/新加卷/Mask2Hand-main/pytorch3d/build/temp.linux-x86_64-cpython-38/media/public/新加卷/Mask2Hand-main/pytorch3d/pytorch3d/csrc/cting/norm_weighted_sum_cpu.o' -std=c++14 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ In file included from /home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/ATen/Parallel.h:149:0, from /home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/utils.h:3, from /home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/nn/cloneable.h:5, from /home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/nn.h:3, from /home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:7, from /home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/torch/extension.h:4, from /media/public/新加卷/Mask2Hand-main/pytorch3d/pytorch3d/csrc/compositing/norm_weighted_sum_cpu.cpp:9: /home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/ATen/ParallelOpenMP.h:84:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
pragma omp parallel for if ((end - begin) >= grain_size)
^ [15/67] c++ -MMD -MF '/media/public/新加卷/Mask2Hand-main/pytorch3d/build/temp.linux-x86_64-cpython-38/media/public/新加卷/Mask2Hand-main/pytorch3d/pyd/csrc/face_areas_normals/face_areas_normals_cpu.o'.d -pthread -B /home/public/anaconda3/envs/pytorch3d/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK '-I/media/public/新加卷/Mask2Hand-main/pytorch3ytorch3d/csrc' -I/home/public/anaconda3/envs/pytorch3d/include -I/home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include -I/home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/TH -I/home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/public/anaconda3/envs/pytorch3d/include/python3.8 -c -c '/media/public/新加卷/Mask2Hand-main/pytorch3d/pytorch3d/csrc/face_areas_normals/face_areas_normals_cpu.cpp' -o '/media/public/新加卷/Mask2Hand-main/pytorch3d/build/temp.linux-x86_64-cpython-38/media/public/新加卷/Mask2Hand-main/pytorch3d/h3d/csrc/face_areas_normals/face_areas_normals_cpu.o' -std=c++14 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ In file included from /home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/ATen/Parallel.h:149:0, from /home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/utils.h:3, from /home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/nn/cloneable.h:5, from /home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/nn.h:3, from /home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:7, from /home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/torch/extension.h:4, from /media/public/新加卷/Mask2Hand-main/pytorch3d/pytorch3d/csrc/face_areas_normals/face_areas_normals_cpu.cpp:9: /home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/ATen/ParallelOpenMP.h:84:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
pragma omp parallel for if ((end - begin) >= grain_size)
^ [16/67] c++ -MMD -MF '/media/public/新加卷/Mask2Hand-main/pytorch3d/build/temp.linux-x86_64-cpython-38/media/public/新加卷/Mask2Hand-main/pytorch3d/pyd/csrc/compositing/alpha_composite_cpu.o'.d -pthread -B /home/public/anaconda3/envs/pytorch3d/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK '-I/media/public/新加卷/Mask2Hand-main/pytorch3d/pytorch3src' -I/home/public/anaconda3/envs/pytorch3d/include -I/home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include -I/home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/TH -I/home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/public/anaconda3/envs/pytorch3d/include/python3.8 -c -c '/media/public/新加卷/Mask2Hand-main/pytorch3d/pytorch3d/csrc/compositing/alpha_composite_cpu.cpp' -o '/media/public/新加卷/Mask2Hand-main/pytorch3d/build/temp.linux-x86_64-cpython-38/media/public/新加卷/Mask2Hand-main/pytorch3d/pytorch3d/csrc/compo/alpha_composite_cpu.o' -std=c++14 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ In file included from /home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/ATen/Parallel.h:149:0, from /home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/utils.h:3, from /home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/nn/cloneable.h:5, from /home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/nn.h:3, from /home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:7, from /home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/torch/extension.h:4, from /media/public/新加卷/Mask2Hand-main/pytorch3d/pytorch3d/csrc/compositing/alpha_composite_cpu.cpp:9: /home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/ATen/ParallelOpenMP.h:84:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
pragma omp parallel for if ((end - begin) >= grain_size)
^ [17/67] /usr/local/cuda/bin/nvcc -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK '-I/media/public/新加卷/Mask2Hand-main/pytorch3d/pytorch3d/csrc' -I/homublic/anaconda3/envs/pytorch3d/include -I/home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include -I/home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/TH -I/home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/public/anaconda3/envs/pytorch3d/include/python3.8 -c -c '/media/public/新加卷/Mask2Hand-main/pytorch3d/pytorch3d/csrc/iou_box3d/iou_box3d.cu' -o '/media/public/新加卷/Mad-main/pytorch3d/build/temp.linux-x86_64-cpython-38/media/public/新加卷/Mask2Hand-main/pytorch3d/pytorch3d/csrc/iou_box3d/iou_box3d.o' -DCUDA_NO_HALPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -DCUDA_HAS_FP16=1 -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -D__CUDA_NO_HALF2_OPERATORS__ -std=c++14 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 [18/67] c++ -MMD -MF '/media/public/新加卷/Mask2Hand-main/pytorch3d/build/temp.linux-x86_64-cpython-38/media/public/新加卷/Mask2Hand-main/pytorch3d/pyd/csrc/ball_query/ball_query_cpu.o'.d -pthread -B /home/public/anaconda3/envs/pytorch3d/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK '-I/media/public/新加卷/Mask2Hand-main/pytorch3d/pytorch3d/csrcI/home/public/anaconda3/envs/pytorch3d/include -I/home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include -I/home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/TH -I/home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/public/anaconda3/envs/pytorch3d/include/python3.8 -c -c '/media/public/新加卷/Mask2Hand-main/pytorch3d/pytorch3d/csrc/ball_query/ball_query_cpu.cpp' -o '/media/public/新加卷/Mask2Hand-main/pytorch3d/build/temp.linux-x86_64-cpython-38/media/public/新加卷/Mask2Hand-main/pytorch3d/pytorch3d/csrc/ball_query/ball_qpu.o' -std=c++14 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ In file included from /home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/ATen/Parallel.h:149:0, from /home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/utils.h:3, from /home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/nn/cloneable.h:5, from /home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/nn.h:3, from /home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:7, from /home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/torch/extension.h:4, from /media/public/新加卷/Mask2Hand-main/pytorch3d/pytorch3d/csrc/ball_query/ball_query_cpu.cpp:9: /home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/ATen/ParallelOpenMP.h:84:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
pragma omp parallel for if ((end - begin) >= grain_size)
^ [19/67] c++ -MMD -MF '/media/public/新加卷/Mask2Hand-main/pytorch3d/build/temp.linux-x86_64-cpython-38/media/public/新加卷/Mask2Hand-main/pytorch3d/pyd/csrc/iou_box3d/iou_box3d_cpu.o'.d -pthread -B /home/public/anaconda3/envs/pytorch3d/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK '-I/media/public/新加卷/Mask2Hand-main/pytorch3d/pytorch3d/csrc' home/public/anaconda3/envs/pytorch3d/include -I/home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include -I/home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/TH -I/home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/public/anaconda3/envs/pytorch3d/include/python3.8 -c -c '/media/public/新加卷/Mask2Hand-main/pytorch3d/pytorch3d/csrc/iou_box3d/iou_box3d_cpu.cpp' -o '/media/public/新加卷/Mask2Hand-main/pytorch3d/build/temp.linux-x86_64-cpython-38/media/public/新加卷/Mask2Hand-main/pytorch3d/pytorch3d/csrc/iou_box3d/iou_box3d_c-std=c++14 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ In file included from /home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/ATen/Parallel.h:149:0, from /home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/utils.h:3, from /home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/nn/cloneable.h:5, from /home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/nn.h:3, from /home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:7, from /home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/torch/extension.h:4, from /media/public/新加卷/Mask2Hand-main/pytorch3d/pytorch3d/csrc/iou_box3d/iou_box3d_cpu.cpp:9: /home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/ATen/ParallelOpenMP.h:84:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
pragma omp parallel for if ((end - begin) >= grain_size)
^ In file included from /media/public/新加卷/Mask2Hand-main/pytorch3d/pytorch3d/csrc/iou_box3d/iou_box3d_cpu.cpp:15:0: /media/public/新加卷/Mask2Hand-main/pytorch3d/pytorch3d/csrc/iou_box3d/iou_utils.h: In function ‘float BoxVolume(const face_verts&, const vec3&)’:
/media/public/新加卷/Mask2Hand-main/pytorch3d/pytorch3d/csrc/iou_box3d/iou_utils.h:320:21: warning: comparison between signed and unsigned integer expsions [-Wsign-compare]
for (int t = 0; t < box_tris.size(); ++t) {
^
/media/public/新加卷/Mask2Hand-main/pytorch3d/pytorch3d/csrc/iou_box3d/iou_utils.h: In function ‘face_verts BoxIntersections(const face_verts&, const e_verts&, const vec3&)’:
/media/public/新加卷/Mask2Hand-main/pytorch3d/pytorch3d/csrc/iou_box3d/iou_utils.h:721:23: warning: comparison between signed and unsigned integer expsions [-Wsign-compare]
for (int t = 0; t < out_tris.size(); ++t) {
^
/media/public/新加卷/Mask2Hand-main/pytorch3d/pytorch3d/csrc/iou_box3d/iou_utils.h:725:25: warning: comparison between signed and unsigned integer expsions [-Wsign-compare]
for (int v = 0; v < tri_updated.size(); ++v) {
^
/media/public/新加卷/Mask2Hand-main/pytorch3d/pytorch3d/csrc/iou_box3d/iou_box3d_cpu.cpp: In function ‘std::tuple<at::Tensor, at::Tensor> IoUBox3DCpu(st at::Tensor&, const at::Tensor&)’:
/media/public/新加卷/Mask2Hand-main/pytorch3d/pytorch3d/csrc/iou_box3d/iou_box3d_cpu.cpp:80:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int b1 = 0; b1 < box1_intersect.size(); ++b1) {
^
/media/public/新加卷/Mask2Hand-main/pytorch3d/pytorch3d/csrc/iou_box3d/iou_box3d_cpu.cpp:81:31: warning: comparison between signed and unsigned integexpressions [-Wsign-compare]
for (int b2 = 0; b2 < box2_intersect.size(); ++b2) {
^
/media/public/新加卷/Mask2Hand-main/pytorch3d/pytorch3d/csrc/iou_box3d/iou_box3d_cpu.cpp:93:29: warning: comparison between signed and unsigned integexpressions [-Wsign-compare]
for (int b2 = 0; b2 < box2_intersect.size(); ++b2) {
^
[20/67] c++ -MMD -MF '/media/public/新加卷/Mask2Hand-main/pytorch3d/build/temp.linux-x86_64-cpython-38/media/public/新加卷/Mask2Hand-main/pytorch3d/pyd/csrc/knn/knn_cpu.o'.d -pthread -B /home/public/anaconda3/envs/pytorch3d/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK '-I/media/public/新加卷/Mask2Hand-main/pytorch3d/pytorch3d/csrc' -I/home/publanaconda3/envs/pytorch3d/include -I/home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include -I/home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/TH -I/home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/public/anaconda3/envs/pytorch3d/include/python3.8 -c -c '/media/public/新加卷/Mask2Hand-main/pytorch3d/pytorch3d/csrc/knn/knn_cpu.cpp' -o '/media/public/新加卷/Mask2Hand-main/orch3d/build/temp.linux-x86_64-cpython-38/media/public/新加卷/Mask2Hand-main/pytorch3d/pytorch3d/csrc/knn/knn_cpu.o' -std=c++14 -DTORCH_API_INCLUDE_EXSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
In file included from /home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/ATen/Parallel.h:149:0,
from /home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/utils.h:3,
from /home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/nn/cloneable.h:5,
from /home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/nn.h:3,
from /home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:7,
from /home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/torch/extension.h:4,
from /media/public/新加卷/Mask2Hand-main/pytorch3d/pytorch3d/csrc/knn/knn_cpu.cpp:9:
/home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/ATen/ParallelOpenMP.h:84:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
pragma omp parallel for if ((end - begin) >= grain_size)
^ [21/67] /usr/local/cuda/bin/nvcc -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK '-I/media/public/新加卷/Mask2Hand-main/pytorch3d/pytorch3d/csrc' -I/homublic/anaconda3/envs/pytorch3d/include -I/home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include -I/home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/TH -I/home/public/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/public/anaconda3/envs/pytorch3d/include/python3.8 -c -c '/media/public/新加卷/Mask2Hand-main/pytorch3d/pytorch3d/csrc/marching_cubes/marching_cubes.cu' -o '/media/public卷/Mask2Hand-main/pytorch3d/build/temp.linux-x86_64-cpython-38/media/public/新加卷/Mask2Hand-main/pytorch3d/pytorch3d/csrc/marching_cubes/marching_cub' -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -DCUDA_HAS_FP16=1 -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS -std=c++14 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 /media/public/æ What's wrong with the pytorch3d installation?