Convert pb to tflite

I've trained a classifier model with tensorflow and have freezen the network. I've got my model.pb and want to convert it to tflite. How to make it?

tensorflowtflite
2 votesJO220.00
1 Answers
NN138.00
2

Tensorflow Lite has couple of options to convert from tensorflow models. One of them is command line tool. You just need to install tflite and call this command.

tflite_convert \
  --output_file=/tmp/foo.tflite \
  --graph_def_file=/tmp/frozen_graph.pb \
  --input_arrays=input \
  --output_arrays=output
Reply
Couldn't find what you were looking for?and we will find an expert to answer.
How helpful was this page?