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
最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容