From 2fc106477326e63daa206e15cab5be556b8e4bc2 Mon Sep 17 00:00:00 2001 From: erenzhou <592267829@qq.com> Date: Thu, 28 Apr 2022 10:41:14 +0800 Subject: [PATCH 1/4] update --- README.md | 6 +++--- README_zh-CN.md | 6 +++--- docs/en/changelog.md | 35 +++++++++++++++++++++++++++++++++++ mmrotate/version.py | 2 +- 4 files changed, 42 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index db09c8778..5b8fab97c 100644 --- a/README.md +++ b/README.md @@ -64,10 +64,10 @@ https://user-images.githubusercontent.com/10410257/154433305-416d129b-60c8-44c7- ## Changelog -**0.2.0** was released in 30/3/2022: +**0.3.0** was released in 29/4/2022: + +- Support Rotated ATSS-OBB (CVPR'20) (#179) -- Support Circular Smooth Label (CSL, ECCV'20) (#153) -- Add [browse_dataset](tools/misc/browse_dataset.py) tool (#98) Please refer to [changelog.md](docs/en/changelog.md) for details and release history. diff --git a/README_zh-CN.md b/README_zh-CN.md index fe188147f..1a166e205 100644 --- a/README_zh-CN.md +++ b/README_zh-CN.md @@ -61,10 +61,10 @@ https://user-images.githubusercontent.com/10410257/154433305-416d129b-60c8-44c7- ## 更新日志 -最新的 **0.2.0** 版本已经在 2022.03.14 发布: +最新的 **0.3.0** 版本已经在 2022.04.29 发布: + +- 支持了 Rotated ATSS-OBB (CVPR'20) 模型 (#179) -- 支持了 Circular Sommth Label (CSL, ECCV'20) 模型 (#153) -- 增加了[数据集浏览工具](tools/misc/browse_dataset.py) (#98) 如果想了解更多版本更新细节和历史信息,请阅读[更新日志](docs/en/changelog.md)。 diff --git a/docs/en/changelog.md b/docs/en/changelog.md index f2a91c557..40fa3939e 100644 --- a/docs/en/changelog.md +++ b/docs/en/changelog.md @@ -1,5 +1,40 @@ ## Changelog +### v0.3.0 (29/4/2022) + +#### Highlight + +- Support TorchServe (#179) +- Support Rotated ATSS (CVPR'20) (#179) + +#### New Features + +- Update performance of ReDet on HRSC2016. (#203) +- Upgrage visualization to custom colors of different classes (#187) +- Update Stable KLD, which solve the Nan issue of KLD training. (#183) +- Add dataloader arguments in config (#215) +- Add [get_flops](tools/analysis_tools/get_flops.py) tool (#176) + +#### Bug Fixes + +- Fix bug about rotated anchor inside flags. (#197) +- Fix Nan issue of GWD. (#206) +- Fix bug in eval_rbbox_map when labels_ignore is None. (#209) +- 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) + +#### Improvements + +- Update the introduction of SASM (AAAI'22) (#184) +- Fix doc typo in Config File and Model Zoo. (#199) +- Unified RBox definition in doc. (#234) + +#### Contributors + +A total of 7 developers contributed to this release. +Thanks @nijkah @GamblerZSY @liuyanyi @yangxue0827 @jbwang1997 @zytx121 @ZwwWayne + ### v0.2.0 (30/3/2022) #### New Features diff --git a/mmrotate/version.py b/mmrotate/version.py index 277ceeea9..83054ed42 100644 --- a/mmrotate/version.py +++ b/mmrotate/version.py @@ -1,6 +1,6 @@ # Copyright (c) OpenMMLab. All rights reserved. -__version__ = '0.2.0' +__version__ = '0.3.0' short_version = __version__ From 4114446a330e33d8a67cd03e3dff10ef386eb987 Mon Sep 17 00:00:00 2001 From: erenzhou <592267829@qq.com> Date: Thu, 28 Apr 2022 10:50:27 +0800 Subject: [PATCH 2/4] fix --- README.md | 4 ++-- README_zh-CN.md | 1 + docs/en/changelog.md | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 5b8fab97c..6682a2958 100644 --- a/README.md +++ b/README.md @@ -66,8 +66,8 @@ https://user-images.githubusercontent.com/10410257/154433305-416d129b-60c8-44c7- **0.3.0** was released in 29/4/2022: -- Support Rotated ATSS-OBB (CVPR'20) (#179) - +- Support TorchServe (#160) +- Support Rotated ATSS (CVPR'20) (#179) Please refer to [changelog.md](docs/en/changelog.md) for details and release history. diff --git a/README_zh-CN.md b/README_zh-CN.md index 1a166e205..9a9e51f31 100644 --- a/README_zh-CN.md +++ b/README_zh-CN.md @@ -63,6 +63,7 @@ https://user-images.githubusercontent.com/10410257/154433305-416d129b-60c8-44c7- 最新的 **0.3.0** 版本已经在 2022.04.29 发布: +- 支持了 TorchServe (#160) - 支持了 Rotated ATSS-OBB (CVPR'20) 模型 (#179) diff --git a/docs/en/changelog.md b/docs/en/changelog.md index 40fa3939e..eded52281 100644 --- a/docs/en/changelog.md +++ b/docs/en/changelog.md @@ -4,7 +4,7 @@ #### Highlight -- Support TorchServe (#179) +- Support TorchServe (#160) - Support Rotated ATSS (CVPR'20) (#179) #### New Features From c0a5620d62ab72c42f90f729a93a3e2395b8aa79 Mon Sep 17 00:00:00 2001 From: erenzhou <592267829@qq.com> Date: Thu, 28 Apr 2022 10:55:59 +0800 Subject: [PATCH 3/4] Update changelog.md --- docs/en/changelog.md | 53 +++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 52 insertions(+), 1 deletion(-) diff --git a/docs/en/changelog.md b/docs/en/changelog.md index eded52281..ae2abfa41 100644 --- a/docs/en/changelog.md +++ b/docs/en/changelog.md @@ -12,7 +12,58 @@ - Update performance of ReDet on HRSC2016. (#203) - Upgrage visualization to custom colors of different classes (#187) - Update Stable KLD, which solve the Nan issue of KLD training. (#183) -- Add dataloader arguments in config (#215) +- 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. + + + + + + + + + + + +
Before v0.2.0Since v0.3.0
+ + ```python + data = dict( + samples_per_gpu=2, workers_per_gpu=2, + train=dict(type='xxx', ...), + val=dict(type='xxx', samples_per_gpu=4, ...), + test=dict(type='xxx', ...), + ) + ``` + + + + ```python + # A recommended config that is clear + data = dict( + train=dict(type='xxx', ...), + val=dict(type='xxx', ...), + test=dict(type='xxx', ...), + # Use different batch size during inference. + train_dataloader=dict(samples_per_gpu=2, workers_per_gpu=2), + val_dataloader=dict(samples_per_gpu=4, workers_per_gpu=4), + test_dataloader=dict(samples_per_gpu=4, workers_per_gpu=4), + ) + + # Old style still works but allows to set more arguments about data loaders + data = dict( + samples_per_gpu=2, # only works for train_dataloader + workers_per_gpu=2, # only works for train_dataloader + train=dict(type='xxx', ...), + val=dict(type='xxx', ...), + test=dict(type='xxx', ...), + # Use different batch size during inference. + val_dataloader=dict(samples_per_gpu=4, workers_per_gpu=4), + test_dataloader=dict(samples_per_gpu=4, workers_per_gpu=4), + ) + ``` + +
- Add [get_flops](tools/analysis_tools/get_flops.py) tool (#176) #### Bug Fixes From 427c2b2d103fe08be6c71c521d43e55d2a1c83cd Mon Sep 17 00:00:00 2001 From: erenzhou <592267829@qq.com> Date: Fri, 29 Apr 2022 11:57:59 +0800 Subject: [PATCH 4/4] Update changelog.md --- docs/en/changelog.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/en/changelog.md b/docs/en/changelog.md index ae2abfa41..798b369c8 100644 --- a/docs/en/changelog.md +++ b/docs/en/changelog.md @@ -77,6 +77,7 @@ #### Improvements +- Update citation of mmrotate in README.md (#263) - Update the introduction of SASM (AAAI'22) (#184) - Fix doc typo in Config File and Model Zoo. (#199) - Unified RBox definition in doc. (#234)