Commit Graph

282 Commits (c91b028772b4216248ba2ca54f5467a5da1a16cc)

Author SHA1 Message Date
Tong Gao 965f92f1e0
[Fix] Dataflow in mmdet wrapper (#1335)
* [Fix] Dataflow in mmdet wrapper

* fix typing

* fix ut

Co-authored-by: liukuikun <liukuikun@sensetime.com>
2022-08-31 19:03:59 +08:00
liukuikun bf042f8267
[Feture] kie visualizer (#1267)
* kie visualizer

* add  textspotting visualizer

* Fix

* fix

* Some fixes

Co-authored-by: gaotongxiao <gaotongxiao@gmail.com>
2022-08-29 20:13:06 +08:00
Tong Gao 9b368fe45c
[Fix] Rename VeryDeepVGG to MiniVGG (#1330)
* [Fix] Rename VeryDeepVGG to MiniVGG

* update
2022-08-25 16:35:59 +08:00
Tong Gao b32412a9e9
[Refactor] MMEngine directory tree (#1317) 2022-08-25 11:46:04 +08:00
Xinyu Wang 9bd5258513
[Refactor] Adapt to new dataflow (#1305)
* datasample->datasamples

* update rec data preprocessor

* rename datasamples

* update det preprocessor

* update metric

* update data_sample->data_samples in test

* update

* fix data preprocessor uts

* remove engine runner

* fix kie ut

* fix ut

* fix comments

* refactor evaluator ut

* apply comments

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

* remove useless

* apply comments

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

* apply comments

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

Co-authored-by: Tong Gao <gaotongxiao@gmail.com>
2022-08-25 11:45:42 +08:00
Tong Gao 1b5764b155
[Refactor] Rename base_xxx.py as base.py (#1322) 2022-08-25 11:20:42 +08:00
Tong Gao b81d58e70c
[Enhancement] Move dictionary (#1320) 2022-08-24 17:58:52 +08:00
Tong Gao c093c687a7
[Config] Refactor base config (part 3) (#1316)
* [Config] Refactor KIE

* fix ut

* fix edge classes
2022-08-24 17:30:05 +08:00
Tong Gao 1860a3a3b6
[Feature] Use BCEWithLogitsLoss as many as possible for AMP (#1309)
* Use BCEWithLogitsLoss as many as possible for AMP

* fix

* Optimize DBNet

* fix docstr

* Use branch in dbhead, fix missing data_samples in textdethead

* fix
2022-08-23 19:17:27 +08:00
Tong Gao e760dcd1dd
[Enhancement] Support loading different lmdb datasets in LoadImageFromLMDB (#1293)
* [Enhancement] Support loading different lmdb datasets in LoadImageFromLMDB

* add docstr
2022-08-22 16:43:25 +08:00
liukuikun d27b2fd84f
[Config] rec config refine (#1306)
* refine rec config

* fix mj-sub
2022-08-22 16:42:56 +08:00
Tong Gao 240bf06ddd
[Fix] unit tests due to new config names (#1303) 2022-08-22 15:02:52 +08:00
Tong Gao c7a4298c32
[Fix] Replace mmcv.fileio with mmengine (#1292) 2022-08-19 16:53:14 +08:00
Tong Gao 0d9b40706c
[Fix] Remove dependency on MMCV registry (#1261)
* [Fix] Remove dependency on MMCV registry

* fix
2022-08-19 11:19:07 +08:00
liukuikun 587566d2c2
[Fix] evaluator ut (#1285) 2022-08-16 17:34:07 +08:00
liukuikun bcc245efd3
[Evaluator] MultiDatasetEvaluator (#1250)
* multi datasets evalutor

* fix comment

* fix typo
2022-08-16 16:48:04 +08:00
Tong Gao 7b25b62c21
[Fix] Fix dictionary docstr and remove unncessary kwargs (#1276)
* [Fix] Fix dictionary docstr and remove unncessary kwargs

* fix

* fix
2022-08-11 11:14:17 +08:00
liukuikun ef683206ed
[Api] vis hook and data flow api (#1185)
* vis hook and data flow api

* fix comment

* add TODO for merging and rewriting after MultiDatasetWrapper
2022-08-08 11:37:46 +08:00
Tong Gao 80d85c129f
[Fix] Rename tests (#1244) 2022-08-01 15:28:27 +08:00
Qing Jiang 48cc575507
[Rename] Rename mmocr/data to mmocr/structures (#1234)
* rename mmocr/data to mmocr/structures

* update lint
2022-08-01 10:59:53 +08:00
Mountchicken 717460055c Revert "[update] Rename tests"
This reverts commit 0183a73b75.
2022-07-27 17:52:35 +08:00
liukuikun 2cca103b93
[Fix] fix load error (#1212) 2022-07-26 16:53:11 +08:00
liukuikun bc043101fe
[Fix] load error (#1207) 2022-07-26 10:48:10 +08:00
liukuikun 83e4fb10ee
[Fix] fix empty image and resize small image (#1200) 2022-07-25 19:21:09 +08:00
Tong Gao 6f30020eec
[CI] Add CI (#1176)
* [CI] Add CI

* update init

* fix lint

* fix lint

* fix linting

* fix linting

* fix linting

* fix

* fix

* fix

* fix

* fix

* fix

* disable github ci

* fix

* Update .circleci/test.yml

Co-authored-by: Qing Jiang <mountchicken@outlook.com>

* fix

* fix

Co-authored-by: Qing Jiang <mountchicken@outlook.com>
2022-07-21 14:28:57 +08:00
jiangqing.vendor e303404215 [Fix] Fix some config errors 2022-07-21 10:58:04 +08:00
liukuikun f5e93d0eba fix mmdet rename data_elements to structures 2022-07-21 10:58:04 +08:00
gaotongxiao 05ff5d0489 Support pipeline assignment in ConcatDataset 2022-07-21 10:58:04 +08:00
wangxinyu 8c5e83c521 [Tests] rename tests 2022-07-21 10:58:04 +08:00
xinyu 254dbdd18a adapt to det package 2022-07-21 10:58:03 +08:00
gaotongxiao 1a167ff317 Migrate tests 2022-07-21 10:58:03 +08:00
gaotongxiao 3980ead987 Rename & Migrate tests for EncoderDecoderRecognizer 2022-07-21 10:58:03 +08:00
jiangqing.vendor 3734527d38 [TODO] Add char2idx 2022-07-21 10:57:31 +08:00
jiangqing.vendor dc84187311 [TODO] Replace loss_module with module_loss 2022-07-21 10:57:31 +08:00
gaotongxiao 1cbc42eceb mmocr.model.textdet.losses.common -> mmocr.model.common.losses 2022-07-21 10:57:31 +08:00
gaotongxiao 8bce19218e Migrate some tests of utils 2022-07-21 10:57:31 +08:00
jiangqing.vendor 993ee5a91c [TODO] Replace resize_cfg with resize_type 2022-07-21 10:57:31 +08:00
gaotongxiao eb2d5b525a Migrate part of old_tests 2022-07-21 10:57:31 +08:00
gaotongxiao f107991ac1 [TODO] Add LoadImageFromLMDB 2022-07-21 10:57:30 +08:00
gaotongxiao 914c8af7bf Revert "[TODO] Add LoadImageFromLMDB"
This reverts commit e716ae726f007f79effdf2d45b4955a887f3c1e3
2022-07-21 10:57:30 +08:00
jiangqing.vendor 19958fbf6f [TODO] Add LoadImageFromLMDB 2022-07-21 10:57:17 +08:00
gaotongxiao bf517b63e8 Update outputs of DBHead and split_results in BaseTextDetPostprocessor 2022-07-21 10:57:17 +08:00
gaotongxiao 41a642bc7b Refactor testing 2022-07-21 10:57:17 +08:00
jiangqing.vendor ae4ba012a8 [MMDet] DetWrapper 2022-07-21 10:57:17 +08:00
jiangqing.vendor dae4c9ca8c Add MMDet2MMOCR MMOCR2MMdet 2022-07-21 10:57:17 +08:00
wangxinyu de616ffa02 [TODO] Add tests for box center/diag dist; recover some evaluation utils 2022-07-21 10:57:17 +08:00
jiangqing.vendor 67e4085915 [Fix] Fix crop_polygon 2022-07-21 10:57:17 +08:00
wangxinyu 1d1f664e9a Update max_seq_len 2022-07-21 10:57:17 +08:00
liukuikun 25faa7d1f1 [Content] refactor vis content 2022-07-21 10:57:17 +08:00
liukuikun d50d2a46eb [Processing]remove segocr and split processing 2022-07-21 10:57:17 +08:00