When building a libtensorflowlite.so followed by the official tutorial , but the built share file is empty even bazel build without error shown.
Building libtensorflowlite.so without any error, but share file is close to empty (KB)
200 views Asked by RyanLiu At
1
After some tests, I found the problem is bazel version is not correct. Even following the official web recommend installing the bazel and tensorflow, shown as following
So the solution is that trying a different and new versions of bazel to build the shared file.
To install bazel file download bazel--installer-linux-x86_64.sh from here, then