diff --git a/.travis.yml b/.travis.yml index e167ef3..e93b1f3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -21,7 +21,8 @@ env: - UPSTREAM_WORKSPACE="file" - TENSORFLOW_ROS_MODEL_PATH=/root/catkin_ws/src/tensorflow_ros_test/models/train.pb matrix: - - ROS_DISTRO="indigo" ROSINSTALL_FILENAME=".travis/rosinstall_ci_old_abi" BEFORE_SCRIPT=".travis/upgrade_pip.sh && pip install --ignore-installed six && pip install 'tensorflow<2' --progress-bar off" + # Indigo and TF 1.15 do not work together for some reason; _cpp compiles, but _test does not + #- ROS_DISTRO="indigo" ROSINSTALL_FILENAME=".travis/rosinstall_ci_old_abi" BEFORE_SCRIPT=".travis/upgrade_pip.sh && pip install --ignore-installed six && pip install 'tensorflow<2' --progress-bar off" - ROS_DISTRO="indigo" ROSINSTALL_FILENAME=".travis/rosinstall_ci_old_abi" BEFORE_SCRIPT=".travis/upgrade_pip.sh && pip install --ignore-installed six && pip install tensorflow==1.0.0 --progress-bar off" - ROS_DISTRO="indigo" ROSINSTALL_FILENAME=".travis/rosinstall_ci_old_abi" BEFORE_SCRIPT=".travis/upgrade_pip.sh && pip install --ignore-installed six && pip install tensorflow==1.8.0 --progress-bar off" - ROS_DISTRO="indigo" ROSINSTALL_FILENAME=".travis/rosinstall_ci_old_abi" BEFORE_SCRIPT=".travis/upgrade_pip.sh && pip install --ignore-installed six && pip install tensorflow==1.14.0 --progress-bar off" diff --git a/README.md b/README.md index 10c37b2..8297dad 100644 --- a/README.md +++ b/README.md @@ -47,6 +47,8 @@ TF | CUDA | CUDNN | pip tensorflow | pip tensorflow-gpu | bazel (CPU) | bazel (G 1.6.0 | 8 | 6 | | N/A (wants CUDA 9) | ? | ? | N/A | N/A 1.7.0 | 8 | 6 | | N/A (wants CUDA 9) | | | | 1.8.0 | 8 | 6 | | N/A (wants CUDA 9) | ? | ? | N/A | N/A +1.14.0 | 8 | 6 | | N/A (wants CUDA 10) | ? | ? | N/A | N/A +1.15.0 | 8 | 6 | X (link error) | N/A (wants CUDA 10) | ? | ? | N/A | N/A ### Ubuntu 14.04 64bits, Python 3.4, ROS Indigo @@ -71,6 +73,8 @@ TF | CUDA | CUDNN | pip tensorflow | pip tensorflow-gpu | bazel (CPU) | bazel (G 1.6.0 | 9.0 | 7.0 | ✓, see ABI difference problems | ✓, see ABI difference problems | ? | ? | N/A | N/A 1.7.0 | 9.0 | 7.0 | ✓, see ABI difference problems | ✓, see ABI difference problems | | | | 1.8.0 | 9.0 | 7.0 | ✓, see ABI difference problems | ✓, see ABI difference problems | | | N/A | N/A +1.14.0 | 9.0 | 7.0 | ✓, see ABI difference problems | N/A (wants CUDA 10) | ? | ? | N/A | N/A +1.15.0 | 9.0 | 7.0 | ✓, see ABI difference problems | N/A (wants CUDA 10) | ? | ? | N/A | N/A ### Ubuntu 16.04 64bits, Python 3.5, ROS Kinetic @@ -96,7 +100,8 @@ TF | CUDA | CUDNN | pip tensorflow | pip tensorflow-gpu | bazel (CPU) | bazel (G 1.7.0 | 9.1 | 7.1 | N/A | N/A | ? | ? | | 1.8.0 | 9.0 | 7.1 | ✓, see ABI difference problems | ✓, see ABI difference problems | | | N/A | N/A 1.8.0 | 9.1 | 7.1 | N/A | N/A | | | N/A | N/A -1.14.0 | 10.0 | 7.4 | ✓, see ABI difference problems | ✓, see ABI difference problems | ✓< | ? | ? | ? +1.14.0 | 10.0 | 7.4 | ✓, see ABI difference problems | ✓, see ABI difference problems | | ? | ? | ? +1.14.0 | 10.0 | 7.4 | ✓, see ABI difference problems | ? | ? | ? | ? | ? ### Ubuntu 18.04 64bits, Python 3.6, ROS Melodic @@ -209,3 +214,5 @@ If you encounter memory problems during the build, you can limit the used resour ### Possible problems If you encounter crashes when running the TF-using application, or it errors out with `Not found: No session factory registered for the given session options`, try the change to `tensorflow/BUILD` suggested in https://github.com/tradr-project/tensorflow_ros_cpp/issues/9#issuecomment-604692643, clean the bazel workspace, and build it again. + +Tensorflow 1.15+ is not compatible with ROS Indigo. You will get linking errors when using the library. Please use TF 1.14 or older on Indigo.