Skip to content

Commit a543d41

Browse files
authored
[Docs]: Update doc for openvino installation (#102)
* fix docs * fix docs * fix docs * fix mmcv version * fix docs * rm blank line
1 parent d522874 commit a543d41

File tree

5 files changed

+9
-14
lines changed

5 files changed

+9
-14
lines changed

docs/en/backends/openvino.md

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,16 @@
11
## OpenVINO Support
22

33
This tutorial is based on Linux systems like Ubuntu-18.04.
4-
54
### Installation
65
It is recommended to create a virtual environment for the project.
76
1. Install [OpenVINO](https://docs.openvino.ai/2021.4/get_started.html). It is recommended to use the installer or install using pip.
87
Installation example using [pip](https://pypi.org/project/openvino-dev/):
98
```bash
109
pip install openvino-dev
1110
```
12-
2. Install [PyTorch](https://pytorch.org/get-started/locally/).
13-
```bash
14-
pip install torch torchvision
15-
```
16-
3. Install [MMCV](https://mmcv.readthedocs.io/en/latest/get_started/installation.html). It is advisable to install the latest version `mmcv-full`.
17-
```bash
18-
pip install mmcv-full
19-
```
20-
4. Install MMDeploy following the [instructions](../build.md).
11+
2. *`Optional` If you want to use OpenVINO in SDK, you need install OpenVINO with [install_guides](https://docs.openvino.ai/2021.4/openvino_docs_install_guides_installing_openvino_linux.html#install-openvino).
12+
13+
3. Install MMDeploy following the [instructions](../build.md).
2114

2215
To work with models from [MMDetection](https://github.com/open-mmlab/mmdetection/blob/master/docs/get_started.md), you may need to install it additionally.
2316

docs/en/build.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,11 @@ We provide building methods for both physical and virtual machines. For virtual
7575
```bash
7676
export cu_version=cu111 # cuda 11.1
7777
export torch_version=torch1.8.0
78-
pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/${cu_version}/${torch_version}/index.html
78+
pip install mmcv-full==1.4.0 -f https://download.openmmlab.com/mmcv/dist/${cu_version}/${torch_version}/index.html
7979
```
8080

81+
82+
8183
### Build backend support
8284

8385
Build the inference engine extension libraries you need.

docs/en/get_started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ conda activate openmmlab
104104
conda install pytorch==1.8.0 torchvision==0.9.0 cudatoolkit=10.2 -c pytorch -y
105105

106106
# install the latest mmcv
107-
pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/cu102/torch1.8.0/index.html
107+
pip install mmcv-full==1.4.0 -f https://download.openmmlab.com/mmcv/dist/cu102/torch1.8.0/index.html
108108

109109
# install mmdetection
110110
git clone https://github.com/open-mmlab/mmdetection.git

docs/zh_cn/build.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
```bash
7676
export cu_version=cu111 # cuda 11.1
7777
export torch_version=torch1.8.0
78-
pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/${cu_version}/${torch_version}/index.html
78+
pip install mmcv-full==1.4.0 -f https://download.openmmlab.com/mmcv/dist/${cu_version}/${torch_version}/index.html
7979
```
8080

8181
### 安装推理引擎

docs/zh_cn/get_started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ conda activate openmmlab
104104
conda install pytorch==1.8.0 torchvision==0.9.0 cudatoolkit=10.2 -c pytorch -y
105105

106106
# 安装最新的mmcv
107-
pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/cu102/torch1.8.0/index.html
107+
pip install mmcv-full==1.4.0 -f https://download.openmmlab.com/mmcv/dist/cu102/torch1.8.0/index.html
108108

109109
# 安装mmdetection
110110
git clone https://github.com/open-mmlab/mmdetection.git

0 commit comments

Comments
 (0)