Commit Graph

1089 Commits (v1.0.0rc6)
 

Author SHA1 Message Date
Tong Gao bfb36d81b3
fix (#1764) 2023-03-07 20:25:48 +08:00
Tong Gao 45a8d89fb9
Bump version to 1.0.0rc6 (#1763)
* Bump version to 1.0.0rc6

* fix

* update changelog

* fix

* fix
2023-03-07 20:22:54 +08:00
Tong Gao d56155c82d
[Feature] Support lmdb format in Dataset Preparer (#1762)
* [Dataset Preparer] Support lmdb format

* fix

* fix

* fix

* fix

* fix

* readme

* readme
2023-03-07 20:08:25 +08:00
Tong Gao 33cbc9b92f
[Docs] Inferencer docs (#1744)
* [Enhancement] Support batch visualization & dumping in Inferencer

* fix empty det output

* Update mmocr/apis/inferencers/base_mmocr_inferencer.py

Co-authored-by: liukuikun <24622904+Harold-lkk@users.noreply.github.com>

* [Docs] Inferencer docs

* fix

* Support weight_list

* add req

* improve md

* inferencers.md

* update

* add tab

* refine

* polish

* add cn docs

* js

* js

* js

* fix ch docs

* translate

* translate

* finish

* fix

* fix

* fix

* update

* standard inferencer

* update docs

* update docs

* update docs

* update docs

* update docs

* update docs

* en

* update

* update

* update

* update

* fix

* apply sugg

---------

Co-authored-by: liukuikun <24622904+Harold-lkk@users.noreply.github.com>
2023-03-07 18:52:41 +08:00
Tong Gao cc78866ed7
[Fix] SPTS readme (#1761) 2023-03-07 18:41:37 +08:00
Tong Gao f250ea2379
[Fix] Fix wrong ic13 textspotting split data; add lexicons to ic13, ic15 and totaltext (#1758)
* [Fix] Fix wrong ic13 textspotting split data; add lexicons to ic13, ic15 and totaltext

* [Fix] Fix wrong ic13 textspotting split data; add lexicons to ic13, ic15 and totaltext

* update
2023-03-07 14:23:00 +08:00
Tong Gao 5685bb0f38
[Enhancement] configs for regression benchmark (#1755) 2023-03-07 14:19:22 +08:00
Tong Gao 5670695338
[SPTS] train (#1756)
* [Feature] Add RepeatAugSampler

* initial commit

* spts inference done

* merge repeat_aug (bug in multi-node?)

* fix inference

* train done

* rm readme

* Revert "merge repeat_aug (bug in multi-node?)"

This reverts commit 393506a97c.

* Revert "[Feature] Add RepeatAugSampler"

This reverts commit 2089b02b48.

* remove utils

* readme & conversion script

* update readme

* fix

* optimize

* rename cfg & del compose

* fix

* fix

* tmp commit

* update training setting

* update cfg

* update readme

* e2e metric

* update cfg

* fix

* update readme

* fix

* update
2023-03-07 14:18:01 +08:00
liukuikun 81fd74c266
[Enchance] Put all registry into registry.py (#1760) 2023-03-07 14:17:06 +08:00
Tong Gao 47f7fc06ed
[Feature] Support batch augmentation through BatchAugSampler (#1757)
* [Fix] RepeatAugSampler -> BatchAugSampler

* update docs
2023-03-07 11:29:53 +08:00
liukuikun 82f81ff67c
[Refactor] Refactor data converter and gather (#1707)
* Refactor dataprepare, abstract gather, packer

* update ic13 ic15 naf iiit5k cute80 funsd

* update dataset zoo config

* add ut

* finsh docstring

* fix coco

* fix comment
2023-03-03 15:27:19 +08:00
Tong Gao 3aa9572a64
Remove outdated resources in demo/ (#1747)
* Remove outdated resources in demo/

* update
2023-02-28 22:09:02 +08:00
Kevin Wang 62d440fe8e
[Feature] add a new argument font_properties to set a specific font file in order to draw Chinese characters properly (#1709)
* [Feature] add new argument font_properties to set specific font file  in order to draw Chinese characters properly

* update the minimum mmengine version

* add docstr
2023-02-27 14:25:49 +08:00
EuanHoll 0894178343 Fixing Bounding Box format for Text Detection isn't specified (#1734)
* Update dataset.md

* fix

---------

Co-authored-by: gaotongxiao <gaotongxiao@gmail.com>
2023-02-22 10:51:54 +08:00
Kevin Wang 7cfd412ce7
[Docs] Fix CharMetric P/R wrong definition (#1740) 2023-02-22 10:29:10 +08:00
double22a 280a89c18e
[Fix] bezier_to_polygon -> bezier2polygon (#1739) 2023-02-21 19:16:17 +08:00
Tong Gao 6eaa0673f7
[Fix] COCOTextv2 config (#1737) 2023-02-20 18:43:20 +08:00
Kevin Wang 9b0f1da1e7
[Fix] icdar textrecog ann parser skip ignore data (#1708) 2023-02-17 16:21:38 +08:00
Kevin Wang 37c5d371c7
Fix some browse dataset script bugs and draw textdet gt instance with ignore flags (#1701)
* [Enhancement] textdet draw gt instance with ignore flags

* [Fix] 明确key值定义,防止后续使用img_path时得到lmdb格式中的img_key导致图片无法读取

* [Fix] fix five browse_dataset.py script bugs

* [Fix] fix some pr problems

* [Fix] keep img_path attribute

* [Fix] 防止width很大text很小时,font_size过大显示不全(做keep_ratio的resize然后padding到固定尺寸时可能出现此类情况)
2023-02-17 15:40:24 +08:00
Tong Gao e9bf689f74
[Enhancement] Support batch visualization & dumping in Inferencer (#1722)
* [Enhancement] Support batch visualization & dumping in Inferencer

* fix empty det output

* Update mmocr/apis/inferencers/base_mmocr_inferencer.py

Co-authored-by: liukuikun <24622904+Harold-lkk@users.noreply.github.com>

---------

Co-authored-by: liukuikun <24622904+Harold-lkk@users.noreply.github.com>
2023-02-17 12:40:09 +08:00
liukuikun 1127240108
[Feature] Support auto import modules from registry. (#1731)
* [Feature] Support auto import modules from registry.

* limit mmdet version

* location parrent dir if it not exist
2023-02-17 10:28:34 +08:00
Tong Gao df0be646ea
[Enhancement] Speedup formatting by replacing np.transpose with torch.permute (#1719) 2023-02-16 14:14:03 +08:00
liukuikun f820470415
[Feature] Rec TTA (#1401)
* Support TTA for recognition

* updata readme

* updata abinet readme

* updata train_test doc for tta
2023-02-16 10:27:07 +08:00
liukuikun 7cea6a6419
[Enchancement] Only keep meta and state_dict when publish model (#1729)
* Only keep meta and state_dict when publish model

* simpy code
2023-02-15 19:45:12 +08:00
vansin 3240bace4a
docs: fix the head show in readme (#1727) 2023-02-15 16:07:24 +08:00
vansin b21d2b964a
docs: Add twitter discord medium youtube link (#1724) 2023-02-15 11:10:41 +08:00
Qing Jiang 332089ca11
[Fix] Add missing softmax in ASTER forward_test (#1718)
* add missing softmax

* update
2023-02-13 10:32:55 +08:00
Ikko Eltociear Ashimine b3be8cfbb3 Fix typo in ilst_converter.py (#1711)
* Fix typo in ilst_converter.py

splited -> splitted

* Fix typo in ilst_converter.py
2023-02-11 09:09:38 +08:00
Xinyu Wang d25e061b03
[Fix] textocr ignore flag (#1712) 2023-02-10 16:09:00 +08:00
Tong Gao 20a87d476c
[Fix] Fix some inferencer bugs (#1706)
* [Fix] Fix some inferencer bugs

* fix
2023-02-09 18:31:25 +08:00
Tong Gao d8e615921d
[Fix] Detect intersection before using shapley.intersection to eliminate spurious warnings (#1710)
* [Fix] Detect intersection before using shapley.intersection to eliminate spurious warnings

* Update polygon_utils.py
2023-02-08 10:36:11 +08:00
Tong Gao 2a2cab3c8c
[Checkpoints] Add ST-pretrained DB-series models and logs (#1635)
* [Fix] Auto scale lr

* update
2023-02-06 15:16:08 +08:00
liukuikun c870046a4a
[Fix] change cudnn benchmark to false (#1705) 2023-02-03 18:57:12 +08:00
Kevin Wang edf085c010
[Feature] TextRecogCropConverter add crop with opencv warpPersepective function (#1667)
* [Feature] TextRecogCropConverter add crop with opencv warpPersepective function.

* [Fix] fix some pr problems

* Apply suggestions from code review

---------

Co-authored-by: Tong Gao <gaotongxiao@gmail.com>
2023-02-03 17:04:37 +08:00
Tong Gao c3aef21eea
[Enhancement] Revise upstream version limit (#1703)
* [Enhancement] Revise upstream version limit

* update
2023-02-03 16:39:32 +08:00
Tong Gao 03a23ca4db
[Docs] Remove unsupported datasets in docs (#1670) 2023-02-02 19:47:10 +08:00
Tong Gao 3b0a41518d
[Enhancement] Dynamic return type for rescale_polygons (#1702) 2023-02-02 19:18:33 +08:00
Tong Gao ad470e323a
[Feature] Refactor Inferencers (#1608)
* tmp commit

* initial

* kie

* update MMOCRInferencer and ocr.py

* fix

* fix bug & add ut

* ut for kie

* part of mmocr inferencer ut

* part of mmocr inferencer ut

* ut

* ut

* docs

* inferencer

* Add TextSpotInferencer

* test

* fix

* textspot

* fix

* test

* test

* fix

* fix
2023-02-02 19:05:55 +08:00
Tong Gao 2d743cfa19
[Model] SPTS (#1696)
* [Feature] Add RepeatAugSampler

* initial commit

* spts inference done

* merge repeat_aug (bug in multi-node?)

* fix inference

* train done

* rm readme

* Revert "merge repeat_aug (bug in multi-node?)"

This reverts commit 393506a97c.

* Revert "[Feature] Add RepeatAugSampler"

This reverts commit 2089b02b48.

* remove utils

* readme & conversion script

* update readme

* fix

* optimize

* rename cfg & del compose

* fix

* fix
2023-02-01 11:58:03 +08:00
Xinyu Wang 2b5cdbdbfc
update owners (#1699) 2023-02-01 10:07:17 +08:00
Tong Gao a82fc66812
[Feature] Add RepeatAugSampler (#1678)
* [Feature] Add RepeatAugSampler

* fix
2023-01-31 19:42:48 +08:00
Kevin Wang bed778fc3f
[Fix] fix isort pre-commit error (#1697)
* [Fix] fix isort pre-commit error

* [Fix] add mmengine to setup.cfg and rerun pre-commit
2023-01-31 18:50:13 +08:00
liukuikun 689ecf0f5f
fix LoadOCRAnnotation ut (#1695) 2023-01-31 11:23:49 +08:00
Tong Gao bf41194965
[Docs] Add notice for default branch switching (#1693) 2023-01-30 10:27:02 +08:00
tripleMu dff97edaad
fix lint (#1694)
fix lint
2023-01-29 17:42:34 +08:00
Qing Jiang 50f55c2976
[Fix] Fix a minor error in docstring (#1685) 2023-01-28 11:11:54 +08:00
Tong Gao b3f21dd95d
[Fix] Explictly create np object array for compatability (#1691) 2023-01-28 11:08:01 +08:00
liukuikun 7f4a1eecdc
abcnetv2 inference (#1657)
* abcnetv2 inference

* update readme
2023-01-18 18:37:19 +08:00
Tong Gao 6992923768
[Enhancement] Discard deprecated lmdb dataset format and only support img+label now (#1681)
* [Enhance] Discard deprecated lmdb dataset format and only support img+label now

* rename

* update

* add ut

* updata document

* update docs

* update test

* update test

* Update dataset.md

Co-authored-by: liukuikun <641417025@qq.com>
2023-01-17 10:10:51 +08:00
Tong Gao b64565c10f
[Fix] Update dockerfile (#1671)
* [Fix] Update dockerfile

* [Fix] Update dockerfile
2023-01-16 15:34:38 +08:00