Skip to content

Commit

Permalink
bump mmdet min version to 2.22.0 (#270)
Browse files Browse the repository at this point in the history
* update mmdet

* fix

* fix

* Update changelog.md

* Update changelog.md
  • Loading branch information
zytx121 authored Apr 30, 2022
1 parent 9815050 commit 1828f38
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 15 deletions.
4 changes: 2 additions & 2 deletions docker/serve/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ ARG CUDNN="7"
FROM pytorch/pytorch:${PYTORCH}-cuda${CUDA}-cudnn${CUDNN}-devel

ARG MMCV="1.4.5"
ARG MMDET="2.19.0"
ARG MMROTATE="0.1.1"
ARG MMDET="2.22.0"
ARG MMROTATE="0.3.0"
ARG TORCHSERVE="0.2.0"

ENV PYTHONUNBUFFERED TRUE
Expand Down
3 changes: 2 additions & 1 deletion docs/en/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#### New Features

- Update performance of ReDet on HRSC2016. (#203)
- Upgrage visualization to custom colors of different classes (#187)
- Upgrage visualization to custom colors of different classes. This requires mmdet>=2.22.0. (#187, #267, #270)
- Update Stable KLD, which solve the Nan issue of KLD training. (#183)
- Support setting dataloader arguments in config and add functions to handle config compatibility. (#215)
The comparison between the old and new usages is as below.
Expand Down Expand Up @@ -74,6 +74,7 @@
- Fix bug of 'RoIAlignRotated' object has no attribute 'output_size' (#213)
- Fix bug in unit test for datasets. (#222)
- Fix bug in rotated_reppoints_head. (#246)
- Fix GPG key error in CI and docker. (#269)

#### Improvements

Expand Down
13 changes: 7 additions & 6 deletions docs/en/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,18 @@
- CUDA 9.2+
- GCC 5+
- [mmcv](https://mmcv.readthedocs.io/en/latest/get_started/installation.html) 1.4.5+
- [mmdet](https://mmdetection.readthedocs.io/en/latest/get_started.html#installation) 2.19.0+
- [mmdet](https://mmdetection.readthedocs.io/en/latest/get_started.html#installation) 2.22.0+


Compatible MMCV, MMClassification and MMDetection versions are shown as below. Please install the correct version of them to avoid installation issues.

| MMRotate version | MMCV version | MMDetection version |
|:-------------------:|:-----------------:|:---------------------------------:|
| master | mmcv-full>=1.4.5 | mmdet >= 2.22.0 |
| 0.2.0 | mmcv-full>=1.4.5 | mmdet >= 2.19.0 |
| 0.1.1 | mmcv-full>=1.4.5 | mmdet >= 2.19.0 |
| 0.1.0 | mmcv-full>=1.4.5 | mmdet >= 2.19.0 |
|:-------------------:|:------------------------:|:---------------------------------:|
| main | mmcv-full>=1.4.5, <1.6.0 | mmdet >= 2.22.0 |
| 0.3.0 | mmcv-full>=1.4.5, <1.6.0 | mmdet >= 2.22.0 |
| 0.2.0 | mmcv-full>=1.4.5, <1.5.0 | mmdet >= 2.19.0 |
| 0.1.1 | mmcv-full>=1.4.5, <1.5.0 | mmdet >= 2.19.0 |
| 0.1.0 | mmcv-full>=1.4.5, <1.5.0 | mmdet >= 2.19.0 |

**Note:** You need to run `pip uninstall mmcv` first if you have mmcv installed.
If mmcv and mmcv-full are both installed, there will be `ModuleNotFoundError`.
Expand Down
13 changes: 7 additions & 6 deletions docs/zh_cn/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,18 @@
- CUDA 9.2+
- GCC 5+
- [mmcv](https://mmcv.readthedocs.io/en/latest/#installation) 1.4.5+
- [mmdet](https://mmdetection.readthedocs.io/en/latest/#installation) 2.19.0+
- [mmdet](https://mmdetection.readthedocs.io/en/latest/#installation) 2.22.0+


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

| MMRotate 版本 | MMCV 版本 | MMDetection 版本 |
|:-------------------:|:-----------------:|:---------------------------------:|
| master | mmcv-full>=1.4.5 | mmdet >= 2.22.0 |
| 0.2.0 | mmcv-full>=1.4.5 | mmdet >= 2.19.0 |
| 0.1.1 | mmcv-full>=1.4.5 | mmdet >= 2.19.0 |
| 0.1.0 | mmcv-full>=1.4.5 | mmdet >= 2.19.0 |
|:-------------------:|:------------------------:|:---------------------------------:|
| main | mmcv-full>=1.4.5, <1.6.0 | mmdet >= 2.22.0 |
| 0.3.0 | mmcv-full>=1.4.5, <1.6.0 | mmdet >= 2.22.0 |
| 0.2.0 | mmcv-full>=1.4.5, <1.5.0 | mmdet >= 2.19.0 |
| 0.1.1 | mmcv-full>=1.4.5, <1.5.0 | mmdet >= 2.19.0 |
| 0.1.0 | mmcv-full>=1.4.5, <1.5.0 | mmdet >= 2.19.0 |

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

Expand Down

0 comments on commit 1828f38

Please sign in to comment.