Giter Club home page Giter Club logo

Comments (10)

gineshidalgo99 avatar gineshidalgo99 commented on May 6, 2024 1

Protobuf is asked by Caffe, so whatever version the specific Caffe version requires.

from openpose.

gineshidalgo99 avatar gineshidalgo99 commented on May 6, 2024

What are your OS and CUDA versions?

I just modified the Caffe installation to fix a small bug in old compilers. I do not thing this is your case, but you should try again.

If it does not work, you might install Caffe manually (without the sh script). Manual installation steps here:
https://github.com/CMU-Perceptual-Computing-Lab/openpose/blob/master/doc/installation.md

If it does not work either, you might not have some Caffe prerequisites, try installing Caffe by your own with their installation steps:
http://caffe.berkeleyvision.org/installation.html

Please, let me know what the issue was or which option did work for you. Thanks!

from openpose.

jmarsico avatar jmarsico commented on May 6, 2024

I am on Ubuntu 14.04 and CUDA 8. The new fix didn't change anything. This seems to be a caffe problem with me, as I am unable to build caffe at all because of protobuf issues. Closing as doesn't seem to be relevant to openpose. Thanks.

from openpose.

gineshidalgo99 avatar gineshidalgo99 commented on May 6, 2024

OK, I am sorry to hear that.

Maybe completely uninstalling the Protobuf library and then reinstalling again?
http://caffe.berkeleyvision.org/install_apt.html

Once you are able to fix it, if you could let some details here for people with the same problem we will highly appreciate it! Thanks!

from openpose.

yanxp avatar yanxp commented on May 6, 2024

@gineshidalgo99 hello ,I already upgrade protobuf(3.2),but I still meet the problem when sh ./install_caffe_and_openpose.sh. My system is cuda 8.0,Ubuntu 14.04.
.build_release/src/caffe/proto/caffe.pb.h:12:2: error: #error This file was generated by a newer version of protoc which is
.build_release/src/caffe/proto/caffe.pb.h:13:2: error: #error incompatible with your Protocol Buffer headers. Please update
.build_release/src/caffe/proto/caffe.pb.h:14:2: error: #error your headers.
In file included from ./include/caffe/util/cudnn.hpp:8:0,
from ./include/caffe/util/device_alternate.hpp:40,
from ./include/caffe/common.hpp:19,
from ./include/caffe/internal_thread.hpp:4,
from src/caffe/internal_thread.cpp:4:
.build_release/src/caffe/proto/caffe.pb.h:23:35: fatal error: google/protobuf/arena.h: No such file or directory
compilation terminated.
make: *** [.build_release/src/caffe/internal_thread.o] Error 1

from openpose.

gineshidalgo99 avatar gineshidalgo99 commented on May 6, 2024

Maybe you did not clean the installation first? I.e.
make clean && cd 3rdparty/caffe/ && make clean

Let us know whether it works now! Thanks!

from openpose.

jmarsico avatar jmarsico commented on May 6, 2024

able to compile caffe on its own with protobuf 3.0.0 (not using apt version). I had not been doing make clean. make clean got it compiling properly. I then modified my Makefile.config (also had to modify Makefile.config.example) to use my version of caffe.

from openpose.

gineshidalgo99 avatar gineshidalgo99 commented on May 6, 2024

Perfect! I'll close this issue then (I accidentally re-opened it)

from openpose.

kevinkit avatar kevinkit commented on May 6, 2024

@gineshidalgo99 Can you please answer the original question, which version of protobuf should be used?
It was mentioned that it "works" with 3.0.0 but is this the desired version?

from openpose.

seelikat avatar seelikat commented on May 6, 2024

I could also get around the arena.h error message with protobuf 3.0.
I used the anaconda libraries: conda install protobuf==3.0. Before I had to uninstall a newer version of protobuf from the anaconda installation.

from openpose.

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.