Bump version to 0.6.1 (#1249)

* Bump version to 0.6.1

* update version limit

* update

* update date

* update
pull/1256/head v0.6.1
Tong Gao 2022-08-04 14:01:27 +08:00 committed by GitHub
parent ef4c5d7870
commit e5f071afb8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 93 additions and 15 deletions

View File

@ -70,12 +70,11 @@ The main branch works with **PyTorch 1.6+**.
## What's New ## What's New
v0.6.0 was released in 2022-05-05. v0.6.1 was released in 2022-08-04.
1. We support [MASTER](https://arxiv.org/abs/1910.02562) and [DBNet++](https://arxiv.org/abs/2202.10304) now! 1. ArT dataset is available for text detection and recognition!
2. Three dataset converters are added: LSVT, RCTW, and HierText. 2. Fix several bugs that affects the correctness of the models.
3. MMOCR now can load data from LMDB dataset. [Doc](https://mmocr.readthedocs.io/en/latest/tools.html#convert-text-recognition-dataset-to-lmdb-format) 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.
4. We provide a script to convert .json labels obtained by **Labelme** into MMOCR-supported data format.
Read [Changelog](https://mmocr.readthedocs.io/en/latest/changelog.html) for more details! Read [Changelog](https://mmocr.readthedocs.io/en/latest/changelog.html) for more details!

View File

@ -71,12 +71,11 @@ MMOCR 的模块化设计使用户可以定义自己的优化器,数据预处
## 最新进展 ## 最新进展
最新的月度版本 v0.6.0 在 2022.05.05 发布。 最新的月度版本 v0.6.1 在 2022.08.04 发布。
1. 支持了两个新模型:[MASTER](https://arxiv.org/abs/1910.02562) 和 [DBNet++](https://arxiv.org/abs/2202.10304) 1. 对文本检测和识别任务,新支持了 ArT 数据集。
2. 新支持了三个数据集LSVT, RCTW 和 HierText 2. 修复了多个可能影响模型正确性的错误。
3. 支持从 LMDB 数据集读取数据 [查看文档](https://mmocr.readthedocs.io/en/latest/tools.html#convert-text-recognition-dataset-to-lmdb-format) 3. 使用 MIM 对安装步骤进行了简化,我们的[安装文档](https://mmocr.readthedocs.io/zh_CN/latest/install.html)亦有了同步更新。
4. 提供了 Labelme 数据格式转换脚本,可使 MMOCR 支持由 Labelme 标注的数据
阅读[更新日志](https://mmocr.readthedocs.io/en/latest/changelog.html)以获取更多信息。 阅读[更新日志](https://mmocr.readthedocs.io/en/latest/changelog.html)以获取更多信息。

View File

@ -1,5 +1,83 @@
# Changelog # Changelog
## 0.6.1 (04/08/2022)
### Highlights
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.
### New Features & Enhancements
- Add ArT by @xinke-wang in https://github.com/open-mmlab/mmocr/pull/1006
- add ABINet_Vision api by @Abdelrahman350 in https://github.com/open-mmlab/mmocr/pull/1041
- add codespell ignore and use mdformat by @Harold-lkk in https://github.com/open-mmlab/mmocr/pull/1022
- Add mim to extras_requrie to setup.py, update mminstall… by @gaotongxiao in https://github.com/open-mmlab/mmocr/pull/1062
- Simplify normalized edit distance calculation by @maxbachmann in https://github.com/open-mmlab/mmocr/pull/1060
- Test mim in CI by @gaotongxiao in https://github.com/open-mmlab/mmocr/pull/1090
- Remove redundant steps by @gaotongxiao in https://github.com/open-mmlab/mmocr/pull/1091
* Update links to SDMGR links by @gaotongxiao in https://github.com/open-mmlab/mmocr/pull/1252
### Bug Fixes
- Remove unnecessary requirements by @gaotongxiao in https://github.com/open-mmlab/mmocr/pull/1000
- Remove confusing img_scales in pipelines by @gaotongxiao in https://github.com/open-mmlab/mmocr/pull/1007
- inplace operator "+=" will cause RuntimeError when model backward by @garvan2021 in https://github.com/open-mmlab/mmocr/pull/1018
- Fix a typo problem in MASTER by @Mountchicken in https://github.com/open-mmlab/mmocr/pull/1031
- Fix config name of MASTER in ocr.py by @Mountchicken in https://github.com/open-mmlab/mmocr/pull/1044
- Relax OpenCV requirement by @gaotongxiao in https://github.com/open-mmlab/mmocr/pull/1061
- Restrict the minimum version of OpenCV to avoid potential vulnerability by @gaotongxiao in https://github.com/open-mmlab/mmocr/pull/1065
- typo by @tpoisonooo in https://github.com/open-mmlab/mmocr/pull/1024
- Fix a typo in setup.py by @gaotongxiao in https://github.com/open-mmlab/mmocr/pull/1095
- fix #1067: add torchserve DockerFile and fix bugs by @Hegelim in https://github.com/open-mmlab/mmocr/pull/1073
- Incorrect filename in labelme_converter.py by @xiefeifeihu in https://github.com/open-mmlab/mmocr/pull/1103
- Fix dataset configs by @Mountchicken in https://github.com/open-mmlab/mmocr/pull/1106
- Fix #1098: normalize text recognition scores by @Hegelim in https://github.com/open-mmlab/mmocr/pull/1119
- Update ST_SA_MJ_train.py by @MingyuLau in https://github.com/open-mmlab/mmocr/pull/1117
- PSENet metafile by @gaotongxiao in https://github.com/open-mmlab/mmocr/pull/1121
- Flexible ways of getting file name by @balandongiv in https://github.com/open-mmlab/mmocr/pull/1107
- Updating edge-embeddings after each GNN layer by @amitbcp in https://github.com/open-mmlab/mmocr/pull/1134
- links update by @TekayaNidham in https://github.com/open-mmlab/mmocr/pull/1141
- bug fix: access params by cfg.get by @doem97 in https://github.com/open-mmlab/mmocr/pull/1145
- Fix a bug in LmdbAnnFileBackend that cause breaking in Synthtext detection training by @Mountchicken in https://github.com/open-mmlab/mmocr/pull/1159
- Fix typo of --lmdb-map-size default value by @easilylazy in https://github.com/open-mmlab/mmocr/pull/1147
- Fixed docstring syntax error of line 19 & 21 by @APX103 in https://github.com/open-mmlab/mmocr/pull/1157
- Update lmdb_converter and ct80 cropped image source in document by @doem97 in https://github.com/open-mmlab/mmocr/pull/1164
- MMCV compatibility due to outdated MMDet by @gaotongxiao in https://github.com/open-mmlab/mmocr/pull/1192
- Update maximum version of mmcv by @xinke-wang in https://github.com/open-mmlab/mmocr/pull/1219
- Update ABINet links for main by @Mountchicken in https://github.com/open-mmlab/mmocr/pull/1221
- Update owners by @gaotongxiao in https://github.com/open-mmlab/mmocr/pull/1248
- Add back some missing fields in configs by @gaotongxiao in https://github.com/open-mmlab/mmocr/pull/1171
### Docs
- Fix typos by @xinke-wang in https://github.com/open-mmlab/mmocr/pull/1001
- Configure Myst-parser to parse anchor tag by @gaotongxiao in https://github.com/open-mmlab/mmocr/pull/1012
- Fix a error in docs/en/tutorials/dataset_types.md by @Mountchicken in https://github.com/open-mmlab/mmocr/pull/1034
- Update readme according to the guideline by @gaotongxiao in https://github.com/open-mmlab/mmocr/pull/1047
- Limit markdown version by @gaotongxiao in https://github.com/open-mmlab/mmocr/pull/1172
- Limit extension versions by @Mountchicken in https://github.com/open-mmlab/mmocr/pull/1210
* Update installation guide by @gaotongxiao in https://github.com/open-mmlab/mmocr/pull/1254
* Update image link @gaotongxiao in https://github.com/open-mmlab/mmocr/pull/1255
### New Contributors
- @tpoisonooo made their first contribution in https://github.com/open-mmlab/mmocr/pull/1024
- @Abdelrahman350 made their first contribution in https://github.com/open-mmlab/mmocr/pull/1041
- @Hegelim made their first contribution in https://github.com/open-mmlab/mmocr/pull/1073
- @xiefeifeihu made their first contribution in https://github.com/open-mmlab/mmocr/pull/1103
- @MingyuLau made their first contribution in https://github.com/open-mmlab/mmocr/pull/1117
- @balandongiv made their first contribution in https://github.com/open-mmlab/mmocr/pull/1107
- @amitbcp made their first contribution in https://github.com/open-mmlab/mmocr/pull/1134
- @TekayaNidham made their first contribution in https://github.com/open-mmlab/mmocr/pull/1141
- @easilylazy made their first contribution in https://github.com/open-mmlab/mmocr/pull/1147
- @APX103 made their first contribution in https://github.com/open-mmlab/mmocr/pull/1157
**Full Changelog**: https://github.com/open-mmlab/mmocr/compare/v0.6.0...v0.6.1
## 0.6.0 (05/05/2022) ## 0.6.0 (05/05/2022)
### Highlights ### Highlights

View File

@ -215,6 +215,7 @@ MMOCR has different version requirements on MMCV and MMDetection at each release
| MMOCR | MMCV | MMDetection | | MMOCR | MMCV | MMDetection |
| ------------ | ------------------------ | --------------------------- | | ------------ | ------------------------ | --------------------------- |
| main | 1.3.8 \<= mmcv \<= 1.7.0 | 2.21.0 \<= mmdet \<= 3.0.0 | | 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.0 | 1.3.8 \<= mmcv \<= 1.6.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.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 | | 0.4.0, 0.4.1 | 1.3.8 \<= mmcv \<= 1.5.0 | 2.14.0 \<= mmdet \<= 2.20.0 |

View File

@ -216,6 +216,7 @@ docker run --gpus all --shm-size=8g -it -v {实际数据目录}:/mmocr/data mmoc
| MMOCR | MMCV | MMDetection | | MMOCR | MMCV | MMDetection |
| ------------ | ------------------------ | --------------------------- | | ------------ | ------------------------ | --------------------------- |
| main | 1.3.8 \<= mmcv \<= 1.7.0 | 2.21.0 \<= mmdet \<= 3.0.0 | | 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.0 | 1.3.8 \<= mmcv \<= 1.6.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.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 | | 0.4.0, 0.4.1 | 1.3.8 \<= mmcv \<= 1.5.0 | 2.14.0 \<= mmdet \<= 2.20.0 |

View File

@ -51,7 +51,7 @@ mmcv_maximum_version = '1.7.0'
mmcv_version = digit_version(mmcv.__version__) mmcv_version = digit_version(mmcv.__version__)
assert (mmcv_version >= digit_version(mmcv_minimum_version) assert (mmcv_version >= digit_version(mmcv_minimum_version)
and mmcv_version <= digit_version(mmcv_maximum_version)), \ and mmcv_version < digit_version(mmcv_maximum_version)), \
f'MMCV {mmcv.__version__} is incompatible with MMOCR {__version__}. ' \ f'MMCV {mmcv.__version__} is incompatible with MMOCR {__version__}. ' \
f'Please use MMCV >= {mmcv_minimum_version}, ' \ f'Please use MMCV >= {mmcv_minimum_version}, ' \
f'<= {mmcv_maximum_version} instead.' f'<= {mmcv_maximum_version} instead.'
@ -61,7 +61,7 @@ mmdet_maximum_version = '3.0.0'
mmdet_version = digit_version(mmdet.__version__) mmdet_version = digit_version(mmdet.__version__)
assert (mmdet_version >= digit_version(mmdet_minimum_version) assert (mmdet_version >= digit_version(mmdet_minimum_version)
and mmdet_version <= digit_version(mmdet_maximum_version)), \ and mmdet_version < digit_version(mmdet_maximum_version)), \
f'MMDetection {mmdet.__version__} is incompatible ' \ f'MMDetection {mmdet.__version__} is incompatible ' \
f'with MMOCR {__version__}. ' \ f'with MMOCR {__version__}. ' \
f'Please use MMDetection >= {mmdet_minimum_version}, ' \ f'Please use MMDetection >= {mmdet_minimum_version}, ' \

View File

@ -1,4 +1,4 @@
# Copyright (c) Open-MMLab. All rights reserved. # Copyright (c) Open-MMLab. All rights reserved.
__version__ = '0.6.0' __version__ = '0.6.1'
short_version = __version__ short_version = __version__

View File

@ -1,2 +1,2 @@
mmcv-full>=1.3.8 mmcv-full>=1.3.8,<1.7.0
mmdet>=2.21.0 mmdet>=2.21.0,<3.0.0