Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmake & make error in deform #1

Open
JuheonYi opened this issue May 14, 2019 · 3 comments
Open

cmake & make error in deform #1

JuheonYi opened this issue May 14, 2019 · 3 comments

Comments

@JuheonYi
Copy link

Hi, thanks for sharing the code.

I tried to train the models with the codes provided, but encountered an error when building the "deform" library.

When I type cmake .. and make in deform/build directory, I encounter with the following error message. Could you give me some advice an how to solve the error, or what CUDA version and GPU you are using?
(I am using GTX 1080 Ti and CUDA 9.0, by the way).

Would really appreciate if you could give me some help!

1 error detected in the compilation of "/home/johnyi/Documents/DAN-master/cpp/Deform/build/deform_psroi_pooling_op_gpu.cpp1.ii".
CMake Error at cuda_compile_2_generated_deform_psroi_pooling_op_gpu.cu.o.cmake:280 (message):
Error generating file
/home/johnyi/Documents/DAN-master/cpp/Deform/build/CMakeFiles/cuda_compile_2.dir//./cuda_compile_2_generated_deform_psroi_pooling_op_gpu.cu.o

CMakeFiles/deform.dir/build.make:70: recipe for target 'CMakeFiles/cuda_compile_2.dir/cuda_compile_2_generated_deform_psroi_pooling_op_gpu.cu.o' failed
make[2]: *** [CMakeFiles/cuda_compile_2.dir/cuda_compile_2_generated_deform_psroi_pooling_op_gpu.cu.o] Error 1
CMakeFiles/Makefile2:72: recipe for target 'CMakeFiles/deform.dir/all' failed

@destiny311
Copy link

请问你解决问题了吗?我也遇到了cmake编译的问题。-- Found CWD: /home/ChenGb/wl/renlianshibie/jiance/PyramidBox-master/datasets/DAN-master/cpp/ExtraLib/build
-- Found GPU_CAPABILITY: gencode arch=compute_61,code=sm_61

Traceback (most recent call last):
File "", line 1, in
ImportError: No module named 'tensorflow'
Traceback (most recent call last):
File "", line 1, in
ImportError: No module named 'tensorflow'
-- Found TF_INC:
-- Found TF_INC_EXTERNAL: /external/nsync/public
-- Found TF_LIB:
-- Configuring done
-- Generating done
但是我是装了tensorflow的啊

@HiKapok
Copy link
Owner

HiKapok commented May 18, 2019

@JuheonYi 看看虚拟环境有没有问题

@Svijay98
Copy link

Hi, thanks for sharing the code.

I tried to train the models with the codes provided, but encountered an error when building the "deform" library.

When I type cmake .. and make in deform/build directory, I encounter with the following error message. Could you give me some advice an how to solve the error, or what CUDA version and GPU you are using?
(I am using GTX 1080 Ti and CUDA 9.0, by the way).

Would really appreciate if you could give me some help!

1 error detected in the compilation of "/home/johnyi/Documents/DAN-master/cpp/Deform/build/deform_psroi_pooling_op_gpu.cpp1.ii".
CMake Error at cuda_compile_2_generated_deform_psroi_pooling_op_gpu.cu.o.cmake:280 (message):
Error generating file
/home/johnyi/Documents/DAN-master/cpp/Deform/build/CMakeFiles/cuda_compile_2.dir//./cuda_compile_2_generated_deform_psroi_pooling_op_gpu.cu.o

CMakeFiles/deform.dir/build.make:70: recipe for target 'CMakeFiles/cuda_compile_2.dir/cuda_compile_2_generated_deform_psroi_pooling_op_gpu.cu.o' failed
make[2]: *** [CMakeFiles/cuda_compile_2.dir/cuda_compile_2_generated_deform_psroi_pooling_op_gpu.cu.o] Error 1
CMakeFiles/Makefile2:72: recipe for target 'CMakeFiles/deform.dir/all' failed

I have similar issue, is there a way to solve this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants