141 Commits

Author SHA1 Message Date
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 0183a73b7528a75308d2c66554bb648748432fac.
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
wangxinyu
4b185d3347 [Model] Add MobilenetV2 Backbone 2022-07-21 10:55:45 +08:00
wangxinyu
ef98df8052 [Utils] Migrate core/evaluation/utils.py 2022-07-21 10:55:45 +08:00
liukuikun
b955df9904 [Detector] refactor basedetector 2022-07-21 10:55:44 +08:00
liukuikun
988fea441b [Recognizer] refactor baserecognizer 2022-07-21 10:55:43 +08:00
liukuikun
41d9c741cd [Decoder] sar decoder 2022-07-21 10:51:03 +08:00
liukuikun
47771788f0 [Encoder] sar encoder 2022-07-21 10:51:03 +08:00