diff --git a/README.md b/README.md
index 5df2cc4a70d..b32c2518a73 100644
--- a/README.md
+++ b/README.md
@@ -13,10 +13,10 @@
-[📘Documentation](https://mmdetection.readthedocs.io/en/v2.17.0/) |
-[🛠️Installation](https://mmdetection.readthedocs.io/en/v2.17.0/get_started.html) |
-[👀Model Zoo](https://mmdetection.readthedocs.io/zh_CN/v2.17.0/model_zoo.html) |
-[🆕Update News](https://mmdetection.readthedocs.io/en/v2.17.0/changelog.html) |
+[📘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) |
[🚀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.17.0** was released in 28/09/2021:
-- Support PVT, PVTv2 and SOLO.
-- Support large scale jittering and New Mask R-CNN baselines.
-- Speed up YOLOv3 inference.
+**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.
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 786f5374c38..07f9f1f9d4b 100644
--- a/README_zh-CN.md
+++ b/README_zh-CN.md
@@ -13,10 +13,10 @@
-[📘使用文档](https://mmdetection.readthedocs.io/zh_CN/v2.17.0/) |
-[🛠️安装教程](https://mmdetection.readthedocs.io/zh_CN/v2.17.0/get_started.html) |
-[👀模型库](https://mmdetection.readthedocs.io/zh_CN/v2.17.0/model_zoo.html) |
-[🆕更新日志](https://mmdetection.readthedocs.io/en/v2.17.0/changelog.html) |
+[📘使用文档](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://github.com/open-mmlab/mmdetection/projects) |
[🤔报告问题](https://github.com/open-mmlab/mmdetection/issues/new/choose)
@@ -59,10 +59,10 @@ MMDetection 是一个基于 PyTorch 的目标检测开源工具箱。它是 [Ope
## 更新日志
-最新的 **2.17.0** 版本已经在2021.09.28发布:
-- 支持了 PVT, PVTv2 and SOLO。
-- 支持了 large scale jittering 并且增加了新的 Mask R-CNN 基线模型。
-- 提升 YOLOv3 的推理速度。
+最新的 **2.18.0** 版本已经在2021.10.27发布:
+- 支持 [QueryInst](http://arxiv.org/abs/2105.01928)。
+- 重构 dense_head 以将 onnx 导出与 get_bboxes 解耦并加快推理时间。
+- 支持 infinite sampler 加速 iter based runner 训练。
如果想了解更多版本更新细节和历史信息,请阅读[更新日志](docs/changelog.md)。
diff --git a/docker/serve/Dockerfile b/docker/serve/Dockerfile
index 6299893ed79..429f7a5e238 100644
--- a/docker/serve/Dockerfile
+++ b/docker/serve/Dockerfile
@@ -4,7 +4,7 @@ ARG CUDNN="7"
FROM pytorch/pytorch:${PYTORCH}-cuda${CUDA}-cudnn${CUDNN}-devel
ARG MMCV="1.3.14"
-ARG MMDET="2.17.0"
+ARG MMDET="2.18.0"
ENV PYTHONUNBUFFERED TRUE
diff --git a/docs/changelog.md b/docs/changelog.md
index dd3454f8078..a5ee20d78c2 100644
--- a/docs/changelog.md
+++ b/docs/changelog.md
@@ -1,5 +1,54 @@
## Changelog
+### v2.18.0 (27/10/2021)
+
+#### Highlights
+
+- Support [QueryInst](http://arxiv.org/abs/2105.01928) (#6050)
+- Refactor dense heads to decouple onnx export logics from `get_bboxes` and speed up inference (#5317, #6003, #6369, #6268, #6315)
+
+#### New Features
+
+- Support [QueryInst](http://arxiv.org/abs/2105.01928) (#6050)
+- Support infinite sampler (#5996)
+
+#### Bug Fixes
+
+- Fix init_weight in fcn_mask_head (#6378)
+- Fix type error in imshow_bboxes of RPN (#6386)
+- Fix broken colab link in MMDetection Tutorial (#6382)
+- Make sure the device and dtype of scale_factor are the same as bboxes (#6374)
+- Remove sampling hardcode (#6317)
+- Fix RandomAffine bbox coordinate recorrection (#6293)
+- Fix init bug of final cls/reg layer in convfc head (#6279)
+- Fix img_shape broken in auto_augment (#6259)
+- Fix kwargs parameter missing error in two_stage (#6256)
+
+#### Improvements
+
+- Unify the interface of stuff head and panoptic head (#6308)
+- Polish readme (#6243)
+- Add code-spell pre-commit hook and fix a typo (#6306)
+- Fix typo (#6245, #6190)
+- Fix sampler unit test (#6284)
+- Fix `forward_dummy` of YOLACT to enable `get_flops` (#6079)
+- Fix link error in the config documentation (#6252)
+- Adjust the order to beautify the document (#6195)
+
+#### Refactors
+
+- Refactor one-stage get_bboxes logic (#5317)
+- Refactor ONNX export of One-Stage models (#6003, #6369)
+- Refactor dense_head and speedup (#6268)
+- Migrate to use prior_generator in training of dense heads (#6315)
+
+#### Contributors
+
+A total of 18 developers contributed to this release.
+Thanks @Boyden, @onnkeat, @st9007a, @vealocia, @yhcao6, @DapangpangX, @yellowdolphin, @cclauss, @kennymckormick,
+@pingguokiller, @collinzrj, @AndreaPi, @AronLin, @BIGWangYuDong, @hhaAndroid, @jshilong, @RangiLyu, @ZwwWayne
+
+
### v2.17.0 (28/9/2021)
#### Highlights
diff --git a/docs/compatibility.md b/docs/compatibility.md
index 3589b075120..4009c510df1 100644
--- a/docs/compatibility.md
+++ b/docs/compatibility.md
@@ -1,5 +1,11 @@
# Compatibility of MMDetection 2.x
+## MMDetection 2.18.0
+
+### DIIHead compatibility
+
+In order to support QueryInst, attn_feats is added into the returned tuple of DIIHead.
+
## MMDetection 2.14.0
### MMCV Version
diff --git a/docs/get_started.md b/docs/get_started.md
index ef05711db7c..f6b3edb0e36 100644
--- a/docs/get_started.md
+++ b/docs/get_started.md
@@ -11,8 +11,9 @@ Compatible MMDetection and MMCV versions are shown as below. Please install the
| MMDetection version | MMCV version |
|:-------------------:|:-------------------:|
-| master | mmcv-full>=1.3.8, <1.4.0 |
-| 2.17.0 | mmcv-full>=1.3.8, <1.4.0 |
+| master | mmcv-full>=1.3.14, <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 |
diff --git a/docs_zh-CN/compatibility.md b/docs_zh-CN/compatibility.md
index 0c0db4ab361..59ff8367058 100644
--- a/docs_zh-CN/compatibility.md
+++ b/docs_zh-CN/compatibility.md
@@ -1,5 +1,11 @@
# MMDetection v2.x 兼容性说明
+## MMDetection 2.18.0
+
+### DIIHead 兼容性
+
+为了支持 QueryInst,在 DIIHead 的返回元组中加入了 attn_feats。
+
## MMDetection v2.14.0
### MMCV 版本
diff --git a/docs_zh-CN/get_started.md b/docs_zh-CN/get_started.md
index 34b865c3ef2..9a7b332ca00 100644
--- a/docs_zh-CN/get_started.md
+++ b/docs_zh-CN/get_started.md
@@ -11,7 +11,12 @@ MMDetection 和 MMCV 版本兼容性如下所示,需要安装正确的 MMCV
| MMDetection 版本 | MMCV 版本 |
| :--------------: | :----------------------: |
-| master | mmcv-full>=1.3.8, <1.4.0 |
+| master | mmcv-full>=1.3.14, <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 |
diff --git a/mmdet/version.py b/mmdet/version.py
index 22605ac93fa..cebb423a010 100644
--- a/mmdet/version.py
+++ b/mmdet/version.py
@@ -1,6 +1,6 @@
# Copyright (c) OpenMMLab. All rights reserved.
-__version__ = '2.17.0'
+__version__ = '2.18.0'
short_version = __version__