From 25ac8f502dc76c2c2285818ef44b6846afac7625 Mon Sep 17 00:00:00 2001
From: Jerry Jiarui XU <xvjiarui0826@gmail.com>
Date: Thu, 2 Jul 2020 01:31:18 +0800
Subject: [PATCH] Bump to 2.2 (#3170)

* Bump to 2.2

* remove some

* update

* update

* update mmcv version
---
 README.md                |  2 +-
 docs/changelog.md        | 46 ++++++++++++++++++++++++++++++++++++++++
 mmdet/VERSION            |  2 +-
 requirements/runtime.txt |  2 +-
 4 files changed, 49 insertions(+), 3 deletions(-)

diff --git a/README.md b/README.md
index 537b040d..c5b4ebf8 100644
--- a/README.md
+++ b/README.md
@@ -40,7 +40,7 @@ This project is released under the [Apache 2.0 license](LICENSE).
 
 ## Changelog
 
-v2.1.0 was released in 8/6/2020.
+v2.2.0 was released in 1/7/2020.
 Please refer to [changelog.md](docs/changelog.md) for details and release history.
 A comparison between v1.x and v2.0 codebases can be found in [compatibility.md](docs/compatibility.md).
 
diff --git a/docs/changelog.md b/docs/changelog.md
index bdff4be3..ad2c36de 100644
--- a/docs/changelog.md
+++ b/docs/changelog.md
@@ -1,5 +1,51 @@
 ## Changelog
 
+### v2.2.0 (1/7/2020)
+
+**Highlights**
+- Support new methods: [DetectoRS](https://arxiv.org/abs/2006.02334), [PointRend](https://arxiv.org/abs/1912.08193), [Generalized Focal Loss](https://arxiv.org/abs/2006.04388), [Dynamic R-CNN](https://arxiv.org/abs/2004.06002)
+
+**Bug Fixes**
+ - Fix FreeAnchor when no gt in image (#3176)
+ - Clean up deprecated usage of `register_module()` (#3092, #3161)
+ - Fix pretrain bug in NAS FCOS (#3145)
+ - Fix `num_classes` in SSD (#3142)
+ - Fix FCOS warmup (#3119)
+ - Fix `rstrip` in `tools/publish_model.py`
+ - Fix `flip_ratio` default value in RandomFLip pipeline (#3106)
+ - Fix cityscapes eval with ms_rcnn (#3112)
+ - Fix RPN softmax (#3056)
+ - Fix filename of LVIS@v0.5 (#2998)
+ - Fix nan loss by filtering out-of-frame gt_bboxes in COCO (#2999)
+ - Fix bug in FSAF (#3018)
+ - Add FocalLoss `num_classes` check (#2964)
+ - Fix PISA Loss when there are no gts (#2992)
+ - Avoid nan in `iou_calculator` (#2975)
+ - Prevent possible bugs in loading and transforms caused by shallow copy (#2967)
+
+**New Features**
+- Add DetectoRS (#3064)
+- Support Generalize Focal Loss (#3097)
+- Support PointRend (#2752)
+- Support Dynamic R-CNN (#3040)
+- Add DeepFashion dataset (#2968)
+- Implement FCOS training tricks (#2935)
+- Use BaseDenseHead as base class for anchor-base heads (#2963)
+- Add `with_cp` for BasicBlock (#2891)
+- Add `stem_channles` argument for ResNet (#2954)
+
+**Improvements**
+
+- Add anchor free base head (#2867)
+- Migrate to github action (#3137)
+- Add docstring for datasets, pipelines, core modules and methods (#3130, #3125, #3120)
+- Add VOC benchmark (#3060)
+- Add `concat` mode in GRoI (#3098)
+- Remove cmd arg `autorescale-lr` (#3080)
+- Use `len(data['img_metas'])` to indicate `num_samples` (#3073, #3053)
+- Switch to EpochBasedRunner (#2976)
+
+
 ### v2.1.0 (8/6/2020)
 
 **Highlights**
diff --git a/mmdet/VERSION b/mmdet/VERSION
index 7ec1d6db..ccbccc3d 100644
--- a/mmdet/VERSION
+++ b/mmdet/VERSION
@@ -1 +1 @@
-2.1.0
+2.2.0
diff --git a/requirements/runtime.txt b/requirements/runtime.txt
index 192f1870..4ce2d806 100644
--- a/requirements/runtime.txt
+++ b/requirements/runtime.txt
@@ -1,5 +1,5 @@
 matplotlib
-mmcv>=0.6.0
+mmcv>=0.6.2
 numpy
 # need older pillow until torchvision is fixed
 Pillow<=6.2.2
-- 
GitLab