Giter VIP home page Giter VIP logo

Comments (10)

paulcx avatar paulcx commented on June 9, 2024

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
from lib.networks.factory import get_network
File "/root/tf_deformable_frcnn/lib/networks/init.py", line 8, in
from .VGGnet_train import VGGnet_train
File "/root/tf_deformable_frcnn/lib/networks/VGGnet_train.py", line 2, in
from .network import Network
File "/root/tf_deformable_frcnn/lib/networks/network.py", line 13, in
from ..deform_conv_layer import deform_conv_op as deform_conv_op
File "/root/tf_deformable_frcnn/lib/deform_conv_layer/deform_conv_op.py", line 8, in
_deform_conv_module = tf.load_op_library(filename)
File "/usr/local/lib/python/dist-packages/tensorflow/python/framework/load_library.py", line 64, in load_op_library
None, None, error_msg, error_code)
tensorflow.python.framework.errors_impl.NotFoundError: /root/tf_deformable_frcnn/lib/deform_conv_layer/deform_conv.so: undefined symbol: _ZN10tensorflow8internal21CheckOpMessageBuilder9NewStringB5cxx11Ev

Any thoughts?

from tf_deformable_net.

Zardinality avatar Zardinality commented on June 9, 2024

@xiaowenhe I was aware about your problem, please don't reopen two same issues.

from tf_deformable_net.

Zardinality avatar Zardinality commented on June 9, 2024

@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.

from tf_deformable_net.

paulcx avatar paulcx commented on June 9, 2024

@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?

from tf_deformable_net.

Zardinality avatar Zardinality commented on June 9, 2024

@paulcx Make sure you use the recompiled version. Or try removing the related flag maybe. Which version of g++ do you use?

from tf_deformable_net.

paulcx avatar paulcx commented on June 9, 2024

@Zardinality What do you mean by using the recomplied version?
g++ is 5.40

from tf_deformable_net.

Zardinality avatar Zardinality commented on June 9, 2024

@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.

from tf_deformable_net.

Zardinality avatar Zardinality commented on June 9, 2024

@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.

from tf_deformable_net.

paulcx avatar paulcx commented on June 9, 2024

@Zardinality Not yet. The solution does not work for g++5.4 at least.

from tf_deformable_net.

selkerdawy avatar selkerdawy commented on June 9, 2024

@paulcx check out this , it solved a similar undefined symbol problem for me.

from tf_deformable_net.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.