From 32f43e5c07b6e8d3bf9be263b199b9c21f209d8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Haian=20Huang=28=E6=B7=B1=E5=BA=A6=E7=9C=B8=29?= <1286304229@qq.com> Date: Thu, 6 Apr 2023 14:38:48 +0800 Subject: [PATCH] Update version and README (#10091) --- docs/en/get_started.md | 8 ++++---- docs/en/notes/faq.md | 4 ++-- docs/en/user_guides/label_studio.md | 2 +- docs/zh_cn/get_started.md | 8 ++++---- docs/zh_cn/notes/faq.md | 4 ++-- docs/zh_cn/user_guides/label_studio.md | 2 +- 6 files changed, 14 insertions(+), 14 deletions(-) diff --git a/docs/en/get_started.md b/docs/en/get_started.md index fd342847670..31260abf8f6 100644 --- a/docs/en/get_started.md +++ b/docs/en/get_started.md @@ -44,7 +44,7 @@ We recommend that users follow our best practices to install MMDetection. Howeve ```shell pip install -U openmim mim install mmengine -mim install "mmcv>=2.0.0rc1" +mim install "mmcv>=2.0.0" ``` **Note:** In MMCV-v2.x, `mmcv-full` is rename to `mmcv`, if you want to install `mmcv` without CUDA ops, you can use `mim install "mmcv-lite>=2.0.0rc1"` to install the lite version. @@ -137,7 +137,7 @@ To install MMCV with pip instead of MIM, please follow [MMCV installation guides For example, the following command installs MMCV built for PyTorch 1.12.x and CUDA 11.6. ```shell -pip install "mmcv>=2.0.0rc1" -f https://download.openmmlab.com/mmcv/dist/cu116/torch1.12.0/index.html +pip install "mmcv>=2.0.0" -f https://download.openmmlab.com/mmcv/dist/cu116/torch1.12.0/index.html ``` #### Install on CPU-only platforms @@ -179,7 +179,7 @@ thus we only need to install MMEngine, MMCV, and MMDetection with the following ```shell !pip3 install openmim !mim install mmengine -!mim install "mmcv>=2.0.0rc1,<2.1.0" +!mim install "mmcv>=2.0.0,<2.1.0" ``` **Step 2.** Install MMDetection from the source. @@ -195,7 +195,7 @@ thus we only need to install MMEngine, MMCV, and MMDetection with the following ```python import mmdet print(mmdet.__version__) -# Example output: 3.0.0rc0, or an another version. +# Example output: 3.0.0, or an another version. ``` ```{note} diff --git a/docs/en/notes/faq.md b/docs/en/notes/faq.md index d87387ac5d2..aa473c2f3da 100644 --- a/docs/en/notes/faq.md +++ b/docs/en/notes/faq.md @@ -46,8 +46,8 @@ Compatible MMDetection, MMEngine, and MMCV versions are shown as below. Please c | MMDetection version | MMCV version | MMEngine version | | :-----------------: | :---------------------: | :----------------------: | -| main | mmcv>=2.0.0rc4, \<2.1.0 | mmengine>=0.7.1, \<1.0.0 | -| 3.x | mmcv>=2.0.0rc4, \<2.1.0 | mmengine>=0.7.1, \<1.0.0 | +| main | mmcv>=2.0.0, \<2.1.0 | mmengine>=0.7.1, \<1.0.0 | +| 3.x | mmcv>=2.0.0, \<2.1.0 | mmengine>=0.7.1, \<1.0.0 | | 3.0.0rc6 | mmcv>=2.0.0rc4, \<2.1.0 | mmengine>=0.6.0, \<1.0.0 | | 3.0.0rc5 | mmcv>=2.0.0rc1, \<2.1.0 | mmengine>=0.3.0, \<1.0.0 | | 3.0.0rc4 | mmcv>=2.0.0rc1, \<2.1.0 | mmengine>=0.3.0, \<1.0.0 | diff --git a/docs/en/user_guides/label_studio.md b/docs/en/user_guides/label_studio.md index c86a77d9c22..d4b37447349 100644 --- a/docs/en/user_guides/label_studio.md +++ b/docs/en/user_guides/label_studio.md @@ -34,7 +34,7 @@ Install MMCV: ```shell pip install -U openmim -mim install "mmcv>=2.0.0rc0" +mim install "mmcv>=2.0.0" # Installing mmcv will automatically install mmengine ``` diff --git a/docs/zh_cn/get_started.md b/docs/zh_cn/get_started.md index d9b1380234f..72be5fc3441 100644 --- a/docs/zh_cn/get_started.md +++ b/docs/zh_cn/get_started.md @@ -44,7 +44,7 @@ conda install pytorch torchvision cpuonly -c pytorch ```shell pip install -U openmim mim install mmengine -mim install "mmcv>=2.0.0rc1" +mim install "mmcv>=2.0.0" ``` **注意:** 在 MMCV-v2.x 中,`mmcv-full` 改名为 `mmcv`,如果你想安装不包含 CUDA 算子精简版,可以通过 `mim install "mmcv-lite>=2.0.0rc1"` 来安装。 @@ -136,7 +136,7 @@ MMCV 包含 C++ 和 CUDA 扩展,因此其对 PyTorch 的依赖比较复杂。M 例如,下述命令将会安装基于 PyTorch 1.12.x 和 CUDA 11.6 编译的 MMCV。 ```shell -pip install "mmcv>=2.0.0rc1" -f https://download.openmmlab.com/mmcv/dist/cu116/torch1.12.0/index.html +pip install "mmcv>=2.0.0" -f https://download.openmmlab.com/mmcv/dist/cu116/torch1.12.0/index.html ``` #### 在 CPU 环境中安装 @@ -176,7 +176,7 @@ MMDetection 可以在 CPU 环境中构建。在 CPU 模式下,可以进行模 ```shell !pip3 install openmim !mim install mmengine -!mim install "mmcv>=2.0.0rc1,<2.1.0" +!mim install "mmcv>=2.0.0,<2.1.0" ``` **步骤 2.** 使用源码安装 MMDetection。 @@ -192,7 +192,7 @@ MMDetection 可以在 CPU 环境中构建。在 CPU 模式下,可以进行模 ```python import mmdet print(mmdet.__version__) -# 预期输出:3.0.0rc0 或其他版本号 +# 预期输出:3.0.0 或其他版本号 ``` ```{note} diff --git a/docs/zh_cn/notes/faq.md b/docs/zh_cn/notes/faq.md index a3695ae41de..7f1333fcd1d 100644 --- a/docs/zh_cn/notes/faq.md +++ b/docs/zh_cn/notes/faq.md @@ -46,8 +46,8 @@ export DYNAMO_CACHE_SIZE_LIMIT = 4 | MMDetection 版本 | MMCV 版本 | MMEngine 版本 | | :--------------: | :---------------------: | :----------------------: | - | main | mmcv>=2.0.0rc4, \<2.1.0 | mmengine>=0.7.1, \<1.0.0 | - | 3.x | mmcv>=2.0.0rc4, \<2.1.0 | mmengine>=0.7.1, \<1.0.0 | + | main | mmcv>=2.0.0, \<2.1.0 | mmengine>=0.7.1, \<1.0.0 | + | 3.x | mmcv>=2.0.0, \<2.1.0 | mmengine>=0.7.1, \<1.0.0 | | 3.0.0rc6 | mmcv>=2.0.0rc4, \<2.1.0 | mmengine>=0.6.0, \<1.0.0 | | 3.0.0rc5 | mmcv>=2.0.0rc1, \<2.1.0 | mmengine>=0.3.0, \<1.0.0 | | 3.0.0rc4 | mmcv>=2.0.0rc1, \<2.1.0 | mmengine>=0.3.0, \<1.0.0 | diff --git a/docs/zh_cn/user_guides/label_studio.md b/docs/zh_cn/user_guides/label_studio.md index 5d3c17326e0..202122f6854 100644 --- a/docs/zh_cn/user_guides/label_studio.md +++ b/docs/zh_cn/user_guides/label_studio.md @@ -33,7 +33,7 @@ pip install torch==1.10.1 torchvision==0.11.2 torchaudio==0.10.1 ```shell pip install -U openmim -mim install "mmcv>=2.0.0rc0" +mim install "mmcv>=2.0.0" # 安装 mmcv 的过程中会自动安装 mmengine ```