tensorflow模型保存与使用

1.tensorflow将训练好的模型freeze,即将权重固化到图里面,并使用该模型进行预测
2.Tensorflow 模型持久化
3.TensorFlow Lite学习笔记2:生成TFLite模型文件
多个输出

/home/ljg/tensorflow/bazel-bin/tensorflow/contrib/lite/toco/toco --input_file=Onet.pb --input_format=TENSORFLOW_GRAPHDEF  --output_format=TFLITE --output_file=Onet.tflite  --inference_type=FLOAT --inference_input_type=FLOAT --input_shape=1,48,48,3 --input_array=image --output_array=conv6-1/Softmax conv6-2/BiasAdd conv6-3/BiasAdd

你可能感兴趣的:(tensorflow模型保存与使用)