Skip to content
This repository has been archived by the owner on Jan 13, 2022. It is now read-only.

MobilenetV3_small_cityscapes_trainfine Tensorflow Lite (.tflite) conversion

Katsuya Hyodo edited this page Dec 5, 2019 · 31 revisions
$ sudo bazel run \
--define=with_select_tf_ops=true \
tflite_convert -- \
--graph_def_file=deeplab_mnv3_small_cityscapes_trainfine/frozen_inference_graph.pb \
--output_file=deeplab_mnv3_small_cityscapes_trainfine/frozen_inference_graph.tflite \
--input_arrays=ImageTensor \
--input_shape=1,1024,2048,3 \
--inference_type=FLOAT \
--inference_input_type=QUANTIZED_UINT8 \
--std_dev_values=127.5 \
--mean_values=127.5 \
--default_ranges_min=0 \
--default_ranges_max=6 \
--output_arrays=SemanticPredictions \
--target_ops=TFLITE_BUILTINS,SELECT_TF_OPS
Clone this wiki locally