Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Fix] Fix mdformat version to support python3.6 #8195

Merged
merged 2 commits into from
Jun 15, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ repos:
hooks:
- id: codespell
- repo: https://github.com/executablebooks/mdformat
rev: 0.7.14
rev: 0.7.9
hooks:
- id: mdformat
args: ["--number"]
additional_dependencies:
- mdformat-gfm
- mdformat-openmmlab
- mdformat_frontmatter
- linkify-it-py
- repo: https://github.com/myint/docformatter
Expand Down
10 changes: 5 additions & 5 deletions docs/en/get_started.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,12 +147,12 @@ However some functionalities are gone in this mode:
If you try to train/test/inference a model containing above ops, an error will be raised.
The following table lists affected algorithms.

| Operator | Model |
| :-----------------------------------------------------: | :-------------------------------------------------------------------------------: |
| Operator | Model |
| :-----------------------------------------------------: | :--------------------------------------------------------------------------------------: |
| Deformable Convolution/Modulated Deformable Convolution | DCN、Guided Anchoring、RepPoints、CentripetalNet、VFNet、CascadeRPN、NAS-FCOS、DetectoRS |
| MaskedConv2d | Guided Anchoring |
| CARAFE | CARAFE |
| SyncBatchNorm | ResNeSt |
| MaskedConv2d | Guided Anchoring |
| CARAFE | CARAFE |
| SyncBatchNorm | ResNeSt |

### Install on Google Colab

Expand Down
80 changes: 40 additions & 40 deletions docs/zh_cn/get_started.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,41 +9,41 @@

MMDetection 和 MMCV 版本兼容性如下所示,需要安装正确的 MMCV 版本以避免安装出现问题。

