InferenceEngine apt ubuntu16.04安装
时间: 2023-10-09 14:12:48 浏览: 56
以下是在 Ubuntu 16.04 上安装 Inference Engine 的步骤:
1. 安装依赖项:
```bash
sudo apt-get update && sudo apt-get install -y build-essential cmake git libgtk2.0-dev pkg-config libavcodec-dev libavformat-dev libswscale-dev
```
2. 克隆 OpenVINO 工具包:
```bash
git clone https://github.com/openvinotoolkit/openvino.git
```
3. 切换到 Inference Engine 目录:
```bash
cd openvino/inference-engine/
```
4. 创建 build 目录并切换到该目录:
```bash
mkdir build && cd build
```
5. 运行 CMake:
```bash
cmake ..
```
6. 编译:
```bash
make -j4
```
7. 安装:
```bash
sudo make install
```
8. 设置环境变量:
将以下行添加到 `~/.bashrc` 文件中:
```bash
source /opt/intel/openvino/bin/setupvars.sh
```
9. 重新加载 bash:
```bash
source ~/.bashrc
```
现在,Inference Engine 应该已经在您的 Ubuntu 16.04 系统上安装好了。