OpenVINO官方中文文档:
OpenVINO™ 工具套件概述 - OpenVINO™ 工具套件https://docs.openvino.ai/cn/latest/index.htmlOpenVINO下载地址:
进入页面,选择相应的安装方式:
下载需要输入邮箱:
下载完成!
以下安装步骤来自官方安装文档:
The following steps apply to Ubuntu*, CentOS*, Red Hat* Enterprise Linux*, and Yocto* versions of Linux.
Step 1: Open a command prompt terminal window.
Step 2: Unpack the .tgz file.
tar -xvzf l_openvino_toolkit_p_<version>.tgz
Step 3: Go to the l_openvino_toolkit_p_<version> directory:
cd l_openvino_toolkit_p_<version>
Step 4: Choose your installation option.
- GUI Installation Wizard: sudo ./install_GUI.sh
- Command-Line Instructions: sudo ./install.sh
Step 5: Follow the instructions in the installer.
Step 6: The core components are installed. To complete the configuration, follow the instructions in the Complete Installation Guide.
一直点击Next即可!
安装后路径:/home/liqiang/intel
Install External Software Dependencies
进入/home/liqiang/intel/openvino_2021/install_dependencie
执行命令:
sudo -E ./install_openvino_dependencies.sh
正在安装……
Configure the Environment
配置环境变量
sudo gedit ~/.bashrc
在最后一行添加
source /opt/intel/openvino_2021/bin/setupvars.sh 其中opt为安装的路径
再次打开新窗口时,环境变量已经初始化
如果不想每次打开窗口的时侯出现上面一段话;可以每次使用openvino的时侯在终端输入
source /opt/intel/openvino_2021/bin/setupvars.sh 其中opt为安装的路径
Configure the Model Optimizer
进入目录:
cd /opt/intel/openvino_2021/deployment_tools/model_optimizer/install_prerequisites
执行:
sudo ./install_prerequisites.sh
正在安装所需的依赖!!
成功!!