Commit Graph

539 Commits (d669ce2e8286937e1ed16ec9feae6401ce5893f5)
 

Author SHA1 Message Date
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
Hongbin Sun a4237ad568
[Enhancement] Support muitiple pipelines for different datasets (#657)
* support multi pipelines

* support different pipelines

* fix

* fix replace_image_to_tensor

* remove redundant check

* update

* add copyright

* not in-place modify
2021-12-14 12:29:43 +00:00
Hongbin Sun 7874531db3
[Refactor] refactor textdet postprocess (#640)
* refactor textdet postprocess using build_postprocessor

* update docstring

* update docstring

* update postprocess docstring

* compatible with previous configs

* rename to BaseTextDetector

* rename to DRRGPostprocessor

* fix

* update warning

* fix

* fix conflict

* rename back

* rename warpper to utils

* fix doc
2021-12-14 17:35:44 +08:00
Fei Wang f8485208d9
[Enhancement] fix change locals() dict (#663) 2021-12-14 10:43:15 +08:00
Tong Gao d58fac9760
[Docs] Docs fix (#664)
* [Docs] Update readme links

* Fix docs merge script
2021-12-13 19:08:42 +08:00
liukuikun a15da8143d
[CI] Cancel previous runs that are not completed for a given workflow. (#666) 2021-12-13 19:08:23 +08:00
Jianyong Chen 5caa945a8d
fix #614: textsnake targets (#660)
* fix #614: textsnake targets

* fix lint

* add textsnake_targets test cases

* init with eps

* fix test coverage
2021-12-13 17:45:30 +08:00
Tong Gao b04775fd78
[Docs] Refactor docs structure (#662)
* Refactor docs structure

* update script paths

* update path ignore
2021-12-10 17:19:27 +08:00
Tong Gao bdbeb69076
[Fix] Remove depreciated image sanity check (#661) 2021-12-10 12:50:41 +08:00
Tong Gao 6d1a5ce046
[Docs] Use shared menu from theme instead (#655) 2021-12-10 11:39:21 +08:00
Hongbin Sun c6c4acd39b
[Fix] fix type check (#650)
* fix check type

* add notice
2021-12-09 12:45:59 +08:00
Hongbin Sun fec986aba0
[Enhancement] Use shape from loaded image (#652)
* use shape from loaded image

* complete unittest

* add params as gate

* add comment

* add assert
2021-12-09 01:34:09 +00:00
Tong Gao e712352728
[Enhancement] Add markdown linter in pre-commit hook (#643)
* [Enhancement] Skip CI when some specific files were changed

* update precommit markdown lint

* circleci precommit hook
2021-12-08 15:36:47 +08:00
Tong Gao b1768d9653
[Enhancement] Skip CI when some specific files were changed (#642)
* [Enhancement] Skip CI when some specific files were changed

* Update build.yml
2021-12-08 09:37:41 +08:00
Tong Gao 3c85646c3a
[Feature] mim extension for windows (#641) 2021-12-08 09:37:32 +08:00
Hongbin Sun 0a1787d6bc
[Refactor] refactor transformer modules (#618)
* base refactor

* update config

* modify implementation of nrtr

* add config file

* add mask

* add operation order

* fix contiguous bug

* update config

* fix pytest

* fix pytest

* update readme

* update readme and metafile

* update docstring

* fix norm cfg and dict size

* rm useless

* use mmocr builder instead

* update pytest

* update

* remove useless

* fix ckpt name

* fix path

* include all config file into pytest

* update inference

* Update test_recog_config.py
2021-12-04 17:12:31 +08:00
Hongbin Sun 5a8859fe66
[Refactor] Refactor text detection config (#626)
* refactor textdet configs

* remove duplicate keys in _base_

* remove import from config

* syncbn to bn on cpu

* minimize change
2021-12-03 19:37:43 +08:00
Tong Gao 925b365dcf
[Docs] Add MMHuman3D in readme (#644)
* [Docs] Add MMHuman3D in readme

* add docs
2021-12-03 16:52:38 +08:00
lizz 0fd9ece7ea
[Fix] Fix kie demo (#610)
* Fix kie demo

Signed-off-by: lizz <lizz@sensetime.com>

* Update mmocr/utils/ocr.py

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

* Update mmocr/utils/ocr.py

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

* Update mmocr/utils/ocr.py

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

Co-authored-by: Tong Gao <gaotongxiao@gmail.com>
2021-12-03 15:13:16 +08:00
Tong Gao e203d546b4
[Docs] Docstring for textdet models (#561)
* add docstring for dbnet
2021-12-02 18:57:01 +08:00
mpena-vina d3d56182c6
fix #630: Add input size check to model_inference (#633)
* fix #630: Add input size check to model_inference

* fix #630: Added exception when receiving empty image
2021-12-02 03:00:23 +00:00
Tong Gao 69d5040590
[Docs] Update model readme (#604)
* update satrn

* Add intro and pic to readmes

* update stats.py

* abstract for tps

* Fix CRNN and TPS CRNN readme
2021-11-30 16:40:18 +08:00
Hongbin Sun d1d2c1f469
[Fix] Change SBC case to DBC case (#632) 2021-11-30 15:17:07 +08:00
Tong Gao 1c8ab80409
[Enhancement] Pass custom_hooks to mmcv (#609) 2021-11-30 15:10:09 +08:00
Tong Gao efdc0e42fa
[Enhancement] Update CircleCI (#631) 2021-11-30 11:02:06 +08:00
Zaida Zhou 731a1b9195
[Enhancement] Support MMCV to 1.5.0 (#628) 2021-11-29 19:37:30 +08:00
Tong Gao 5654079839
[Fix] Fix DBNet_r50 config (#625) 2021-11-26 12:26:32 +00:00
Tong Gao 04ef6053a6
[Docs] Add MMFewShot (#621) 2021-11-26 11:18:57 +08:00
Hongbin Sun 3188e53404
[Refactor] refactor textrecog config structure (#617)
* refactor configs of textrecog

* remove duplicate key in config _base_

* fix typo

* rename dataset config file
2021-11-25 16:27:45 +08:00
Tong Gao 1544e9bb29
[Enhancement] Remove unnecessary custom_import from train.py (#603) 2021-11-25 15:59:35 +08:00
Tong Gao 809661ea28
[Enhancement] CircleCI Setup (#611)
* Add .circleci/config.yml

* Updated config.yml

* Updated config.yml

* Updated config.yml

* Updated config.yml

* Updated config.yml

* Updated config.yml

* Updated config.yml

* Updated config.yml

* Updated config.yml

* Updated config.yml

* Updated config.yml

* Updated config.yml

* Updated config.yml

* Updated config.yml

* fix unit test

* Updated config.yml

* Updated config.yml

* Updated config.yml

* Updated config.yml

* Updated config.yml

* Updated config.yml

* Updated config.yml

* Updated config.yml

* Updated config.yml

* Updated config.yml

* Updated config.yml

* Updated config.yml

* Updated config.yml

* Updated config.yml

* Updated config.yml

* Updated config.yml

* Updated config.yml

* Updated config.yml

* Updated config.yml

* Updated config.yml

* Updated config.yml

* Updated config.yml

* Updated config.yml
2021-11-23 19:54:38 +08:00
Tong Gao 53b050b0ca
[Docs] Add MMFlow & MIM (#597)
* [Docs] Add MMFlow

* add mim
2021-11-19 14:16:42 +08:00
Tong Gao e267d06281
[Fix] Always broadcast a random seed to all the processes (#600) 2021-11-18 22:26:21 +08:00
apiaccess21 284b5acc12
[Docs] C++ example section for deployment (#593)
* C++ example section

* Optimize the section for readthedocs

Co-authored-by: gaotongxiao <gaotongxiao@gmail.com>
2021-11-17 14:16:54 +08:00
Hongbin Sun 98c5bff1e0
[Feature] Save results to json file for kie. (#589)
* save results json for kie

* update config

* Fix KIE inference bug

Co-authored-by: gaotongxiao <gaotongxiao@gmail.com>
2021-11-15 20:28:13 +08:00
Hongbin Sun f2b9ba93be
[Fix] keep original texts for kie (#588) 2021-11-15 17:22:17 +08:00
Hongbin Sun 34e3ff40e1
[Fix] Fix the same start_point for different texts in draw_texts_by_pil (#587) 2021-11-15 17:19:09 +08:00
Tong Gao dc6d957967
[Feature] Avoid dupliate placeholder docs in CN (#582)
* [Feature] Avoid dupliate placeholder docs in CN

* add changelog to cn docs
2021-11-12 14:40:12 +08:00
Shouping Shan 18fde080c4
[Fix] Modify algorithm "sar" weights path in metafile (#581)
Original model `sar_r31_parallel_decoder_academic` weights path in sar/metafile.yml belongs to crnn which should be modified.
2021-11-12 12:55:56 +08:00
Hongbin Sun 4870ca91fc
[Fix] Fix resource warning: unclosed file (#577)
* fix resource warning: unclosed file

* fix import

* Eliminate det_test_img's dependency on mmdet

Co-authored-by: gaotongxiao <gaotongxiao@gmail.com>
2021-11-12 12:36:57 +08:00
Tong Gao c39f1160ac
add chinese ocr to ocr.py and fix its docs (#579) 2021-11-12 11:03:29 +08:00
Tong Gao a9fde9146f
[Feature] Improve dbnet r50 by fixing std (#578) 2021-11-11 19:10:12 +08:00