Open xiaowenhe opened 7 years ago
Another error when trainning:
kittivoc_train
kittivoc_val
kittivoc_trainval
kittivoc_test
kittivoc_train
kittivoc_val
kittivoc_trainval
kittivoc_test
kittivoc_train
kittivoc_val
kittivoc_trainval
kittivoc_test
nthu_71
nthu_370
Traceback (most recent call last):
File "./faster_rcnn/train_net.py", line 30, in
Any thoughts?
@xiaowenhe I was aware about your problem, please don't reopen two same issues.
@paulcx It might related to gcc version and certain flags. I will add some lines in make.sh and FAQ. Now if you want to fix it instantly, check this issue.
@Zardinality I have tried both solutions but they don't work so far with same error. g++ -std=c++11 -shared -D_GLIBCXX_USE_CXX11_ABI=0 -o roi_pooling.so roi_pooling_op.cc \ roi_pooling_op.cu.o -I $TF_INC -fPIC -D GOOGLE_CUDA -lcudart -L $CUDA_HOME/lib64 or
g++ -std=c++11 -shared -D_GLIBCXX_USE_CXX11_ABI=1 -o roi_pooling.so roi_pooling_op.cc \ roi_pooling_op.cu.o -I $TF_INC -fPIC -D GOOGLE_CUDA -lcudart -L $CUDA_HOME/lib64
Am I right about the solution?
@paulcx Make sure you use the recompiled version. Or try removing the related flag maybe. Which version of g++ do you use?
@Zardinality What do you mean by using the recomplied version? g++ is 5.40
@paulcx I mean manually remove original generated file such as .o and .so, then recompile it. Also, since you use g++5(which I didn't have chance to test), you should compile with -D_GLIBCXX_USE_CXX11_ABI=0
.
@paulcx Hi, have you worked out where the problem is? I have updated readme to include a workaround given by others in another issue, which solves the same problem.
@Zardinality Not yet. The solution does not work for g++5.4 at least.
@paulcx check out this , it solved a similar undefined symbol problem for me.
@Zardinality ,thanks for your answer. But the error still again. Even I change the -arch=sm_37 (K80) in make.sh and setup.py, and rerun the make.