NVlabs / PoseCNN-PyTorch

PyTorch implementation of the PoseCNN framework
Other
186 stars 47 forks source link

Segmentation fault (core dumped) #23

Open youthliuxi opened 2 years ago

youthliuxi commented 2 years ago

While running ""sudo python setup.py install"", an error comes;

/usr/local/cuda/bin/nvcc -I/usr/local/include/eigen3 -I/usr/local/include -I/home/leon/anaconda3/envs/pytorch_posecnn/lib/python3.7/site-packages/torch/include -I/home/leon/anaconda3/envs/pytorch_posecnn/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/leon/anaconda3/envs/pytorch_posecnn/lib/python3.7/site-packages/torch/include/TH -I/home/leon/anaconda3/envs/pytorch_posecnn/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/leon/anaconda3/envs/pytorch_posecnn/include/python3.7m -c sdf_matching_loss_kernel.cu -o build/temp.linux-x86_64-3.7/sdf_matching_loss_kernel.o -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options '-fPIC' --gpu-architecture=compute_70 --gpu-code=sm_70 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=posecnn_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++11 /home/leon/anaconda3/envs/pytorch_posecnn/lib/python3.7/site-packages/torch/include/c10/core/TensorTypeSet.h(44): warning: integer conversion resulted in a change of sign

Segmentation fault (core dumped) error: command '/usr/local/cuda/bin/nvcc' failed with exit status 139