Discussions>Convert pb to tflite>

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?

2 votesJO297.00
1 Answers

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 \
Couldn't find what you were looking for?and we will find an expert to answer.
How helpful was this page?