lmb-freiburg / deeptam

DeepTAM: Deep Tracking and Mapping https://lmb.informatik.uni-freiburg.de/people/zhouh/deeptam/
GNU General Public License v3.0
233 stars 41 forks source link

cannot compile lmbspecialops #13

Closed KunB-Fighting closed 5 years ago

KunB-Fighting commented 5 years ago

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 commented 5 years ago

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 commented 5 years ago

Thaks for the solution, it dose work!