X-Detector icon indicating copy to clipboard operation
X-Detector copied to clipboard

compilation error while building PSROIPooling

Open vedrusss opened this issue 6 years ago • 1 comments

Hi all, I can't build libps_roi_align.so, running into following error: X-Detector/cpp/PSROIPooling$ cmake . X-Detector/cpp/PSROIPooling$ make [ 10%] Building NVCC (Device) object CMakeFiles/cuda_compile_4.dir/cuda_compile_4_generated_rotated_ps_roi_align_grad_op.cu.o sh: 1: cannot create -/rotated_ps_roi_align_grad_op.cpp1.ii: Directory nonexistent CMake Error at cuda_compile_4_generated_rotated_ps_roi_align_grad_op.cu.o.cmake:219 (message): Error generating /data/open_source_projects/object_detection/X-Detector/cpp/PSROIPooling/CMakeFiles/cuda_compile_4.dir//./cuda_compile_4_generated_rotated_ps_roi_align_grad_op.cu.o

CMakeFiles/ps_roi_align.dir/build.make:84: recipe for target 'CMakeFiles/cuda_compile_4.dir/cuda_compile_4_generated_rotated_ps_roi_align_grad_op.cu.o' failed make[2]: *** [CMakeFiles/cuda_compile_4.dir/cuda_compile_4_generated_rotated_ps_roi_align_grad_op.cu.o] Error 1 CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/ps_roi_align.dir/all' failed make[1]: *** [CMakeFiles/ps_roi_align.dir/all] Error 2 Makefile:83: recipe for target 'all' failed make: *** [all] Error 2

Env: OS Ubuntu 18, python 3.6.6, tensorflow-gpu==1.11.0, cuda-9.0

Any help is highly appreciated

vedrusss avatar Oct 13 '18 18:10 vedrusss

Finally I've found requirements: Ubuntu 16, cuda-9.0, tensorflow-1.6, python3.5. Anyway there may happen additional troubles with cudnn version. The easiest way to use docker image provided by tensorflow. To download one you may use git pull tensorflow/tensorflow:1.6.0-devel-gpu-py3

vedrusss avatar Oct 17 '18 12:10 vedrusss