diff --git a/docs/en/backends/openvino.md b/docs/en/backends/openvino.md index 2c8d5c2d24..d043c578ac 100644 --- a/docs/en/backends/openvino.md +++ b/docs/en/backends/openvino.md @@ -1,7 +1,6 @@ ## OpenVINO Support This tutorial is based on Linux systems like Ubuntu-18.04. - ### Installation It is recommended to create a virtual environment for the project. 1. Install [OpenVINO](https://docs.openvino.ai/2021.4/get_started.html). It is recommended to use the installer or install using pip. @@ -9,15 +8,9 @@ Installation example using [pip](https://pypi.org/project/openvino-dev/): ```bash pip install openvino-dev ``` -2. Install [PyTorch](https://pytorch.org/get-started/locally/). -```bash -pip install torch torchvision -``` -3. Install [MMCV](https://mmcv.readthedocs.io/en/latest/get_started/installation.html). It is advisable to install the latest version `mmcv-full`. -```bash -pip install mmcv-full -``` -4. Install MMDeploy following the [instructions](../build.md). +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). + +3. Install MMDeploy following the [instructions](../build.md). 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. diff --git a/docs/en/build.md b/docs/en/build.md index 9ed5364a51..2a14c00097 100644 --- a/docs/en/build.md +++ b/docs/en/build.md @@ -72,9 +72,11 @@ ```bash export cu_version=cu111 # cuda 11.1 export torch_version=torch1.8.0 - pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/${cu_version}/${torch_version}/index.html + pip install mmcv-full==1.4.0 -f https://download.openmmlab.com/mmcv/dist/${cu_version}/${torch_version}/index.html ``` + + ### Build backend support Build the inference engine extension libraries you need. diff --git a/docs/en/get_started.md b/docs/en/get_started.md index b04d440565..0218a2753c 100644 --- a/docs/en/get_started.md +++ b/docs/en/get_started.md @@ -104,7 +104,7 @@ conda activate openmmlab conda install pytorch==1.8.0 torchvision==0.9.0 cudatoolkit=10.2 -c pytorch -y # install the latest mmcv -pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/cu102/torch1.8.0/index.html +pip install mmcv-full==1.4.0 -f https://download.openmmlab.com/mmcv/dist/cu102/torch1.8.0/index.html # install mmdetection git clone https://github.com/open-mmlab/mmdetection.git diff --git a/docs/zh_cn/build.md b/docs/zh_cn/build.md index c0056e9a02..3bfacf0929 100644 --- a/docs/zh_cn/build.md +++ b/docs/zh_cn/build.md @@ -73,7 +73,7 @@ ```bash export cu_version=cu111 # cuda 11.1 export torch_version=torch1.8.0 - pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/${cu_version}/${torch_version}/index.html + pip install mmcv-full==1.4.0 -f https://download.openmmlab.com/mmcv/dist/${cu_version}/${torch_version}/index.html ``` ### 安装推理引擎 diff --git a/docs/zh_cn/get_started.md b/docs/zh_cn/get_started.md index f6876f1878..3eef930914 100644 --- a/docs/zh_cn/get_started.md +++ b/docs/zh_cn/get_started.md @@ -104,7 +104,7 @@ conda activate openmmlab conda install pytorch==1.8.0 torchvision==0.9.0 cudatoolkit=10.2 -c pytorch -y # 安装最新的mmcv -pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/cu102/torch1.8.0/index.html +pip install mmcv-full==1.4.0 -f https://download.openmmlab.com/mmcv/dist/cu102/torch1.8.0/index.html # 安装mmdetection git clone https://github.com/open-mmlab/mmdetection.git