mmocr/tests/test_models
Tong Gao 7bbb14f0d1
[Fix] Replace SyncBN with BN for inference (#420)
* add revert_sync_batchnorm

* replace SyncBN in inference and test scripts

* add tests

* hide BatchNormXd
2021-08-10 22:19:17 +08:00
..
test_label_convertor add sar, seg and other components 2021-04-02 23:54:57 +08:00
test_detector.py [Fix] Replace SyncBN with BN for inference (#420) 2021-08-10 22:19:17 +08:00
test_kie_config.py Fix #282: Support init_cfg & update depreciated configs (#365) 2021-07-20 23:18:25 +08:00
test_loss.py fix bug of dice loss: loss always 1 if empty target (#408) 2021-08-04 06:05:31 +00:00
test_modules.py fix #212: improve drrg (#224) 2021-05-21 18:36:44 +08:00
test_ner_model.py Fix #282: Support init_cfg & update depreciated configs (#365) 2021-07-20 23:18:25 +08:00
test_ocr_backbone.py add sar, seg and other components 2021-04-02 23:54:57 +08:00
test_ocr_decoder.py Feature/iss 33 (#34) 2021-04-05 23:54:57 +08:00
test_ocr_encoder.py Remove usage of \ (#49) 2021-04-06 12:16:46 +00:00
test_ocr_head.py fix #40: add unit test for recog config, transforms, etc. (#44) 2021-04-06 07:17:20 +00:00
test_ocr_layer.py Feature/iss 33 (#34) 2021-04-05 23:54:57 +08:00
test_ocr_loss.py fix #40: add unit test for recog config, transforms, etc. (#44) 2021-04-06 07:17:20 +00:00
test_ocr_neck.py fix #40: add unit test for recog config, transforms, etc. (#44) 2021-04-06 07:17:20 +00:00
test_ocr_preprocessor.py refactor tps config (#135) 2021-05-12 06:14:24 +00:00
test_panhead.py [feature]: add textdet 2021-04-03 01:03:52 +08:00
test_recog_config.py support batch inference for crnn and segocr (#407) 2021-08-03 16:52:58 +08:00
test_recognizer.py support batch inference for crnn and segocr (#407) 2021-08-03 16:52:58 +08:00
test_targets.py [feature]: add textdet 2021-04-03 01:03:52 +08:00
test_textdet_head.py Add drrg (#189) 2021-05-18 11:15:47 +08:00
test_textdet_neck.py Add drrg (#189) 2021-05-18 11:15:47 +08:00