Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Converting tensorflow frozen graph to .tflite
./bazel-bin/tensorflow/contrib/lite/toco/toco \
--input_file=yolov2-tiny.pb \
--output_file=foo.tflite  \
--input_format=TENSORFLOW_GRAPHDEF \
--output_format=TFLITE \
--input_arrays=input \
--input_shapes=1,416,416,3 \

This comment has been minimized.

Copy link

iseegr8tfuldeadppl commented Apr 18, 2019

if toco: error: one of the arguments --graph_def_file --saved_model_dir --keras_model_file is required
error shows up make sure you replace input_file with graph_def_file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.