下面先溜溜官方网站的介绍:
![计算棒2.gif 计算棒2.gif](https://static.assets-stash.eet-china.com/forum/202109/29/220146i844i4igmq4sgpqp.gif)
这是它的中文官网
https://software.intel.com/content/www/cn/zh/develop/hardware/neural-compute-stick.html
实物包装有点简单
![IMG_20210929_200644.jpg IMG_20210929_200644.jpg](https://static.assets-stash.eet-china.com/forum/202109/29/213911fah1xo9f5hw5ow0v.jpg)
![IMG_20210929_200649.jpg IMG_20210929_200649.jpg](https://static.assets-stash.eet-china.com/forum/202109/29/213913nc5y3r2t3cx3zxxz.jpg)
十分小巧
![IMG_20210929_200709.jpg IMG_20210929_200709.jpg](https://static.assets-stash.eet-china.com/forum/202109/29/213920iqglchlk8a5rnlqo.jpg)
科技感十足
![IMG_20210929_200716.jpg IMG_20210929_200716.jpg](https://static.assets-stash.eet-china.com/forum/202109/29/213923xpigip6610z1txs1.jpg)
蓝色接口表示USB3.0
![IMG_20210929_200757.jpg IMG_20210929_200757.jpg](https://static.assets-stash.eet-china.com/forum/202109/29/213928i2eql3i5an3na56n.jpg)
之前使用Ubuntu 20.04安装开发环境OpenVINO toolkit成功了,但是在安装usb驱动的时候死活不成功,无赖只好放弃ubuntu环境了,本打算下载win10环境的OpenVINO toolkit,但是之前官方的网页下载一直报错,无法下载。今天总算下载成功了。
![下载0.PNG 下载0.PNG](https://static.assets-stash.eet-china.com/forum/202109/29/213513enxh7n6iixnnfnpn.png)
而且Linux的离线安装包也能下载了:
![下载1.PNG 下载1.PNG](https://static.assets-stash.eet-china.com/forum/202109/29/213519q1vm5hha2sspajkj.png)
Windows10平台的开发环境安装这个文档写的很详细了:
https://docs.openvinotoolkit.org/2021.4/openvino_docs_install_guides_installing_openvino_windows.html
先安装依赖软件:
Microsoft Visual Studio* 2019 with MSBuild
CMake 3.14 or higher 64-bit
Python 3.6 - 3.8 64-bit
安装python的时候注意勾选:Add Python 3.x to PATH 以便将Python安装到系统环境变量。
点击w_openvino_toolkit_p_2021.4.689.exe弹出:
![安装1.PNG 安装1.PNG](https://static.assets-stash.eet-china.com/forum/202109/29/213529a3pbfznl9py9nlcs.png)
开始安装:
![安装2.PNG 安装2.PNG](https://static.assets-stash.eet-china.com/forum/202109/29/213531lzqzi4df3eu4i7mt.png)
默认安装C盘
![安装3.PNG 安装3.PNG](https://static.assets-stash.eet-china.com/forum/202109/29/213533dci0u8tlgtc0g814.png)
选择同意
![安装4.PNG 安装4.PNG](https://static.assets-stash.eet-china.com/forum/202109/29/213535bi0gbirmwm6grlzi.png)
检测到依赖没安装,可以稍后安装
![安装5.PNG 安装5.PNG](https://static.assets-stash.eet-china.com/forum/202109/29/213600rkz44rau3n6naag5.png)
安装中
![安装6.PNG 安装6.PNG](https://static.assets-stash.eet-china.com/forum/202109/29/213600klh6u7745o5zhtyl.png)
安装完毕
![安装7.PNG 安装7.PNG](https://static.assets-stash.eet-china.com/forum/202109/29/213611ruox70o0ghxexhhe.png)
最后执行 setupvars.bat 设置环境变量
"C:\Program Files (x86)\Intel\openvino_2021\bin\setupvars.bat"
![安装8.PNG 安装8.PNG](https://static.assets-stash.eet-china.com/forum/202109/29/213611qtmgw7b5agr5btea.png)
安装目录内容如下
![安装9.PNG 安装9.PNG](https://static.assets-stash.eet-china.com/forum/202109/29/213826c7or79rjb98wpz4w.png)
![安装10.PNG 安装10.PNG](https://static.assets-stash.eet-china.com/forum/202109/29/213826k2gzinun2f297uiq.png)
demo目录含有许多示例,首先将示例跑起来
![安装11.PNG 安装11.PNG](https://static.assets-stash.eet-china.com/forum/202109/29/213826a4cq24v2yh54wvvt.png)
安装完毕后,这个文档详细描述了如何使用
https://docs.openvinotoolkit.org/2021.4/openvino_docs_get_started_get_started_windows.html
https://software.intel.com/content/www/cn/zh/develop/articles/get-started-with-neural-compute-stick.html
进入目录C:\Program Files (x86)\Intel\openvino_2021\deployment_tools\demo
执行以下命令运行示例
.\demo_squeezenet_download_convert_run.bat
可以加上参数-d [CPU, GPU, MYRIAD, HDDL]指定使用的计算设备,默认是CPU,我们的计算棒是MYRIAD。
![运行1.PNG 运行1.PNG](https://static.assets-stash.eet-china.com/forum/202109/29/221109ewrxkx7alxkx7iqx.png)
下载十分缓慢,噩梦。。。
![运行2.PNG 运行2.PNG](https://static.assets-stash.eet-china.com/forum/202109/29/221109p3tos1gg6ssm9hr3.png)
错误一堆,可能是python版本不太合适
![运行3.PNG 运行3.PNG](https://static.assets-stash.eet-china.com/forum/202109/29/221110u188r71rr8z8q2qr.png)
目前使用的是python3.8.9版本,打算换个版本再尝试。。。
![捕获.PNG 捕获.PNG](https://static.assets-stash.eet-china.com/forum/202109/29/221226h248dq3851ntd43m.png)