Steps
- Install bazel
brew tap bazelbuild/tap
brew tap-pin bazelbuild/tap
brew install bazel
-
Clone the tensorflow github repository
-
Build toco
bazel build tensorflow/contrib/lite/toco:toco -
Now run your conversion commands - For example - https://github.com/tensorflow/models/blob/master/research/object_detection/g3doc/running_on_mobile_tensorflowlite.md
refs:https://medium.com/@rdeep/tensorflow-lite-tutorial-easy-implementation-in-android-145443ec3775