目前,tensorflow 目标识别的api函数可以使用 graph rewriter这样的配置,这样配置的引入主要是为了模型压缩使用,具体设置参数有:

syntax = "proto2";

package object_detection.protos;

// Message to configure graph rewriter for the tf graph.message GraphRewriter {  optional Quantization quantization = 1;}

// Message for quantization options. See// tensorflow/contrib/quantize/python/quantize.py for details.message Quantization {  // Number of steps to delay before quantization takes effect during training.  optional int32 delay = 1 [default = 500000];

  // Number of bits to use for quantizing weights.  // Only 8 bit is supported for now.  optional int32 weight_bits = 2 [default = 8];

  // Number of bits to use for quantizing activations.  // Only 8 bit is supported for now.  optional int32 activation_bits = 3 [default = 8];}

实际在pipline.config里面是:
graph_rewriter {  quantization {    delay: 48000  # 迭代次数后使用graph_rewriter 量化

    activation_bits: 8 #激活位数
    weight_bits: 8 #权重位数,支持int8  }}

转载于:https://www.cnblogs.com/YouXiangLiThon/p/9879265.html

tensorflow object detection api graph rewriter相关推荐

  1. ubunu16.04 TensorFlow object detection API 应用配置

    TensorFlow object detection API应用–配置 主要参考 : https://github.com/tensorflow/models/blob/master/researc ...

  2. Tensorflow Object detection API 在 Windows10 配置

    Tensorflow Object detection API 在 Windows10 下的配置不如在 Ubuntu 下配置方便,但还是有方法的,介绍一下我的配置流程. 官方目标检测的demo中调用了 ...

  3. Tensorflow object detection API 搭建自己的目标检测模型并迁移到Android上

    参考链接:https://blog.csdn.net/dy_guox/article/details/79111949 之前参考上述一系列博客在Windows10下面成功运行了TensorFlow A ...

  4. 使用tensorflow object detection API 训练自己的目标检测模型 (三)

    在上一篇博客"使用tensorflow object detection API 训练自己的目标检测模型 (二)"中介绍了如何使用LabelImg标记数据集,生成.xml文件,经过 ...

  5. Tensorflow object detection API训练自己的目标检测模型 详细配置教程 (一)

    Tensorflow object detection API 简单介绍Tensorflow object detection API: 这个API是基于tensorflow构造的开源框架,易于构建. ...

  6. TensorFlow学习——Tensorflow Object Detection API(win10,CPU)

    英文链接地址:https://github.com/tensorflow/models/tree/master/object_detection 确保安装了如下的库: Tensorflow Objec ...

  7. 建立自己的数据集 并用Tensorflow object detection API进行训练

    ps: 欢迎大家光临我的博客 建立数据集 标注工具: ubuntu 图像标注工具labelImg sudo apt-get install pyqt5-dev-tools sudo pip3 inst ...

  8. TensorFlow Object Detection API Custom Object Hangs On

    TensorFlow Object Detection API Hangs On - Training and Evaluating using Custom Object Detector *The ...

  9. TensorFlow学习——Tensorflow Object Detection API(2.目标检测篇)

    2017 年 6 月, Google 公司开放了 TensorFlow Object Detection API . 这 个项目使用 TensorFlow 实现了大多数深度学习目标检测框架,真中就包括 ...

最新文章

  1. 控件包含代码块,因此无法修改控件集合
  2. 统计分析SQL Server Profiler 跟踪的SQL
  3. oc 中随机数的用法(arc4random() 、random()、CCRANDOM_0_1()
  4. 计算机图形学跳一跳_“跳一跳”刷不到第一?试试这几个微信小游戏!
  5. C/C++中预编译#,##,#error作用
  6. ORACLE数据库定时任务自动停止(broken)的原因分析及解决办法
  7. 系统学习深度学习(五) --递归神经网络原理,实现及应用
  8. Linux下不借助工具实现远程linux服务器上传下载文件
  9. 程序员:职业很抓狂!前途很迷茫?送你破解困境秘籍!
  10. 路由navigate
  11. easy connect无法卸载干净,后台sangfor文件一直在运行的卸载方法
  12. 建筑企业收并购的三要素
  13. python爬网站图片教程_Python超简单的爬取网站中图片
  14. 好用的在线音乐网站,有这5个就够了(收藏备用)
  15. iOS锁屏页面控制音乐播放
  16. 水仙花数的while方法
  17. android 断电自动关机,Android 断开电源10秒后自动关机
  18. 使用SQLyog导出和导入MySQL数据库
  19. 人工智能应用于心电图:这6篇论文值得收藏
  20. Summary of the monthly meeting in January and February

热门文章

  1. 简单的移动端打开pdf文件。
  2. 《Greenplum5.0 最佳实践》 系统监控与维护 (五)
  3. SQLSERVER之快速掌握T-SQL语句
  4. linux系统下文件查找
  5. linux help
  6. TurboMail邮件系统: IP进黑名单,仍可收发邮件
  7. Python XML操作处理
  8. 多线程之wait和notify使用注意事项
  9. 蓝桥杯 ADV-133 算法提高 彩票
  10. 蓝桥杯 ALGO-20 算法训练 求先序排列 Java版