facebookresearch / DensePose

A real-time approach for mapping all human pixels of 2D RGB images to a 3D surface-based model of the body
http://densepose.org
Other
6.98k stars 1.3k forks source link

bug???????when make ops ???????btw , it's to hard to use densepose!!!!!!!!! #247

Open Peterisfar opened 5 years ago

Peterisfar commented 5 years ago

mkdir -p build && cd build && cmake .. && make -j56 -- Caffe2: CUDA detected: 9.0 -- Caffe2: CUDA nvcc is: /usr/local/cuda-9.0/bin/nvcc -- Caffe2: CUDA toolkit directory: /usr/local/cuda-9.0 -- Caffe2: Header version is: 9.0 -- Found cuDNN: v7.5.1 (include: /usr/local/cuda-9.0/include, library: /usr/local/cuda-9.0/lib64/libcudnn.so) -- Autodetected CUDA architecture(s): 6.1 6.1 -- Added CUDA NVCC flags for: -gencode;arch=compute_61,code=sm_61 -- Summary: -- CMake version : 3.13.3 -- CMake command : /usr/local/lib/python2.7/dist-packages/cmake/data/bin/cmake -- System name : Linux -- C++ compiler : /usr/bin/c++ -- C++ compiler version : 5.4.0 -- CXX flags : -std=c++11 -O2 -fPIC -Wno-narrowing -- Caffe2 version : 1.2.0 -- Caffe2 include path : /home/zhulijun/pytorch/torch/include -- Caffe2 found CUDA : True -- CUDA version : 9.0 -- CuDNN version : 7.5.1 -- Configuring done -- Generating done -- Build files have been written to: /home/zhulijun/code/python/densepose/build make[1]: Entering directory '/home/zhulijun/code/python/densepose/build' make[2]: Entering directory '/home/zhulijun/code/python/densepose/build' make[3]: Entering directory '/home/zhulijun/code/python/densepose/build' Scanning dependencies of target caffe2_detectron_custom_ops make[3]: Leaving directory '/home/zhulijun/code/python/densepose/build' make[3]: Entering directory '/home/zhulijun/code/python/densepose/build' [ 12%] Building NVCC (Device) object CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/detectron/ops/caffe2_detectron_custom_ops_gpu_generated_zero_even_op.cu.o make[3]: Entering directory '/home/zhulijun/code/python/densepose/build' [ 25%] Building NVCC (Device) object CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/detectron/ops/caffe2_detectron_custom_ops_gpu_generated_pool_points_interp.cu.o [ 37%] Building CXX object CMakeFiles/caffe2_detectron_custom_ops.dir/detectron/ops/pool_points_interp.cc.o [ 50%] Building CXX object CMakeFiles/caffe2_detectron_custom_ops.dir/detectron/ops/zero_even_op.cc.o [ 62%] Linking CXX shared library libcaffe2_detectron_custom_ops.so /usr/bin/ld: cannot find -lcaffe2_library collect2: error: ld returned 1 exit status CMakeFiles/caffe2_detectron_custom_ops.dir/build.make:99: recipe for target 'libcaffe2_detectron_custom_ops.so' failed make[3]: [libcaffe2_detectron_custom_ops.so] Error 1 make[3]: Leaving directory '/home/zhulijun/code/python/densepose/build' CMakeFiles/Makefile2:109: recipe for target 'CMakeFiles/caffe2_detectron_custom_ops.dir/all' failed make[2]: [CMakeFiles/caffe2_detectron_custom_ops.dir/all] Error 2 make[2]: *** Waiting for unfinished jobs....

Scanning dependencies of target caffe2_detectron_custom_ops_gpu make[3]: Leaving directory '/home/zhulijun/code/python/densepose/build' make[3]: Entering directory '/home/zhulijun/code/python/densepose/build' [ 87%] Building CXX object CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/detectron/ops/pool_points_interp.cc.o [ 87%] Building CXX object CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/detectron/ops/zero_even_op.cc.o [100%] Linking CXX shared library libcaffe2_detectron_custom_ops_gpu.so /usr/bin/ld: cannot find -lcaffe2_gpu_library collect2: error: ld returned 1 exit status CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/build.make:1240: recipe for target 'libcaffe2_detectron_custom_ops_gpu.so' failed make[3]: [libcaffe2_detectron_custom_ops_gpu.so] Error 1 make[3]: Leaving directory '/home/zhulijun/code/python/densepose/build' CMakeFiles/Makefile2:72: recipe for target 'CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/all' failed make[2]: [CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/all] Error 2 make[2]: Leaving directory '/home/zhulijun/code/python/densepose/build' Makefile:129: recipe for target 'all' failed make[1]: [all] Error 2 make[1]: Leaving directory '/home/zhulijun/code/python/densepose/build' Makefile:13: recipe for target 'ops' failed make: [ops] Error 2

shilongshen commented 3 years ago

hi! did you deal the problem?