Open wsycl opened 6 years ago
How do you modify the cuda.h?
I had the same error. I didn't solve it, but i think it's a compilation problem.
I have the error too.
After a long time of debugging, I find the solution:
Edit the file /src/detection/lib/lib_kernel/lib_fast_nms/make.sh
and replace -D_GLIBCXX_USE_CXX11_ABI=0
to -D_GLIBCXX_USE_CXX11_ABI=1
and recompile, the annoying problem disappears.
g++ -std=c++11 -shared -D_GLIBCXX_USE_CXX11_ABI=1 -o fast_nms.so nms_op.cc \
nms_op.cu.o -I $TF_INC -fPIC -lcudart -L $CUDA_PATH/lib64 -L$TF_LIB -ltensorflow_framework -I$TF_INC/external/nsync/public
And also check CUDA_PATH in make.sh
@zengarden When I run bash make.sh, I have modified cuda.h in cuda_kernel_helper.h and dso_loader.h. And it is normal. But when I run the test.py, it occurs one problem as follows: Could you please help me to solve the problem, Thank you very much.