Commit Graph

147 Commits (2a2cab3c8c17cac31e6d00f2b68f9eb467a15727)

Author SHA1 Message Date
Tong Gao 0aa5d7be6d
[Model] Add SVTR framework and configs (#1621)
* [Model] Add SVTR framework and configs

* update

* update transform names

* update base config

* fix cfg

* update cfgs

* fix

* update cfg

* update decoder

* fix encoder

* fix encoder

* fix

* update cfg

* update name
2023-01-06 16:07:06 +08:00
Yang Liu 5dbacfe202
[Feature] Add svtr encoder (#1483)
* add svtr backbone

* update backbone

* fix

* apply comments, move backbone to encoder

Co-authored-by: gaotongxiao <gaotongxiao@gmail.com>
2023-01-04 16:03:21 +08:00
Qing Jiang 65e746eb3d
[UT] Add missing unit tests (#1651)
* update

* remove code
2022-12-30 12:01:14 +08:00
Yang Liu 7e9f7756bc
[Feature] Add svtr decoder (#1448)
* add svtr decoder

* svtr decoder

* update

Co-authored-by: gaotongxiao <gaotongxiao@gmail.com>
2022-12-30 12:00:48 +08:00
Qing Jiang 419f98d8a4
[ASTER] Add ASTER decoder (#1625)
* add aster decoder

* aster decoder

* decoder

Co-authored-by: gaotongxiao <gaotongxiao@gmail.com>
2022-12-15 14:53:17 +08:00
Qing Jiang 0bd62d67c8
[ASTER] Add ASTER Encoder (#1239)
* [Docs] Limit extension versions (#1209)

* loss

* fix

* [update] limit extension versions

* add aster encoder

* aster encoder

Co-authored-by: gaotongxiao <gaotongxiao@gmail.com>
2022-12-15 14:53:05 +08:00
liukuikun 9ac9a227ec
[Improve] support head loss or postprocessor is None for only infer (#1594)
* support head loss or postprocessor is None for only infer

* default to None
2022-12-06 14:02:37 +08:00
Wenqing Zhang f1dd437d8d
[Feature] support modified resnet structure used in oCLIP (#1458)
* support modified ResNet in CLIP and oCLIP

* update unit test for TestCLIPBottleneck; update docs

* Apply suggestions from code review

* fix

Co-authored-by: Tong Gao <gaotongxiao@gmail.com>
2022-11-03 17:54:15 +08:00
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
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 240bf06ddd
[Fix] unit tests due to new config names (#1303) 2022-08-22 15:02:52 +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
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
Tong Gao 80d85c129f
[Fix] Rename tests (#1244) 2022-08-01 15:28:27 +08:00
Mountchicken 717460055c Revert "[update] Rename tests"
This reverts commit 0183a73b75.
2022-07-27 17:52:35 +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 eb2d5b525a Migrate part of old_tests 2022-07-21 10:57:31 +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
wangxinyu 1d1f664e9a Update max_seq_len 2022-07-21 10:57:17 +08:00
gaotongxiao a844b497db [ABINet] Refactor ABILoss 2022-07-21 10:57:17 +08:00
liukuikun 966e2ca9de [Content] data_structure content 2022-07-21 10:55:47 +08:00
gaotongxiao b8d472b77b Allow invalid ignore chars in BasePostprocessor 2022-07-21 10:55:46 +08:00
gaotongxiao 02c6802312 ABI Decoders 2022-07-21 10:55:46 +08:00
gaotongxiao 2cb55550cd update encoders 2022-07-21 10:55:46 +08:00
gaotongxiao 2df8cb89a4 [SDMGR] Add SDMGR framework 2022-07-21 10:55:46 +08:00
liukuikun b828d654a9 [Encoder] scanner encoder 2022-07-21 10:55:46 +08:00
gaotongxiao 460f068891 [DRRG] DRRG framework 2022-07-21 10:55:46 +08:00
gaotongxiao 9470821aa0 [DRRG] DRRG head 2022-07-21 10:55:46 +08:00
gaotongxiao e0992a7fae [DRRG] DRRG loss 2022-07-21 10:55:46 +08:00
gaotongxiao ed9e8d150c [DRRG] DRRG postprocessor 2022-07-21 10:55:46 +08:00
gaotongxiao 9db0941837 [SDMGR] Add SDMGR Head 2022-07-21 10:55:46 +08:00
gaotongxiao eaf7f6bf0c [SDMGR] postprocessor 2022-07-21 10:55:46 +08:00
gaotongxiao e23a2ef089 Add SDMGR Loss 2022-07-21 10:55:46 +08:00
liukuikun 622e65926e [Decoder]Robust scanner decoder 2022-07-21 10:55:45 +08:00
xinyu 6ff567bb08 fix np warnings & fix nose_parameterized warnings 2022-07-21 10:55:45 +08:00
gaotongxiao 09169f32ee Support skipping unknown tokens in dictionary 2022-07-21 10:55:45 +08:00