* fix pytorch to onnx for mmocr0.3.0
* fix pytorch to onnx for mmocr0.3.0
* modify deployment doc and fix scale_factor bug and test psenet and panet
* fix trt part
* init detector with **(cfg.model)
Co-authored-by: AllentDan <AllentDan@yeah.net>
* [Refactor] Use MMOCR's registry
1. Define MMOCR's registries as a child of MMDet's
2. Register all models to MMOCR's own registries
3. Modify some model configs so that some models in MMDet can be
correctly located
4. Remove some outdated demo scripts
* add detectors
* add deployment evaluation
* fix lint
* remove cpu unit tests for trt and onnx
* use pytest.mark to skip cpu unit test
* move to mmocr/core
* emm... renamed to wrappers
* renamed to deploy_utils
* renamed unit test to test_deploy_utils
* fix lint
* using pytest.mark.importorskip