GithubHelp home page GithubHelp logo

Comments (9)

ddkang avatar ddkang commented on June 18, 2024

You do not need OpenCL.

It seems you have OpenCV 3.2 and 2.4 installed. It looks like they conflict. You'll need to either make OpenCV 3.2 the default or uninstall 2.4. I'll need to know more about your system to advise further.

from noscope.

zzzzzz0407 avatar zzzzzz0407 commented on June 18, 2024

Thank you very much and i have solve the issue but i meet with another ,mm,sorry to disturb you again ,
when i bazel build -c opt --copt=-mavx2 --config=cuda noscope
the new issue appears:Target //tensorflow/noscope:noscope up-to-date:
bazel-bin/tensorflow/noscope/noscope
so i follow the command,then it shows me the following:
[libprotobuf FATAL external/protobuf/src/google/protobuf/stubs/common.cc:78] This program was compiled against version 2.6.1 of the Protocol Buffer runtime library, which is not compatible with the installed version (3.2.0). Contact the program author for an update. If you compiled the program yourself, make sure that your headers are from the same version of Protocol Buffers as your link-time library. (Version verification failed in "/build/mir-ui6vjS/mir-0.26 .3+16.04.20170605/obj-x86_64-linux-gnu/src/protobuf/mir_protobuf.pb.cc".)
If you do not have a new version,i would like to compile the problem myself ,but I am a rooike in this filed and i do not know how to compile it myself ?Can you help me? Thanks!

from noscope.

ddkang avatar ddkang commented on June 18, 2024

Unfortunately I don't know how to share bazel built binaries. Please send a feature request for the TensorFlow for non-bazel builds.

In terms of your error, it seems that you have a libprotobuf mismatch (similar to the OpenCV one). I would check to make sure your libprotobuf-dev and libprotobuf (the library) match. Similarly, I would try to upgrade both to 3.2.0.

from noscope.

zzzzzz0407 avatar zzzzzz0407 commented on June 18, 2024

I can’t understand the sentence of "Please send a feature request for the TensorFlow for non-bazel builds"
The thing i can only tell you is that my libprotobuf is libprotobuf.so.9.0.1
And I download my TensorFlow from https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-1.0.0-cp27-none-linux_x86_64.whl
Maybe it doesn't matter.
And if you upgrade you code to 3.2.0, please tell me ,thank you very much!You are enthusiasm and your work is great!

from noscope.

ddkang avatar ddkang commented on June 18, 2024

If TensorFlow provides a way to build without requiring bazel, I can more easily ship builds. As is, I'm stuck with bazel's limitations.

As far as I can tell, the libprotobuf issue is with your configuration. I believe the NoScope build simply links against what is provided. So, my current hypothesis is you have two conflicting installs of libprotobuf. Check out this thread for a similar issue: BVLC/caffe#3046 (comment)

from noscope.

zzzzzz0407 avatar zzzzzz0407 commented on June 18, 2024

I have download and install the version 2.6.1 of the Protocol Buffer in my own path, and add its path to the ~/.bashrc, but when I ues the command of bazel build -c opt --copt=-mavx2 --config=cuda noscope, it appears the same issue that tells me my version is 3.2.0 , so I want to know how to use the 2,6,1 version in my own path rather than the default version?Thank you very much!

from noscope.

ddkang avatar ddkang commented on June 18, 2024

Please try installing version 3.2.0 instead.

from noscope.

muyue1238 avatar muyue1238 commented on June 18, 2024

@zHanami I've counted the same problem. As far as I can tell, bazel has downloaded another version of protobuf in .cache/bazel/, which lead to the problem you counted. I find no solution yet, what about you?
My situation is that my libcaffe.so was compiled with protobuf-2.6.1, and it seems that tensorflow can't be compiled that way, which is quiet annoying.

from noscope.

viralbthakar avatar viralbthakar commented on June 18, 2024

@zHanami How did you solve the first problem you mentioned? The one with "libopencv_core.so.3.4: error adding symbols: DSO missing from command line" error. Can you please provide detail steps to make opencv 3.4 the default opencv.

from noscope.

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.