当前位置:网站首页>toco生成tflite模型
toco生成tflite模型
2022-07-23 04:25:00 【秋水 墨色】
TFLite是为了将深度学习模型部署在移动端和嵌入式设备的工具包,可以把训练好的TF模型通过转化、部署和优化三个步骤,达到提升运算速度,减少内存、显存占用的效果。模型量化有两种方式:python API和toco工具,这两种方式都可以进行tflite模型转换,包括float16、int8两种数据格式的tflite模型。
编译toco工具,编译方式
bazel build //tensorflow/lite/toco:tocotoco转换mobilenet-ssd.pb模型为*.tflite模型
bazel-bin/tensorflow/contrib/lite/toco/toco --input_file=frozen_inference_graph.pb --output_file=frozen_inference_graph.tflite --input_format=TENSORFLOW_GRAPHDEF --output_format=TFLITE --input_shapes=1,300,300,3 --input_arrays=Preprocessor/sub --output_arrays=concat,concat_1 --inference_type=FLOAToptions解释
| Options | Definitions |
|---|---|
边栏推荐
- Idea integrated sonar complete process
- Unity Image中Sprite和overrideSprite区别(转载)
- kex_exchange_identification: read: Connection reset by peer 不完美解决办法(之一)
- CloudCompare&PCL 点云点匹配(基于点到面的距离)
- PowerBI入门指南
- 2022/7/21
- How to delete an item in sonar
- 比你老师详细系列————结构体
- Sonar中如何删除一个项目
- Redis transaction - detailed implementation process of seckill case simulation
猜你喜欢

Rapid SQL all platforms high performance SQL code

IDEA 集成 Sonar 完整流程

What is the difference between College coder and 985 programmer?

Introduction to partition operators, broadcast variables and accumulators of 32 spark

比你老师详细系列————结构体

【Delphi】制作控件面板安装图标的简单方法(译)

PyQt5_pyqtgraph鼠标在折线图上画线段
![[c #] IEnumerable enumerable type interface analysis yield](/img/08/8c346ce257b4adc0bea80bf05b6f52.png)
[c #] IEnumerable enumerable type interface analysis yield

Redis replication cluster setup

What is the core essence of smart parks?
随机推荐
ANTLR4 入门学习(一):下载和测试
PowerBI入门指南
The safe distance between you and personal information leakage may be decided by a laptop!
Operator usage and scheduling process of 31 spark
振奋人心 元宇宙!下一代互联网的财富风口
Customer first | domestic Bi leader, smart software completes round C financing
配饰器模式
无套路、无陷阱、无广告 | 这个免费的即时通讯软件确定不用吗?
什么是即时通讯?即时通讯的发展
禅道的甘特图功能是什么
Kingbasees SQL language reference manual of Jincang database (8. Function (4))
Sequence model (III) - sequence model and attention mechanism
redis 复制集群搭建
22. Notes on the use of combobox in WPF
Network data leakage events occur frequently, how to protect personal privacy information?
Is there a fraud in opening an account with Huatai Securities? Is it safe
How to query data differences between two isomorphic tables of massive data
Rapid SQL all platforms high performance SQL code
你离个人信息泄漏的安全距离,或许一台笔记本电脑就可以决定!
Chapter2 Standard Output