diff --git a/README.md b/README.md index b32c2518a73..3f45b3833f7 100644 --- a/README.md +++ b/README.md @@ -13,10 +13,10 @@ -[📘Documentation](https://mmdetection.readthedocs.io/en/v2.18.0/) | -[🛠️Installation](https://mmdetection.readthedocs.io/en/v2.18.0/get_started.html) | -[👀Model Zoo](https://mmdetection.readthedocs.io/zh_CN/v2.18.0/model_zoo.html) | -[🆕Update News](https://mmdetection.readthedocs.io/en/v2.18.0/changelog.html) | +[📘Documentation](https://mmdetection.readthedocs.io/en/v2.18.1/) | +[🛠️Installation](https://mmdetection.readthedocs.io/en/v2.18.1/get_started.html) | +[👀Model Zoo](https://mmdetection.readthedocs.io/zh_CN/v2.18.1/model_zoo.html) | +[🆕Update News](https://mmdetection.readthedocs.io/en/v2.18.1/changelog.html) | [🚀Ongoing Projects](https://github.com/open-mmlab/mmdetection/projects) | [🤔Reporting Issues](https://github.com/open-mmlab/mmdetection/issues/new/choose) @@ -60,10 +60,10 @@ This project is released under the [Apache 2.0 license](LICENSE). ## Changelog -**2.18.0** was released in 27/10/2021: -- Support [QueryInst](http://arxiv.org/abs/2105.01928). -- Refactor dense_head to decouple onnx export from get_bboxes and speed up inference time. -- Support infinite sampler to accelerate training when using iter based runner. +**2.18.1** was released in 15/11/2021: +- Release [QueryInst](http://arxiv.org/abs/2105.01928) pre-trained weights. +- Support plot confusion matrix. +- Fix SpatialReductionAttention in PVT and fix trunc_normal_init in both PVT and Swin-Transformer. Please refer to [changelog.md](docs/changelog.md) for details and release history. diff --git a/README_zh-CN.md b/README_zh-CN.md index 07f9f1f9d4b..a81eac6ef78 100644 --- a/README_zh-CN.md +++ b/README_zh-CN.md @@ -13,10 +13,10 @@ -[📘使用文档](https://mmdetection.readthedocs.io/zh_CN/v2.18.0/) | -[🛠️安装教程](https://mmdetection.readthedocs.io/zh_CN/v2.18.0/get_started.html) | -[👀模型库](https://mmdetection.readthedocs.io/zh_CN/v2.18.0/model_zoo.html) | -[🆕更新日志](https://mmdetection.readthedocs.io/en/v2.18.0/changelog.html) | +[📘使用文档](https://mmdetection.readthedocs.io/zh_CN/v2.18.1/) | +[🛠️安装教程](https://mmdetection.readthedocs.io/zh_CN/v2.18.1/get_started.html) | +[👀模型库](https://mmdetection.readthedocs.io/zh_CN/v2.18.1/model_zoo.html) | +[🆕更新日志](https://mmdetection.readthedocs.io/en/v2.18.1/changelog.html) | [🚀进行中的项目](https://github.com/open-mmlab/mmdetection/projects) | [🤔报告问题](https://github.com/open-mmlab/mmdetection/issues/new/choose) @@ -59,10 +59,10 @@ MMDetection 是一个基于 PyTorch 的目标检测开源工具箱。它是 [Ope ## 更新日志 -最新的 **2.18.0** 版本已经在2021.10.27发布: -- 支持 [QueryInst](http://arxiv.org/abs/2105.01928)。 -- 重构 dense_head 以将 onnx 导出与 get_bboxes 解耦并加快推理时间。 -- 支持 infinite sampler 加速 iter based runner 训练。 +最新的 **2.18.1** 版本已经在2021.11.15发布: +- 发布了 [QueryInst](http://arxiv.org/abs/2105.01928) 的预训练模型。 +- 支持绘制混淆矩阵。 +- 修复了 PVT 中的 SpatialReductionAttention 以及 PVT 和 Swin-Transformer 中 trunc_normal_init 的错误用法。 如果想了解更多版本更新细节和历史信息,请阅读[更新日志](docs/changelog.md)。 diff --git a/docker/Dockerfile b/docker/Dockerfile index 2ebbf76d043..8dbeb6682c5 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -13,7 +13,7 @@ RUN apt-get update && apt-get install -y ffmpeg libsm6 libxext6 git ninja-build && rm -rf /var/lib/apt/lists/* # Install MMCV -RUN pip install mmcv-full==1.3.14 -f https://download.openmmlab.com/mmcv/dist/cu101/torch1.6.0/index.html +RUN pip install mmcv-full==1.3.17 -f https://download.openmmlab.com/mmcv/dist/cu101/torch1.6.0/index.html # Install MMDetection RUN conda clean --all diff --git a/docker/serve/Dockerfile b/docker/serve/Dockerfile index 429f7a5e238..02fb10c5ce2 100644 --- a/docker/serve/Dockerfile +++ b/docker/serve/Dockerfile @@ -3,8 +3,8 @@ ARG CUDA="10.1" ARG CUDNN="7" FROM pytorch/pytorch:${PYTORCH}-cuda${CUDA}-cudnn${CUDNN}-devel -ARG MMCV="1.3.14" -ARG MMDET="2.18.0" +ARG MMCV="1.3.17" +ARG MMDET="2.18.1" ENV PYTHONUNBUFFERED TRUE diff --git a/docs/changelog.md b/docs/changelog.md index a5ee20d78c2..cbf5bbbcd65 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -1,5 +1,41 @@ ## Changelog +### v2.18.1 (15/11/2021) + +#### Highlights + +- Release [QueryInst](http://arxiv.org/abs/2105.01928) pre-trained weights (#6460) +- Support plot confusion matrix (#6344) + +#### New Features + +- Release [QueryInst](http://arxiv.org/abs/2105.01928) pre-trained weights (#6460) +- Support plot confusion matrix (#6344) + +#### Bug Fixes + +- Fix aug test error when the number of prediction bboxes is 0 (#6398) +- Fix SpatialReductionAttention in PVT (#6488) +- Fix wrong use of `trunc_normal_init` in PVT and Swin-Transformer (#6432) + +#### Improvements + +- Save the printed AP information of COCO API to logger (#6505) +- Always map location to cpu when load checkpoint (#6405) +- Set a random seed when the user does not set a seed (#6457) + +#### Documents + +- Chinese version of [Corruption Benchmarking](docs/robustness_benchmarking.mddocs/robustness_benchmarking.md) (#6375) +- Fix config path in docs (#6396) +- Update GRoIE readme (#6401) + +#### Contributors + +A total of 11 developers contributed to this release. +Thanks @st9007a, @hachreak, @HarborYuan, @vealocia, @chhluo, @AndreaPi, @AronLin, @BIGWangYuDong, @hhaAndroid, @RangiLyu, @ZwwWayne + + ### v2.18.0 (27/10/2021) #### Highlights diff --git a/docs/compatibility.md b/docs/compatibility.md index 4009c510df1..3d6b9459849 100644 --- a/docs/compatibility.md +++ b/docs/compatibility.md @@ -1,5 +1,12 @@ # Compatibility of MMDetection 2.x +## MMDetection 2.18.1 + +### MMCV compatibility + +In order to fix the wrong weight reference bug in BaseTransformerLayer, the logic in batch first mode of MultiheadAttention has been changed. +We recommend to use MMCV v1.3.17 or higher. For more details, please refer to [MMCV PR #1418](https://github.com/open-mmlab/mmcv/pull/1418). + ## MMDetection 2.18.0 ### DIIHead compatibility diff --git a/docs_zh-CN/compatibility.md b/docs_zh-CN/compatibility.md index 59ff8367058..80acf7f1a0e 100644 --- a/docs_zh-CN/compatibility.md +++ b/docs_zh-CN/compatibility.md @@ -1,5 +1,12 @@ # MMDetection v2.x 兼容性说明 +## MMDetection 2.18.1 + +### MMCV compatibility + +为了修复 BaseTransformerLayer 中的权重引用问题, MultiheadAttention 中 batch first 的逻辑有所改变。 +我们推荐使用 MMCV v1.3.17 或更高版本。 更多信息请参考 [MMCV PR #1418](https://github.com/open-mmlab/mmcv/pull/1418) 。 + ## MMDetection 2.18.0 ### DIIHead 兼容性 diff --git a/docs_zh-CN/get_started.md b/docs_zh-CN/get_started.md index 9a7b332ca00..9f597e7a361 100644 --- a/docs_zh-CN/get_started.md +++ b/docs_zh-CN/get_started.md @@ -11,7 +11,8 @@ MMDetection 和 MMCV 版本兼容性如下所示,需要安装正确的 MMCV | MMDetection 版本 | MMCV 版本 | | :--------------: | :----------------------: | -| master | mmcv-full>=1.3.14, <1.4.0 | +| master | mmcv-full>=1.3.17, <1.4.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 | diff --git a/mmdet/version.py b/mmdet/version.py index cebb423a010..7acf53dfde9 100644 --- a/mmdet/version.py +++ b/mmdet/version.py @@ -1,6 +1,6 @@ # Copyright (c) OpenMMLab. All rights reserved. -__version__ = '2.18.0' +__version__ = '2.18.1' short_version = __version__ diff --git a/requirements/mminstall.txt b/requirements/mminstall.txt index 8aba851ba8c..b53dbf4108e 100644 --- a/requirements/mminstall.txt +++ b/requirements/mminstall.txt @@ -1 +1 @@ -mmcv-full>=1.3.8 +mmcv-full>=1.3.17