layumi / person-reid-3d

TNNLS'22 :statue_of_liberty: Parameter-Efficient Person Re-identification in the 3D Space :statue_of_liberty:
https://arxiv.org/abs/2006.04569
MIT License
265 stars 46 forks source link

Failed to build pointnet2-ops #5

Closed xjinchuan closed 4 years ago

xjinchuan commented 4 years ago

output log:

gcc -pthread -B /home/ubuntu/miniconda3/envs/prid/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -Ipointnet2_ops/_ext-src/include -I/home/ubuntu/miniconda3/envs/prid/lib/python3.6/site-packages/torch/include -I/home/ubuntu/miniconda3/envs/prid/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/ubuntu/miniconda3/envs/prid/lib/python3.6/site-packages/torch/include/TH -I/home/ubuntu/miniconda3/envs/prid/lib/python3.6/site-packages/torch/include/THC -I/usr/local/cuda-9.2/include -I/home/ubuntu/miniconda3/envs/prid/include/python3.6m -c pointnet2_ops/_ext-src/src/bindings.cpp -o build/temp.linux-x86_64-3.6/pointnet2_ops/_ext-src/src/bindings.o -O3 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++11 cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ /usr/local/cuda-9.2/bin/nvcc -Ipointnet2_ops/_ext-src/include -I/home/ubuntu/miniconda3/envs/prid/lib/python3.6/site-packages/torch/include -I/home/ubuntu/miniconda3/envs/prid/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/ubuntu/miniconda3/envs/prid/lib/python3.6/site-packages/torch/include/TH -I/home/ubuntu/miniconda3/envs/prid/lib/python3.6/site-packages/torch/include/THC -I/usr/local/cuda-9.2/include -I/home/ubuntu/miniconda3/envs/prid/include/python3.6m -c pointnet2_ops/_ext-src/src/sampling_gpu.cu -o build/temp.linux-x86_64-3.6/pointnet2_ops/_ext-src/src/sampling_gpu.o -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options '-fPIC' -O3 -Xfatbin -compress-all -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -gencode=arch=compute_50,code=sm_50 -gencode=arch=compute_70,code=sm_70 -gencode=arch=compute_60,code=sm_60 -gencode=arch=compute_37,code=compute_37 -gencode=arch=compute_61,code=sm_61 -gencode=arch=compute_37,code=sm_37 -gencode=arch=compute_62,code=sm_62 -std=c++11 nvcc fatal : Unsupported gpu architecture 'compute_75' error: command '/usr/local/cuda-9.2/bin/nvcc' failed with exit status 1

ERROR: Failed building wheel for pointnet2-ops Running setup.py clean for pointnet2-ops Failed to build pointnet2-ops