Skip to content

Commit 6c1347d

Browse files
authored
Bump to v2.9.0 (open-mmlab#4557)
* bump to v2.9.0 * update
1 parent f07de13 commit 6c1347d

File tree

5 files changed

+49
-4
lines changed

5 files changed

+49
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ This project is released under the [Apache 2.0 license](LICENSE).
4242

4343
## Changelog
4444

45-
v2.8.0 was released in 04/01/2021.
45+
v2.9.0 was released in 01/02/2021.
4646
Please refer to [changelog.md](docs/changelog.md) for details and release history.
4747
A comparison between v1.x and v2.0 codebases can be found in [compatibility.md](docs/compatibility.md).
4848

docs/changelog.md

Lines changed: 45 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,49 @@
11
## Changelog
22

3+
### v2.9.0 (01/02/2021)
4+
5+
#### Highlights
6+
7+
- Support new methods: [SCNet](https://arxiv.org/abs/2012.10150), [Sparse R-CNN](https://arxiv.org/abs/2011.12450)
8+
- Move `train_cfg` and `test_cfg` into model in configs
9+
- Support to visualize results based on prediction quality
10+
11+
#### New Features
12+
13+
- Support [SCNet](https://arxiv.org/abs/2012.10150) (#4356)
14+
- Support [Sparse R-CNN](https://arxiv.org/abs/2011.12450) (#4219)
15+
- Support evaluate mAP by multiple IoUs (#4398)
16+
- Support concatenate dataset for testing (#4452)
17+
- Support to visualize results based on prediction quality (#4441)
18+
- Add ONNX simplify option to Pytorch2ONNX script (#4468)
19+
- Add hook for checking compatibility of class numbers in heads and datasets (#4508)
20+
21+
#### Bug Fixes
22+
23+
- Fix CPU inference bug of Cascade RPN (#4410)
24+
- Fix NMS error of CornerNet when there is no prediction box (#4409)
25+
- Fix TypeError in CornerNet inference (#4411)
26+
- Fix bug of PAA when training with background images (#4391)
27+
- Fix the error that the window data is not destroyed when `out_file is not None` and `show==False` (#4442)
28+
- Fix order of NMS `score_factor` that will decrease the performance of YOLOv3 (#4473)
29+
- Fix bug in HTC TTA when the number of detection boxes is 0 (#4516)
30+
- Fix resize error in mask data structures (#4520)
31+
32+
#### Improvements
33+
34+
- Allow to customize classes in LVIS dataset (#4382)
35+
- Add tutorials for building new models with existing datasets (#4396)
36+
- Add CPU compatibility information in documentation (#4405)
37+
- Add documentation of deprecated `ImageToTensor` for batch inference (#4408)
38+
- Add more details in documentation for customizing dataset (#4430)
39+
- Switch `imshow_det_bboxes` visualization backend from OpenCV to Matplotlib (#4389)
40+
- Deprecate `ImageToTensor` in `image_demo.py` (#4400)
41+
- Move train_cfg/test_cfg into model (#4347, #4489)
42+
- Update docstring for `reg_decoded_bbox` option in bbox heads (#4467)
43+
- Update dataset information in documentation (#4525)
44+
- Release pre-trained R50 and R101 PAA detectors with multi-scale 3x training schedules (#4495)
45+
- Add guidance for speed benchmark (#4537)
46+
347
### v2.8.0 (04/01/2021)
448

549
#### Highlights
@@ -121,7 +165,7 @@
121165
#### Backwards Incompatible Changes
122166

123167
**FP16 related methods are imported from mmcv instead of mmdet. (#3766, #3822)**
124-
Mixed precision training utils in `mmdet.core.fp16` are moved to `mmcv.runner`, including `force_fp32`, `auto_fp16`, `wrap_fp16_model`, and `Fp16OptimizerHook`. A deprecation warning will be raised if users attempt to import those methods from `mmdet.core.fp16`, and will be finally removed in V2.8.0.
168+
Mixed precision training utils in `mmdet.core.fp16` are moved to `mmcv.runner`, including `force_fp32`, `auto_fp16`, `wrap_fp16_model`, and `Fp16OptimizerHook`. A deprecation warning will be raised if users attempt to import those methods from `mmdet.core.fp16`, and will be finally removed in V2.10.0.
125169

126170
**[0, N-1] represents foreground classes and N indicates background classes for all models. (#3221)**
127171
Before v2.5.0, the background label for RPN is 0, and N for other heads. Now the behavior is consistent for all models. Thus `self.background_labels` in `dense_heads` is removed and all heads use `self.num_classes` to indicate the class index of background labels.

docs/get_started.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ The compatible MMDetection and MMCV versions are as below. Please install the co
1212
| MMDetection version | MMCV version |
1313
|:-------------------:|:-------------------:|
1414
| master | mmcv-full>=1.2.4, <1.3|
15+
| 2.9.0 | mmcv-full>=1.2.4, <1.3|
1516
| 2.8.0 | mmcv-full>=1.2.4, <1.3|
1617
| 2.7.0 | mmcv-full>=1.1.5, <1.3|
1718
| 2.6.0 | mmcv-full>=1.1.5, <1.3|

docs/tutorials/customize_dataset.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -484,4 +484,4 @@ data = dict(
484484
- Before MMDetection v2.5.0, the dataset will filter out the empty GT images automatically if the classes are set and there is no way to disable that through config. This is an undesirable behavior and introduces confusion because if the classes are not set, the dataset only filter the empty GT images when `filter_empty_gt=True` and `test_mode=False`. After MMDetection v2.5.0, we decouple the image filtering process and the classes modification, i.e., the dataset will only filter empty GT images when `filter_empty_gt=True` and `test_mode=False`, no matter whether the classes are set. Thus, setting the classes only influences the annotations of classes used for training and users could decide whether to filter empty GT images by themselves.
485485
- Since the middle format only has box labels and does not contain the class names, when using `CustomDataset`, users cannot filter out the empty GT images through configs but only do this offline.
486486
- Please remember to modify the `num_classes` in the head when specifying `classes` in dataset. We implemented [NumClassCheckHook](https://github.com/open-mmlab/mmdetection/blob/master/mmdet/datasets/utils.py) to check whether the numbers are consistent since v2.9.0(after PR#4508).
487-
- The features for setting dataset classes and dataset filtering will be refactored to be more user-friendly in v2.8.0 or v2.9.0 (depends on the progress).
487+
- The features for setting dataset classes and dataset filtering will be refactored to be more user-friendly in the future (depends on the progress).

mmdet/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Copyright (c) Open-MMLab. All rights reserved.
22

3-
__version__ = '2.8.0'
3+
__version__ = '2.9.0'
44
short_version = __version__
55

66

0 commit comments

Comments
 (0)