angeladai / sgnn

[CVPR'20] SG-NN: Sparse Generative Neural Networks for Self-Supervised Scene Completion of RGB-D Scans
Other
186 stars 23 forks source link

What is your environment? #5

Closed ncy906302 closed 4 years ago

ncy906302 commented 4 years ago

hello Angela Dai. I am interested in your work. I try to run your code,but an error occurs. But an error occurs

running install_lib running build_py running build_ext building 'sparseconvnet.SCN' extension /usr/local/cuda/bin/nvcc -I/home/lin/voxel/SparseConvNet/sparseconvnet/SCN/ -I/home/lin/miniconda3/envs/cgnn/lib/python2.7/site-packages/torch/include -I/home/lin/miniconda3/envs/cgnn/lib/python2.7/site-packages/torch/include/torch/csrc/api/include -I/home/lin/miniconda3/envs/cgnn/lib/python2.7/site-packages/torch/include/TH -I/home/lin/miniconda3/envs/cgnn/lib/python2.7/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/lin/miniconda3/envs/cgnn/include/python2.7 -c sparseconvnet/SCN/cuda.cu -o build/temp.linux-x86_64-2.7/sparseconvnet/SCN/cuda.o -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -D__CUDA_NO_HALF2_OPERATORS__ --compiler-options '-fPIC' -std=c++14 -Xcompiler -fopenmp -O3 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=SCN -D_GLIBCXX_USE_CXX11_ABI=0 nvcc fatal : Value 'c++14' is not defined for option 'std' error: command u'/usr/local/cuda/bin/nvcc' failed with exit status 1

my current nvcc is for CUDA8 and ubuntu 16.04. what is your environment?