From 85f34730083f4cdca823bc794130d839d4e6d71b Mon Sep 17 00:00:00 2001 From: Tong Gao Date: Fri, 14 Oct 2022 14:17:26 +0800 Subject: [PATCH] Bump version to 0.6.2 (#1450) * Bump version to 0.6.2 * fix ci * fix * update date and 1.0 version --- .circleci/test.yml | 2 +- README.md | 11 +++++----- README_zh-CN.md | 11 +++++----- docs/en/changelog.md | 50 +++++++++++++++++++++++++++++++++++++++++++ docs/en/conf.py | 1 + docs/en/install.md | 2 +- docs/zh_cn/conf.py | 1 + docs/zh_cn/install.md | 2 +- mmocr/version.py | 2 +- 9 files changed, 68 insertions(+), 14 deletions(-) diff --git a/.circleci/test.yml b/.circleci/test.yml index adfa279f4..5318dd044 100644 --- a/.circleci/test.yml +++ b/.circleci/test.yml @@ -50,7 +50,7 @@ jobs: name: Install Libraries command: | sudo apt-get update - sudo apt-get install -y ninja-build libglib2.0-0 libsm6 libxrender-dev libxext6 libgl1-mesa-glx libjpeg-dev zlib1g-dev libtinfo-dev libncurses5 + sudo apt-get install -y ninja-build libglib2.0-0 libsm6 libxrender-dev libxext6 libgl1-mesa-glx libjpeg-dev zlib1g-dev libtinfo-dev libncurses5 libgeos-dev - run: name: Configure Python & pip command: | diff --git a/README.md b/README.md index e6642b900..507f1bf15 100644 --- a/README.md +++ b/README.md @@ -71,19 +71,20 @@ The main branch works with **PyTorch 1.6+**. ## What's New +While the stable version (0.6.2) and the preview version (1.0.0) are being maintained concurrently now, the former version will be deprecated by the end of 2022. Therefore, we recommend users upgrade to [MMOCR 1.0](https://github.com/open-mmlab/mmocr/tree/1.x) to fruitful new features and better performance brought by the new architecture. Check out our [maintenance plan](https://mmocr.readthedocs.io/en/dev-1.x/migration/overview.html) for how we will maintain them in the future. + ### 💎 Stable version -v0.6.1 was released in 2022-08-04. +v0.6.2 was released in 2022-10-14. -1. ArT dataset is available for text detection and recognition! -2. Fix several bugs that affects the correctness of the models. -3. Thanks to [MIM](https://github.com/open-mmlab/mim), our installation is much simpler now! The [docs](https://mmocr.readthedocs.io/en/latest/install.html) has been renewed as well. +1. It's now possible to train/test models through Python Interface. +2. ResizeOCR now fully supports all the parameters in mmcv.impad. Read [Changelog](https://mmocr.readthedocs.io/en/latest/changelog.html) for more details! ### 🌟 Preview of 1.x version -A brand new version of **MMOCR v1.0.0rc0** was released in 2022-09-01: +A brand new version of **MMOCR v1.0.0rc2** was released in 2022-10-14: 1. **New engines**. MMOCR 1.x is based on [MMEngine](https://github.com/open-mmlab/mmengine), which provides a general and powerful runner that allows more flexible customizations and significantly simplifies the entrypoints of high-level interfaces. diff --git a/README_zh-CN.md b/README_zh-CN.md index 38eceeb44..121307b89 100644 --- a/README_zh-CN.md +++ b/README_zh-CN.md @@ -72,19 +72,20 @@ MMOCR 的模块化设计使用户可以定义自己的优化器,数据预处 ## 最新进展 +目前我们正同步维护稳定版 (0.6.2) 和预览版 (1.0.0) 的 MMOCR,但稳定版会在 2022 年末开始逐步停止维护。我们建议用户尽早升级至 [MMOCR 1.0](https://github.com/open-mmlab/mmocr/tree/1.x),以享受到由新架构带来的更多新特性和更佳的性能表现。阅读我们的[维护计划](https://mmocr.readthedocs.io/zh_CN/dev-1.x/migration/overview.html)以了解更多信息。 + ### 💎 稳定版本 -最新的月度版本 v0.6.1 在 2022.08.04 发布。 +最新的月度版本 v0.6.2 在 2022.10.14 发布。 -1. 对文本检测和识别任务,新支持了 ArT 数据集。 -2. 修复了多个可能影响模型正确性的错误。 -3. 使用 MIM 对安装步骤进行了简化,我们的[安装文档](https://mmocr.readthedocs.io/zh_CN/latest/install.html)亦有了同步更新。 +1. 支持在 Python 内直接训练和测试模型。 +2. ResizeOCR 支持了 mmcv.impad 的所有参数。 阅读[更新日志](https://mmocr.readthedocs.io/en/latest/changelog.html)以获取更多信息。 ### 🌟 1.x 预览版本 -全新的 **v1.0.0rc0** 版本已经在 2022.09.01 发布: +全新的 **v1.0.0rc2** 版本已经在 2022.10.14 发布: 1. 架构升级:MMOCR 1.x 是基于 [MMEngine](https://github.com/open-mmlab/mmengine),提供了一个通用的、强大的执行器,允许更灵活的定制,提供了统一的训练和测试入口。 diff --git a/docs/en/changelog.md b/docs/en/changelog.md index 6c94a29ed..4da3a5da6 100644 --- a/docs/en/changelog.md +++ b/docs/en/changelog.md @@ -1,5 +1,55 @@ # Changelog +## 0.6.2 (14/10/2022) + +### Highlights + +It's now possible to train/test models through Python Interface. For example, you can train a model under mmocr/ directory in this way: + +```python +# an example of how to use such modifications is shown as the following: +from mmocr.tools.train import TrainArg, parse_args, run_train_cmd +args = TrainArg(config='/path/to/config.py') +args.add_arg('--work-dir', '/path/to/dir') +args = parse_args(args.arg_list) +run_train_cmd(args) +``` + +See PR [#1138](https://github.com/open-mmlab/mmocr/pull/1138) for more details. + +Besides, release candidates for MMOCR 1.0 with tons of new features are available at [1.x branch](https://github.com/open-mmlab/mmocr/tree/1.x) now! Check out the [changelog](https://mmocr.readthedocs.io/en/dev-1.x/notes/changelog.html) for more information about the features, and [maintenance plan](https://mmocr.readthedocs.io/en/dev-1.x/migration/overview.html) for how we will maintain MMOCR in the future. + +### New Features + +- Adding test & train API to be used directly in code by @wybryan in https://github.com/open-mmlab/mmocr/pull/1138 +- Let ResizeOCR full support mmcv.impad's pad_val parameters by @hsiehpinghan in https://github.com/open-mmlab/mmocr/pull/1437 + +### Bug Fixes + +- Fix ABINet config by @gaotongxiao in https://github.com/open-mmlab/mmocr/pull/1256 +- Fix Recognition Score Normalization Issue by @xinke-wang in https://github.com/open-mmlab/mmocr/pull/1333 +- Remove max_seq_len inconsistency by @antoniolanza1996 in https://github.com/open-mmlab/mmocr/pull/1433 +- box points ordering by @yjmm10 in https://github.com/open-mmlab/mmocr/pull/1205 +- Correct spelling by misspelling 'preperties' to 'properties' by @JunYao1020 in https://github.com/open-mmlab/mmocr/pull/1446 + +### Docs + +- Demo, experiments and live inference API on Tiyaro by @Venkat2811 in https://github.com/open-mmlab/mmocr/pull/1272 +- Update 1.x info by @Harold-lkk in https://github.com/open-mmlab/mmocr/pull/1369 +- Add global notes to the docs and the version switcher menu by @gaotongxiao in https://github.com/open-mmlab/mmocr/pull/1406 +- Logger Hook Config Updated to Add WandB by @Nourollah in https://github.com/open-mmlab/mmocr/pull/1345 + +### New Contributors + +- @Venkat2811 made their first contribution in https://github.com/open-mmlab/mmocr/pull/1272 +- @wybryan made their first contribution in https://github.com/open-mmlab/mmocr/pull/1139 +- @hsiehpinghan made their first contribution in https://github.com/open-mmlab/mmocr/pull/1437 +- @yjmm10 made their first contribution in https://github.com/open-mmlab/mmocr/pull/1205 +- @JunYao1020 made their first contribution in https://github.com/open-mmlab/mmocr/pull/1446 +- @Nourollah made their first contribution in https://github.com/open-mmlab/mmocr/pull/1345 + +**Full Changelog**: https://github.com/open-mmlab/mmocr/compare/v0.6.1...v0.6.2 + ## 0.6.1 (04/08/2022) ### Highlights diff --git a/docs/en/conf.py b/docs/en/conf.py index 70df03e70..e9da94dc8 100644 --- a/docs/en/conf.py +++ b/docs/en/conf.py @@ -134,6 +134,7 @@ 'will soon be deprecated by the end of 2022. We recommend you upgrade ' 'to MMOCR 1.0 to enjoy fruitful new features and better performance ' ' brought by OpenMMLab 2.0. Check out the ' + 'maintenance plan, ' # noqa 'changelog, ' # noqa 'code ' # noqa 'and documentation of MMOCR 1.0 for more details.', # noqa diff --git a/docs/en/install.md b/docs/en/install.md index 152bb26c7..f4ac59cef 100644 --- a/docs/en/install.md +++ b/docs/en/install.md @@ -215,7 +215,7 @@ MMOCR has different version requirements on MMCV and MMDetection at each release | MMOCR | MMCV | MMDetection | | ------------ | ------------------------ | --------------------------- | | main | 1.3.8 \<= mmcv \<= 1.7.0 | 2.21.0 \<= mmdet \<= 3.0.0 | -| 0.6.1 | 1.3.8 \<= mmcv \<= 1.7.0 | 2.21.0 \<= mmdet \<= 3.0.0 | +| 0.6.1, 0.6.2 | 1.3.8 \<= mmcv \<= 1.7.0 | 2.21.0 \<= mmdet \<= 3.0.0 | | 0.6.0 | 1.3.8 \<= mmcv \<= 1.6.0 | 2.21.0 \<= mmdet \<= 3.0.0 | | 0.5.0 | 1.3.8 \<= mmcv \<= 1.5.0 | 2.14.0 \<= mmdet \<= 3.0.0 | | 0.4.0, 0.4.1 | 1.3.8 \<= mmcv \<= 1.5.0 | 2.14.0 \<= mmdet \<= 2.20.0 | diff --git a/docs/zh_cn/conf.py b/docs/zh_cn/conf.py index 4afb8a392..ef6078155 100644 --- a/docs/zh_cn/conf.py +++ b/docs/zh_cn/conf.py @@ -135,6 +135,7 @@ '您正在阅读 MMOCR 0.x 版本的文档。MMOCR 0.x 会在 2022 年末开始' '逐步停止维护,建议您及时升级到 MMOCR 1.0 版本,享受由 OpenMMLab ' '2.0 带来的更多新特性和更佳的性能表现。阅读 MMOCR 1.0 的' + '维护计划、 ' # noqa '发版日志、 ' # noqa '代码 ' # noqa '和 文档 以了解更多。', # noqa diff --git a/docs/zh_cn/install.md b/docs/zh_cn/install.md index 50ff23af6..0f5a1ae73 100644 --- a/docs/zh_cn/install.md +++ b/docs/zh_cn/install.md @@ -216,7 +216,7 @@ docker run --gpus all --shm-size=8g -it -v {实际数据目录}:/mmocr/data mmoc | MMOCR | MMCV | MMDetection | | ------------ | ------------------------ | --------------------------- | | main | 1.3.8 \<= mmcv \<= 1.7.0 | 2.21.0 \<= mmdet \<= 3.0.0 | -| v0.6.1 | 1.3.8 \<= mmcv \<= 1.7.0 | 2.21.0 \<= mmdet \<= 3.0.0 | +| 0.6.1, 0.6.2 | 1.3.8 \<= mmcv \<= 1.7.0 | 2.21.0 \<= mmdet \<= 3.0.0 | | 0.6.0 | 1.3.8 \<= mmcv \<= 1.6.0 | 2.21.0 \<= mmdet \<= 3.0.0 | | 0.5.0 | 1.3.8 \<= mmcv \<= 1.5.0 | 2.14.0 \<= mmdet \<= 3.0.0 | | 0.4.0, 0.4.1 | 1.3.8 \<= mmcv \<= 1.5.0 | 2.14.0 \<= mmdet \<= 2.20.0 | diff --git a/mmocr/version.py b/mmocr/version.py index 09efe1853..9fb1cd80a 100644 --- a/mmocr/version.py +++ b/mmocr/version.py @@ -1,4 +1,4 @@ # Copyright (c) Open-MMLab. All rights reserved. -__version__ = '0.6.1' +__version__ = '0.6.2' short_version = __version__