| MMDetection 版本 | MMCV 版本 |
| :------------: | :------------------------: |
| master | mmcv-full>=1.3.17, \<1.6.0 |
| 2.25.0 | mmcv-full>=1.3.17, \<1.6.0 |
| 2.24.1 | mmcv-full>=1.3.17, \<1.6.0 |
| 2.24.0 | mmcv-full>=1.3.17, \<1.6.0 |
| 2.23.0 | mmcv-full>=1.3.17, \<1.5.0 |
| 2.22.0 | mmcv-full>=1.3.17, \<1.5.0 |
| 2.21.0 | mmcv-full>=1.3.17, \<1.5.0 |
| 2.20.0 | mmcv-full>=1.3.17, \<1.5.0 |
| 2.19.1 | mmcv-full>=1.3.17, \<1.5.0 |
| 2.19.0 | mmcv-full>=1.3.17, \<1.5.0 |
| 2.18.1 | mmcv-full>=1.3.17, \<1.4.0 |
| 2.18.0 | mmcv-full>=1.3.14, \<1.4.0 |
| 2.17.0 | mmcv-full>=1.3.14, \<1.4.0 |
| 2.16.0 | mmcv-full>=1.3.8, \<1.4.0 |
| 2.15.1 | mmcv-full>=1.3.8, \<1.4.0 |
| 2.15.0 | mmcv-full>=1.3.8, \<1.4.0 |
| 2.14.0 | mmcv-full>=1.3.8, \<1.4.0 |
| 2.13.0 | mmcv-full>=1.3.3, \<1.4.0 |
| 2.12.0 | mmcv-full>=1.3.3, \<1.4.0 |
| 2.11.0 | mmcv-full>=1.2.4, \<1.4.0 |
| 2.10.0 | mmcv-full>=1.2.4, \<1.4.0 |
| 2.9.0 | mmcv-full>=1.2.4, \<1.4.0 |
| 2.8.0 | mmcv-full>=1.2.4, \<1.4.0 |
| 2.7.0 | mmcv-full>=1.1.5, \<1.4.0 |
| 2.6.0 | mmcv-full>=1.1.5, \<1.4.0 |
| 2.5.0 | mmcv-full>=1.1.5, \<1.4.0 |
| 2.4.0 | mmcv-full>=1.1.1, \<1.4.0 |
| 2.3.0 | mmcv-full==1.0.5 |
| 2.3.0rc0 | mmcv-full>=1.0.2 |
| 2.2.1 | mmcv==0.6.2 |
| 2.2.0 | mmcv==0.6.2 |
| 2.1.0 | mmcv>=0.5.9, \<=0.6.1 |
| 2.0.0 | mmcv>=0.5.1, \<=0.5.8 |
| MMDetection 版本 | MMCV 版本 |
| :--------------: | :------------------------: |
| master | mmcv-full>=1.3.17, \<1.6.0 |
| 2.25.0 | mmcv-full>=1.3.17, \<1.6.0 |
| 2.24.1 | mmcv-full>=1.3.17, \<1.6.0 |
| 2.24.0 | mmcv-full>=1.3.17, \<1.6.0 |
| 2.23.0 | mmcv-full>=1.3.17, \<1.5.0 |
| 2.22.0 | mmcv-full>=1.3.17, \<1.5.0 |
| 2.21.0 | mmcv-full>=1.3.17, \<1.5.0 |
| 2.20.0 | mmcv-full>=1.3.17, \<1.5.0 |
| 2.19.1 | mmcv-full>=1.3.17, \<1.5.0 |
| 2.19.0 | mmcv-full>=1.3.17, \<1.5.0 |
| 2.18.1 | mmcv-full>=1.3.17, \<1.4.0 |
| 2.18.0 | mmcv-full>=1.3.14, \<1.4.0 |
| 2.17.0 | mmcv-full>=1.3.14, \<1.4.0 |
| 2.16.0 | mmcv-full>=1.3.8, \<1.4.0 |
| 2.15.1 | mmcv-full>=1.3.8, \<1.4.0 |
| 2.15.0 | mmcv-full>=1.3.8, \<1.4.0 |
| 2.14.0 | mmcv-full>=1.3.8, \<1.4.0 |
| 2.13.0 | mmcv-full>=1.3.3, \<1.4.0 |
| 2.12.0 | mmcv-full>=1.3.3, \<1.4.0 |
| 2.11.0 | mmcv-full>=1.2.4, \<1.4.0 |
| 2.10.0 | mmcv-full>=1.2.4, \<1.4.0 |
| 2.9.0 | mmcv-full>=1.2.4, \<1.4.0 |
| 2.8.0 | mmcv-full>=1.2.4, \<1.4.0 |
| 2.7.0 | mmcv-full>=1.1.5, \<1.4.0 |
| 2.6.0 | mmcv-full>=1.1.5, \<1.4.0 |
| 2.5.0 | mmcv-full>=1.1.5, \<1.4.0 |
| 2.4.0 | mmcv-full>=1.1.1, \<1.4.0 |
| 2.3.0 | mmcv-full==1.0.5 |
| 2.3.0rc0 | mmcv-full>=1.0.2 |
| 2.2.1 | mmcv==0.6.2 |
| 2.2.0 | mmcv==0.6.2 |
| 2.1.0 | mmcv>=0.5.9, \<=0.6.1 |
| 2.0.0 | mmcv>=0.5.1, \<=0.5.8 |

\*\*注意:\*\*如果已经安装了 mmcv,首先需要使用 `pip uninstall mmcv` 卸载已安装的 mmcv,如果同时安装了 mmcv 和 mmcv-full,将会报 `ModuleNotFoundError` 错误。

Expand Down Expand Up @@ -203,12 +203,12 @@ MIM 能够自动地安装 OpenMMLab 的项目以及对应的依赖包。

因此,如果尝试使用包含上述操作的模型进行训练/测试/推理,将会报错。下表列出了由于依赖上述算子而无法在 CPU 上运行的相关模型:

| 操作 | 模型 |
| :-----------------------------------------------------: | :-------------------------------------------------------------------------------: |
| 操作 | 模型 |
| :-----------------------------------------------------: | :--------------------------------------------------------------------------------------: |
| Deformable Convolution/Modulated Deformable Convolution | DCN、Guided Anchoring、RepPoints、CentripetalNet、VFNet、CascadeRPN、NAS-FCOS、DetectoRS |
| MaskedConv2d | Guided Anchoring |
| CARAFE | CARAFE |
| SyncBatchNorm | ResNeSt |
| MaskedConv2d | Guided Anchoring |
| CARAFE | CARAFE |
| SyncBatchNorm | ResNeSt |

### 另一种选择: Docker 镜像

Expand Down