欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

Ubuntu14.04配置Detectron,及问题.

程序员文章站 2022-03-31 19:22:16
...

 

成功记录:

(detect_and_track) ~lib$ make && make ops
-- Caffe2: CUDA detected: 8.0
-- Caffe2: CUDA nvcc is: /usr/local/cuda/bin/nvcc
-- Caffe2: CUDA toolkit directory: /usr/local/cuda
-- Caffe2: Header version is: 8.0
-- Found cuDNN: v7.2.1  (include: /usr/local/cuda/include, library: /usr/local/cuda/lib64/libcudnn.so)
-- Autodetected CUDA architecture(s): 3.5;3.0
-- Added CUDA NVCC flags for: -gencode;arch=compute_35,code=sm_35;-gencode;arch=compute_30,code=sm_30
-- CUDA detected: 8.0
-- Added CUDA NVCC flags for: sm_20 sm_21 sm_30 sm_35 sm_50 sm_52 sm_60 sm_61
-- Found libcuda: /usr/lib/x86_64-linux-gnu/libcuda.so
-- Found libnvrtc: /usr/local/cuda/lib64/libnvrtc.so
-- Found cuDNN: v7.2.1  (include: /usr/local/cuda/include, library: /usr/local/cuda/lib64/libcudnn.so)
-- Summary:
--   CMake version        : 3.10.3
--   CMake command        : /home/vivian/anaconda3/envs/detect_and_track/bin/cmake
--   System name          : Linux
--   C++ compiler         : /usr/bin/c++
--   C++ compiler version : 4.9.4
--   CXX flags            :  -std=c++11 -O2 -fPIC -Wno-narrowing
--   Caffe2 version       : 1.0.0
--   Caffe2 include path  : /home/vivian/HelloWorld/tracker/tools/pytorch/torch/lib/include
--   Have CUDA            : TRUE
--     CUDA version       : 8.0
--     CuDNN version      : 7.2.1
-- Configuring done
-- Generating done
-- Build files have been written to: /home/vivian/HelloWorld/tracker/DetectAndTrack/lib
[ 37%] Built target caffe2_detectron_custom_ops
[ 50%] Building NVCC (Device) object CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/ops/caffe2_detectron_custom_ops_gpu_generated_zero_even_op.cu.o
[ 62%] Building NVCC (Device) object CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/ops/caffe2_detectron_custom_ops_gpu_generated_affine_channel_nd_op.cu.o
[ 75%] Linking CXX shared library libcaffe2_detectron_custom_ops_gpu.so
[100%] Built target caffe2_detectron_custom_ops_gpu