Commit Graph

580 Commits (0f041d425061151c49c89d01341bd99fb82cfd79)
 

Author SHA1 Message Date
Hongbin Sun 428688102d
[Fix] Use RECOGNIZER instead of DETECTORS (#685)
* use recognizer

* rm useless
2022-03-04 16:20:50 +08:00
Xinyu Wang 14c75da7bd
[Feature] Add FUNSD Converter (#808)
* Add FUNSD Converter

* Update tools/data/textrecog/funsd_converter.py

Co-authored-by: Tong Gao <gaotongxiao@gmail.com>

* Update tools/data/textrecog/funsd_converter.py

Co-authored-by: Tong Gao <gaotongxiao@gmail.com>

* Update tools/data/textdet/funsd_converter.py

Co-authored-by: Tong Gao <gaotongxiao@gmail.com>

* blank line between sections

Co-authored-by: Tong Gao <gaotongxiao@gmail.com>

* fix incorrect docstrings

* fix docstrings & fix timer

* add --preserve-vertical arg for preserving vertical texts

* fix --preserve-vertical

* [doc] fix recog.md incorrect description

* fix docstring style

Co-authored-by: Tong Gao <gaotongxiao@gmail.com>

* fix docstring spaces

Co-authored-by: Tong Gao <gaotongxiao@gmail.com>
2022-03-04 12:25:54 +08:00
Tong Gao fb77352eb2
[Fix] Standardize the type of torch.device in ocr.py (#800) 2022-03-03 14:18:33 +08:00
Tong Gao ac4462f374
[Feature] Add CurvedSyntext150k Converter (#719)
* [Feature] Add bezier_to_polygon to box_util

* Add num_sample to parameter

* add sort_point util

* update docstring

* Add curvedsyntext converter
2022-03-02 11:02:14 +08:00
Tong Gao 3110ab7863
[Enhancement] Add windows CI (#790)
* [Enhancement] Add windows CI

* [Enhancement] Add windows CI

* update

* update

* update

* [Fix] using assert will keep lmdb file opend and fail to cleanup in test_loader.py

* [Fix] map size should be small on windows in lmdb_util.py

* [Fix] Fix some bugs

* [Fix] Fix some bugs

* [Fix] Fix some bugs

* remove comments & fix bugs

Co-authored-by: Mountchicken <mountchicken@outlook.com>
2022-03-02 10:34:15 +08:00
DEEPBLUE 186aecbf59
[Docs] Add demo/README_zh.md (#802)
* add README_zh.md

* translate

* rough translation

* refine demo/README_zh.md

* fixes #802

* fix #802

* add README_zh.md

* fixes #802

* Update README_zh.md

* fix white-space problem

* Update demo/README_zh.md

Co-authored-by: Tong Gao <gaotongxiao@gmail.com>

* Update demo/README_zh.md

Co-authored-by: Tong Gao <gaotongxiao@gmail.com>

* fix Readthedocs' keywords @gaotongxiao

* Fix minor errors, rename the file and process this file in the scripts for redthedocs

Co-authored-by: Tong Gao <gaotongxiao@gmail.com>
2022-03-02 09:51:37 +08:00
xinke-wang 466b2ff6a9
[Docs] Update README.MD (#806) 2022-03-01 15:55:02 +08:00
xinke-wang b7a4eac65f
[Enhancement] Add deprecation message for deploy tools (#801)
* Add deprecation message for deploy tools

* move wwarning info to start
2022-02-28 16:22:47 +08:00
Tong Gao 91f98bc645
[Enhancement] Add open-mmlab precommit hook (#787) 2022-02-22 12:52:04 +08:00
Tong Gao 5582e17feb
[Enhancement] Automatically infer device for inference if not speicifed (#781)
* [Enhancement] Automatically infer device for inference if not speicifed

* update docs

* fix unit test
2022-02-16 20:42:47 +08:00
Tong Gao b91421e8b1
[Docs] Add detailed version requirement tables (#778) 2022-02-16 20:42:31 +08:00
Tong Gao 0f5c7d38f8
[Fix] Disable worker in the dataloader of gpu unit test 2022-02-16 20:42:22 +08:00
Tong Gao fc9d73761b
[Fix] Set up the minimumversion requirement of albumentations (#769) 2022-02-15 16:51:58 +08:00
liukuikun 1aae45b7d3
[Docs] Relax mmcv version requirement (#775)
* update ci and readme

* Update docs/en/install.md

* Update docs/zh_cn/install.md

Co-authored-by: Tong Gao <gaotongxiao@gmail.com>
2022-02-10 09:41:36 +08:00
Tong Gao c466e6f82d
[Enhancement] Upgrade isort (#771)
* [Enhancement] Upgrade isort

* Fix files
2022-02-09 23:22:14 +08:00
Hongbin Sun 00ac7ab850
[Enhancement] update mmdet version limit (#773) 2022-02-09 10:25:07 +08:00
GPhilo 9e41054ea4
[Fix]: Use mmdet 2.20.0 in Dockerfile (#763) 2022-01-27 19:54:45 +08:00
Tong Gao a75fc6bf99
Bump version to 0.4.1 (#755)
* 0.4.1 change log

* update version number

* update changelog

* update changelog

* update dates

* update version
2022-01-27 14:39:17 +08:00
liukuikun b054f609b4
[Enhancement] Remove unnecessary custom_import from test.py (#758) 2022-01-27 11:02:16 +08:00
liukuikun e0ff11819b
[Feat] Support specify gpu for testing and training with gpu-id instead of gpu-ids and gpus (#756)
* support set gpu number for testing and deprecate gpu_ids and gpus with gpu_id

* update gpu-ids gpus and gpu-id dostring

* add args.gpus process

* fix typo

Co-authored-by: Tong Gao <gaotongxiao@gmail.com>
2022-01-27 10:11:14 +08:00
Tong Gao a809a52c78
[Feature] Support CPU training/testing (#752)
* [Feature] Support CPU training/testing

* check mmcv version for cpu training
2022-01-27 09:59:09 +08:00
Tong Gao a36de7b48e
[Fix] Add necessary keys to test_pipelines to enable test-time visualization (#754) 2022-01-26 21:02:31 +08:00
liukuikun d871eed79e
[Enhancement] Add setup multi-processing both in train and test. (#757) 2022-01-26 20:34:19 +08:00
Tong Gao 218f9f08d4
[Fix] Use yaml.safe_load instead of load (#753) 2022-01-26 14:29:30 +08:00
liukuikun 976b976e4a
[Docs] update readme according to standard (#742)
* config/readme standard

* add ABINet linking

* fix linking error, delete unused cite and adjust note sytle

* union note format

* Remove > before paper link when generating docs
2022-01-25 23:02:59 +08:00
Tong Gao ad3957bb41
[Enhancement] Speed up training (#739) 2022-01-19 20:14:41 +08:00
yuexy 82488024db [Feature] Add bezier_to_polygon and sort_points to box_util (#703) 2022-01-17 15:26:55 +08:00
liukuikun 2f429d5e40
Extend totaltext converter to support text fields (#728)
* Extend totaltext converter to support text fieldols/

* fix bug

* fix comment typo

Co-authored-by: Tong Gao <gaotongxiao@gmail.com>

Co-authored-by: Tong Gao <gaotongxiao@gmail.com>
2022-01-14 16:00:53 +08:00
liukuikun c736989615
[Feature] Extend ctw1500 converter to support text fields (#729)
* Extend ctw1500 converter to support text fieldols/

* remove args for debug
2022-01-14 15:30:48 +08:00
Tong Gao 9de3348e9a
Add website links to readme (#731) 2022-01-13 12:11:13 +00:00
Hongbin Sun 5176e1bd5a
[Fix] fix link (#726) 2022-01-12 10:25:07 +08:00
Tong Gao 8c5e8c240e
[Enhancement] Disable multi-processing feature of cv2 to speed up data loading (#721) 2022-01-11 12:52:19 +08:00
liukuikun 2f723b17a2
[Enhancement] Deprecate the support for 'python setup.py test' (#722) 2022-01-11 12:49:06 +08:00
Tommy in Tongji fa888303c3
[Fix] Fix the link to Chinese font (#715) 2022-01-07 10:02:00 +08:00
liukuikun d9f2124773
[Fix] limit pycocotools vesion (#707) 2022-01-06 14:36:18 +08:00
liukuikun e255087d11
[Docs] Add pull request template.md (#711) 2022-01-06 14:05:10 +08:00
Tong Gao 94a1de4fdb
[Docs] Update docs link (#710) 2022-01-05 21:44:13 +08:00
Tong Gao a10d56cec9
[Fix] Fix opencv version to avoid some awared bugs (#694)
* [Fix] Fix opencv version to avoid some awared bugs

* relax opencv req
2021-12-31 16:53:55 +08:00
Tong Gao 5d1d159715
[Enhancement] Download flake8 from github as pre-commit hooks (#695) 2021-12-31 14:01:35 +08:00
Tong Gao a0f1c011c0
[Docs] Add model summary (#693)
* Add model summary

* Update text recog jpg

* update pictures and add kie
2021-12-31 11:26:38 +08:00
Hongbin Sun f0d7f14c6d
[Docs] Add MMSelfSup/MMRazor/MMDeploy in readme (#692)
* add projects in readme

* update name
2021-12-30 10:28:46 +08:00
Tong Gao 96beda6f2d
[Docs] Add config tutorial (#683)
* Add config tutorial and reorganize dataset_type.md

* update cn docs toc

* Add misc tool

* Improve docs api menu and config docs
2021-12-28 12:41:24 +08:00
Minghui Liao f66336761c
fix a bug for sar decoder when bi-rnn is used (#690)
* fix bug for sar when bi-rnn is used

* Update sar_decoder.py

fix lint check
2021-12-27 02:43:06 +00:00
Hongbin Sun fb1892a1ae
[Fix] fix bug of show_results in single_gpu_test (#667)
* move single_gpu_test to mmocr/apis

* fix show result in single_gpu_test

* add unittest

* add docstring

* add unittest for kie

* avoid re-define

* remove skipif

* add skip

* fix conflict

* fix with comment

* add note in readme

* update
2021-12-23 03:30:01 +00:00
Hongbin Sun f8dfbd4177
[Fix] Support both ConcatDataset and UniformConcatDataset (#675)
* support UniformConcatDataset

* update

* rm useless

* handle 2d-list datasets
2021-12-22 12:32:02 +00:00
AllentDan abbae7bfd1
fix sartrn onnxruntime test (#679)
* fix satrn test

* disable aug test for deployment test
2021-12-21 13:52:11 +08:00
Hongbin Sun 60dfb2a85b
[Feature] Show edge score for openset kie (#677)
* show edge score for openset kie

* rm duplicate
2021-12-16 18:31:43 +08:00
Tong Gao 22a7d384dd
[Docs] Fix recog.md (#674) 2021-12-15 07:04:41 +00:00
Tong Gao af9a62502c
Bump version to 0.4.0 (#672) 2021-12-15 11:34:56 +08:00
Tong Gao 9104667112
[Model] Full ABINet Framework (#651)
Co-authored-by: liukuikun <24622904+Harold-lkk@users.noreply.github.com>
2021-12-15 11:21:54 +08:00