Closed youliangtan closed 5 years ago
The problem seems it's not finding the tensorflow installation. Can you give more details on your system/setup and how you installed tensorflow?
I tried pip install tensorflow
, install tensorflow 1.8 from source, and also catkin build tensorflow_catkin
package. All tensorflow installation succeed. Still the segmap compilation is unable to find the tensorflow package. Srry Iam unfamiliar with this, hope some useful information can help me out. Thanks alot
From the error message I see you are probably on Ubuntu 16 or 18. This means you need to build tensorflow from source and install it using pip into your environment. Afterwards when you compile tensorflow_ros_cpp
, see here on the cmake flags you need to set during compilation. You will need to at least specify this flag FORCE_TF_PIP_SEARCH
as ON. In case it doesn't work try also correctly specifying the other flags related to python version, pip and library location.
Here's a more in-depth explanation of the required flags: https://github.com/ethz-asl/segmap/wiki/FAQ#q-issues-compiling-tensorflow_ros_cpp
Thanks, @smauq.
Had the same question of not knowing what --cmake-args to set when using custom-compiled tensorflow. Got it solved using your link.
Much appreciated,
Dennis
While building this package, tensor flow is required. Apparently, I faced some problem while running
while gave me a error return of
I have previously installed tensorflow from source, but I have no idea on why this cmake error happened. Hope someone can help me with this. Thanks!