-
Notifications
You must be signed in to change notification settings - Fork 183
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 link error with floopcz/tensorflow_cc:ubuntu-2.2.0 #219
Comments
I am having the same issue. Did someone find a solution for this? |
I found a solution here. |
I have confirmed that using
I think that means it is acceptable to close this issue. Thanks @jappoz! |
I think the problem is that author removed "protobuf" in cmake. See this commit : c1520a0 Reverted this commit and I could use the LoadSavedBundle function normally. |
Hi @xiandong79, feel free to try #246 . |
I'm trying to upgrade my project to tensorflow 2.2. My project uses
tensorflow::LoadSavedModel
provided bytensorflow/cc/saved_model/loader.h
. With 2.2 I get this link error:Previously I was able to build
protobuf v3.8.0
and install it as a system library. I initially tried that and ran into this error. It seems that tensorflow 2.2rc4 is still using v3.8.0, although with a patch.https://github.com/tensorflow/tensorflow/blob/r2.2/tensorflow/workspace.bzl
# 310ba5ee72661c081129eb878c1bbcec936b20f0 is based on 3.8.0 with a fix for protobuf.bzl.
So I tried installing protobuf using the same tarball, but I see the same link error.
Have you been able to use
LoadSavedModel
with tensorflow 2.2? Do you have any suggestions for how I could resolve this problem?The text was updated successfully, but these errors were encountered: