(centernet) ubuntu@ubun:~/CenterNet/src/lib/models/networks/DCNv2$ python setup.py build develop
/home/ubuntu/anaconda3/envs/centernet/lib/python3.6/site-packages/torch/cuda/init.py:52: UserWarning: CUDA initialization: Unexpected error from cudaGetDeviceCount(). Did you run some cuda functions before calling NumCudaDevices() that might have already set an error? Error 804: forward compatibility was attempted on non supported HW (Triggered internally at /opt/conda/conda-bld/pytorch_1603729128610/work/c10/cuda/CUDAFunctions.cpp:100.)
return torch._C._cuda_getDeviceCount() > 0
No CUDA runtime is found, using CUDA_HOME='/usr/local/cuda'
running build
running build_ext
building '_ext' extension
Emitting ninja build file /home/ubuntu/CenterNet/src/lib/models/networks/DCNv2/build/temp.linux-x86_64-3.6/build.ninja...
Compiling objects...
Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N)
1.7.2
g++ -pthread -shared -L/home/ubuntu/anaconda3/envs/centernet/lib -Wl,-rpath=/home/ubuntu/anaconda3/envs/centernet/lib,--no-as-needed /home/ubuntu/CenterNet/src/lib/models/networks/DCNv2/build/temp.linux-x86_64-3.6/home/ubuntu/CenterNet/src/lib/models/networks/DCNv2/src/vision.o /home/ubuntu/CenterNet/src/lib/models/networks/DCNv2/build/temp.linux-x86_64-3.6/home/ubuntu/CenterNet/src/lib/models/networks/DCNv2/src/cpu/dcn_v2_im2col_cpu.o /home/ubuntu/CenterNet/src/lib/models/networks/DCNv2/build/temp.linux-x86_64-3.6/home/ubuntu/CenterNet/src/lib/models/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.o /home/ubuntu/CenterNet/src/lib/models/networks/DCNv2/build/temp.linux-x86_64-3.6/home/ubuntu/CenterNet/src/lib/models/networks/DCNv2/src/cpu/dcn_v2_cpu.o -L/home/ubuntu/anaconda3/envs/centernet/lib/python3.6/site-packages/torch/lib -L/home/ubuntu/anaconda3/envs/centernet/lib -lc10 -ltorch -ltorch_cpu -ltorch_python -lpython3.6m -o build/lib.linux-x86_64-3.6/_ext.cpython-36m-x86_64-linux-gnu.so
g++: error: /home/ubuntu/CenterNet/src/lib/models/networks/DCNv2/build/temp.linux-x86_64-3.6/home/ubuntu/CenterNet/src/lib/models/networks/DCNv2/src/vision.o: No such file or directory
g++: error: /home/ubuntu/CenterNet/src/lib/models/networks/DCNv2/build/temp.linux-x86_64-3.6/home/ubuntu/CenterNet/src/lib/models/networks/DCNv2/src/cpu/dcn_v2_im2col_cpu.o: No such file or directory
g++: error: /home/ubuntu/CenterNet/src/lib/models/networks/DCNv2/build/temp.linux-x86_64-3.6/home/ubuntu/CenterNet/src/lib/models/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.o: No such file or directory
g++: error: /home/ubuntu/CenterNet/src/lib/models/networks/DCNv2/build/temp.linux-x86_64-3.6/home/ubuntu/CenterNet/src/lib/models/networks/DCNv2/src/cpu/dcn_v2_cpu.o: No such file or directory
error: command 'g++' failed with exit status 1
(centernet) ubuntu@ubun:~/CenterNet/src/lib/models/networks/DCNv2$ python setup.py build develop /home/ubuntu/anaconda3/envs/centernet/lib/python3.6/site-packages/torch/cuda/init.py:52: UserWarning: CUDA initialization: Unexpected error from cudaGetDeviceCount(). Did you run some cuda functions before calling NumCudaDevices() that might have already set an error? Error 804: forward compatibility was attempted on non supported HW (Triggered internally at /opt/conda/conda-bld/pytorch_1603729128610/work/c10/cuda/CUDAFunctions.cpp:100.) return torch._C._cuda_getDeviceCount() > 0 No CUDA runtime is found, using CUDA_HOME='/usr/local/cuda' running build running build_ext building '_ext' extension Emitting ninja build file /home/ubuntu/CenterNet/src/lib/models/networks/DCNv2/build/temp.linux-x86_64-3.6/build.ninja... Compiling objects... Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N) 1.7.2 g++ -pthread -shared -L/home/ubuntu/anaconda3/envs/centernet/lib -Wl,-rpath=/home/ubuntu/anaconda3/envs/centernet/lib,--no-as-needed /home/ubuntu/CenterNet/src/lib/models/networks/DCNv2/build/temp.linux-x86_64-3.6/home/ubuntu/CenterNet/src/lib/models/networks/DCNv2/src/vision.o /home/ubuntu/CenterNet/src/lib/models/networks/DCNv2/build/temp.linux-x86_64-3.6/home/ubuntu/CenterNet/src/lib/models/networks/DCNv2/src/cpu/dcn_v2_im2col_cpu.o /home/ubuntu/CenterNet/src/lib/models/networks/DCNv2/build/temp.linux-x86_64-3.6/home/ubuntu/CenterNet/src/lib/models/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.o /home/ubuntu/CenterNet/src/lib/models/networks/DCNv2/build/temp.linux-x86_64-3.6/home/ubuntu/CenterNet/src/lib/models/networks/DCNv2/src/cpu/dcn_v2_cpu.o -L/home/ubuntu/anaconda3/envs/centernet/lib/python3.6/site-packages/torch/lib -L/home/ubuntu/anaconda3/envs/centernet/lib -lc10 -ltorch -ltorch_cpu -ltorch_python -lpython3.6m -o build/lib.linux-x86_64-3.6/_ext.cpython-36m-x86_64-linux-gnu.so g++: error: /home/ubuntu/CenterNet/src/lib/models/networks/DCNv2/build/temp.linux-x86_64-3.6/home/ubuntu/CenterNet/src/lib/models/networks/DCNv2/src/vision.o: No such file or directory g++: error: /home/ubuntu/CenterNet/src/lib/models/networks/DCNv2/build/temp.linux-x86_64-3.6/home/ubuntu/CenterNet/src/lib/models/networks/DCNv2/src/cpu/dcn_v2_im2col_cpu.o: No such file or directory g++: error: /home/ubuntu/CenterNet/src/lib/models/networks/DCNv2/build/temp.linux-x86_64-3.6/home/ubuntu/CenterNet/src/lib/models/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.o: No such file or directory g++: error: /home/ubuntu/CenterNet/src/lib/models/networks/DCNv2/build/temp.linux-x86_64-3.6/home/ubuntu/CenterNet/src/lib/models/networks/DCNv2/src/cpu/dcn_v2_cpu.o: No such file or directory error: command 'g++' failed with exit status 1