zengarden / light_head_rcnn

Light-Head R-CNN
834 stars 222 forks source link

version of cuda? #13

Closed chumengdd closed 6 years ago

chumengdd commented 6 years ago

hello, thank you for your job, i met the error when i compile the lib files. i wonder if the wrong version of cuda i used, i used tf1.5.0+cuda8.0+py3. the error is .................................................................................................................. /usr/local/lib/python3.6/sitepackages/tensorflow/include/tensorflow/core/util/cuda_kernel_helper.h(701): error: identifier "ballot_sync" is undefined /usr/local/lib/python3.6/sitepackages/tensorflow/include/tensorflow/core/util/cuda_kernel_helper.h(720): error: identifier "__shfl_sync" is undefined /usr/local/lib/python3.6/sitepackages/tensorflow/include/tensorflow/core/util/cuda_kernel_helper.h(742): error: identifier "shfl_up_sync" is undefined /usr/local/lib/python3.6/sitepackages/tensorflow/include/tensorflow/core/util/cuda_kernel_helper.h(758): error: identifier "shfl_down_sync" is undefined /usr/local/lib/python3.6/sitepackages/tensorflow/include/tensorflow/core/util/cuda_kernel_helper.h(770): error: identifier "shfl_down_sync" is undefined /usr/local/lib/python3.6/sitepackages/tensorflow/include/tensorflow/core/util/cuda_kernel_helper.h(786): error: identifier "shfl_xor_sync" is undefined /usr/local/lib/python3.6/sitepackages/tensorflow/include/tensorflow/core/util/cuda_kernel_helper.h(798): error: identifier "shfl_xor_sync" is undefined 7 errors detected in the compilation of "/tmp/tmpxft_0000050e_00000000-7_psroi_pooling_op_gpu.cu.cpp1.ii". g++: error: psroi_pooling_op.cu.o: No such file or directory ........................................................................................................................................................................... i guess the error is caused by wrong version of cuda, those undefined functions "__ballot_syncare" "__shfl_sync"... are in cuda9.0. but i can only use cuda8.0, because of the GPU machine. How can i solve this problem except change the version of cuda?

zengarden commented 6 years ago

tf1.5.0 does not support cuda 8. You may need to upgrade your cuda version.

chumengdd commented 6 years ago

thank you !