Skip to content
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

cannot compile lmbspecialops #13

Closed
KunB-Fighting opened this issue Aug 28, 2019 · 2 comments
Closed

cannot compile lmbspecialops #13

KunB-Fighting opened this issue Aug 28, 2019 · 2 comments

Comments

@KunB-Fighting
Copy link

when I compile lmbspecialops, there is always an error occurs
decode_flo_op.cc:65:15: error: ‘const class tensorflow::StringPiece’ has no member named ‘starts_with’ if (!data.starts_with("PIEH")) {
I try to trace back, and found that there is a 'starts_with' function in namespace protobuf/google but not in namespace tensorflow.
how to fix it?

@benjaminum
Copy link
Collaborator

Downgrading Tensorflow to 1.4 should fix this problem.
If you cannot downgrade have a look at the master branch of lmbspecialops. There this problems is fixed.

@KunB-Fighting
Copy link
Author

Thaks for the solution, it dose work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants