-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Protobuf version mismatch (3.5.0 required, 3.5.0 installed but 3.4.0 detected) #15
Comments
Hey Alban, That's a tricky one: both Tensorflow and Gazebo rely on protobuf, but of course they want different version. This is the reason why, in the image_to_saliency.py we add a folder to the PYTHONPATH programatically. |
Hi! However, I get an "out_of_memory" error when I start the experiment (although the experiment launches, then the saliency network is never initialized). I noticed in the output of the terminal nrp-backend that the saliency network is mapped twice on my GPU. I found it strange because when I use the attention package on its own (outside NRP), this never happens. Here is the relevant part of the terminal output (or full output here): "2018-07-02 11:34:09 GMT+0200 [REQUEST from ::ffff:127.0.0.1] GET /storage/CDP4_experiment_0/experiment_configuration.exc?byname=true /home/alban/Documents/NRP/CLE/hbp_nrp_cle/hbp_nrp_cle/robotsim/GazeboHelper.py:119: FutureWarning: The behavior of this method will change in future versions. Use specific 'len(elem)' or 'elem is not None' test instead. Do you have any idea why this happens? I think it should not, should it? Thanks for the help!! |
Hi!
When I'm running the CDP4_experiment on the Neurorobotics Platform, I'm having a protobuf version issue. When I launch the experiment, at some point the backend returns the following error (and the launch stays forever at the step "Loading transfer function: image_to_saliency":
[libprotobuf FATAL external/protobuf_archive/src/google/protobuf/stubs/common.cc:68] This program requires version 3.5.0 of the Protocol Buffer runtime library, but the installed version is 3.4.0. Please update your library. 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 "google/protobuf/descriptor.pb.cc".)
The whole backend output is here, if needed: here
When I comment the image_to_saliency TF in the .bibi file, the experiment can be launched and played (although nothing happens when I press the play button).
I tried to look for google/protobuf in both my system (/usr/local/lib/python2.7/dist-packages) and my platform_venv ($HOME/.opt/platform_venv/lib/python2.7/site-packages). Both versions were 3.5.X but to be sure, I uninstalled them and reinstalled them with pip, to have both version at "3.5.0.post1". However the same error arises. I cannot figure out where a 3.4.0 version of protobuf is installed.
Have you ever met the same error? I saw the same issue for a very similar experiment on the forum (here), but I could not understand how it was solved :s
Thank you for your help!
Best,
Alban
The text was updated successfully, but these errors were encountered: