OpenVINO 安装及使用
安装
https://docs.openvinotoolkit.org/latest/_docs_install_guides_installing_openvino_linux.html
使用
文档:https://software.intel.com/en-us/openvino-toolkit/documentation/featured
$ --input 一定要给定节点名和端口号
$ python3 /opt/intel/openvino/deployment_tools/model_optimizer/mo_tf.py --input_model ./recognition_frozen_model.pb --input DatasetToSingleElement:0 --input_shape=[32,32,32,1] --output text_resnet15/conv5_0/relu --log_level=DEBUG
(1)TensorFlow 模型转换成 OpenVINO 的 IR 模型:
https://docs.openvinotoolkit.org/latest/_docs_MO_DG_prepare_model_convert_model_Convert_Model_From_TensorFlow.html
(2)OpenVINO 支持的 TensorFlow 的 Layers:
https://docs.openvinotoolkit.org/latest/_docs_MO_DG_prepare_model_Supported_Frameworks_Layers.html
如果 OpenVINO 中没有 TensorFlow 的 Layers,可以自定义 Layers:
https://docs.openvinotoolkit.org/latest/_docs_HOWTO_Custom_Layers_Guide.html
https://docs.openvinotoolkit.org/latest/_docs_MO_DG_prepare_model_customize_model_optimizer_Customize_Model_Optimizer.html
目前 OpenVINO 不支持的 TensorFlow Op:
- tf.math.tanh:https://tensorflow.google.cn/api_docs/python/tf/math/tanh
- tf.math.less_equal:https://tensorflow.google.cn/api_docs/python/tf/math/less_equal
- tf.debugging.Assert:https://tensorflow.google.cn/api_docs/python/tf/debugging/Assert
- tf.select:https://stackoverflow.com/questions/41505746/what-is-the-use-of-tf-select
- tf.math.ceil:https://tensorflow.google.cn/api_docs/python/tf/math/ceil
- tf.math.log:https://tensorflow.google.cn/api_docs/python/tf/math/log
- tf.keras.backend.all:https://tensorflow.google.cn/api_docs/python/tf/keras/backend/all
(3)模型转成 IR 模型后,通过 OpenVINO 的 API 实现高效的 inference:
https://docs.openvinotoolkit.org/latest/_docs_IE_DG_Integrate_with_customer_application_new_API.html
(4)自定义模型中的 json + pipeline.config 说明
案例
https://blog.csdn.net/bleedingfight/article/details/86259268
OpenVINO 安装及使用的更多相关文章
- 【翻译】如何使用 OpenVINO 来优化 OpenCV
本文翻译自 Vishwesh Shrimali 的 "Using OpenVINO with OpenCV" 原文链接: https://www.learnopencv.com/ ...
- MMDeploy安装笔记
MMDeploy的TensorRT教程 Step1: 创建虚拟环境并且安装MMDetection conda create -n openmmlab python=3.7 -y conda activ ...
- OpenVINO在linux下安装
一.准备安装环境: 1.带命令行的64位centos操作系统,推荐极简安装模式,先不要安装GNOME桌面,避免和后面的openvino环境冲突 2.cpu要求 我目前是在服务器的虚拟机里面安装 注意如 ...
- 英特尔神经棒使用入门-NCS2 & NCS1 -OpenVino
|--背景: NCS1使用的NCSDK1和NCSDK2,速度一般,没有想象中的速度,能有TX2一半的速度吧.跟大佬又申请了个NCS2来试一试. 环境配置到跑通自己写的MNIST分类网络花了2天不到吧. ...
- linux install Openvino
recommend centos7 github Openvino tooltiks 1. download openvino addational installation for ncs2 ncs ...
- “独立”OpenVINO R2019_2 版本中的“super_resolution_demo”例子的,解决由于 R2019_1到R2019_2 升级造成的问题
OpenVINO提供了丰富的例子,为了方便研究和使用,我们需要将这些例子由原始的demo目录中分离出来,也就是“独立”运行,这里我们选择了较为简单的super_resolution_demo来说明问题 ...
- OpenVINO 目标检测底层C++代码改写实现(待优化)
System: Centos7.4 I:OpenVINO 的安装 refer:https://docs.openvinotoolkit.org/latest/_docs_install_guides_ ...
- 基于Intel OpenVINO的搭建及应用,包含分类,目标检测,及分割,超分辨
PART I: 搭建环境OPENVINO+Tensorflow1.12.0 I: l_openvino_toolkit_p_2019.1.094 第一步常规安装参考链接:https://docs.op ...
- [E2E_L7 51CTO]初步接触OpenVINO提供的例子(win+vs)
一.例子编译 1.运行 C:\Program Files (x86)\IntelSWTools\openvino_2019.1.148\bin\setupvars.bat 这步需要win平台下安装py ...
随机推荐
- RabbitMQ绑定、队列、消息、虚拟主机详解(五)
Binding:绑定,Exchange和Exchange.Queue之间的连接关系 Binding中可以包含RoutingKey或者参数 Queue:消息队列,实际存储消息数据 Durability: ...
- Spring MVC Captcha 验证码
本文专为不想一遍遍手写验证码代码的”懒猿“而生,只需要添加部分配置文件,拷贝一个控制层代码,就能在页面中方便使用.话不多说,进入主题: 一. Spring MVC 环境实现方式: 1.1 spring ...
- [CSP-S模拟测试]:寿司(暴力)
题目描述 小$c$是一名$oier$.最近,他发现他的数据结构好像学傻了.因为他在刷题时碰到了一道傻逼数据结构题,强行使用了平衡树来解决,卡着时间$AC$.为此,他被狠狠地嘲讽了一番.于是,小$c$找 ...
- mysql分组,行转列
aaarticlea/jpeg;base64,/9j/4QEsRXhpZgAASUkqAAgAAAAPAJqCCgABAAAAwgAAABABAgAQAAAAygAAAAABAwABAAAAQBAAA
- jvm监测
jvm调优,首先,你得会jvm性能检测.开方得先诊断啊.
- 嵌入式Linux之gdb配置和使用
背景: ARM Cortext-A53核+Linux 4.1.12,内核空间64位,用户态32位,gdb版本7.10.1 GDB编译: 1)手动下载gdb-7.10.1.tar.gz源码编译 ./co ...
- vue 的sync用法
这个关键字在v2.3.0+ 新增,注意带有 .sync 修饰符的 v-bind 不能和表达式一起使用 (例如 v-bind:title.sync=”doc.title + ‘!’” 是无效的).说白了 ...
- lazyload懒加载插件
在main.js中引入vue-lazyload插件 并使用 注册插件: import VueLazyLoad from 'vue-lazyload' Vue.use(VueLazyLoad,{ lo ...
- Vue实现音乐播放器(二)-Vue-cli脚手架安装
- format和urlencode的使用对比
一:format的基本语法使用 基本语法是通过 {} 和 : 来代替以前的 % . format 函数可以接受不限个参数,位置可以不按顺序. 例如: >>>"{} {}&q ...