* Fix include and lib paths for onnxruntime.
* Fixes for SSD export test
* Add onnx2openvino and OpenVINODetector. Test models: ssd, retinanet, fcos, fsaf.
* Add support for two-stage models: faster_rcnn, cascade_rcnn
* Add doc
* Add strip_doc_string for openvino.
* Fix openvino preprocess.
* Add OpenVINO to test_wrapper.py.
* Fix
* Add openvino_execute.
* Removed preprocessing.
* Fix onnxruntime cmake.
* Rewrote postprocessing and forward, added docstrings and fixes.
* Added device type change to OpenVINOWrapper.
* Update forward_of_single_roi_extractor_dynamic_openvino and fix doc.
* Update docs.
* Add OpenVINODetector and onn2openvino tests.
* Add input_info to onnx2openvino.
* Add TestOpenVINOExporter and test_single_roi_extractor.
* Moved get_input_shape_from_cfg to openvino_utils.py and added test.
* Added test_cascade_roi_head.
* Add backend.check_env() to tests.
* Add OpenVINO to get_rewrite_outputs and to some tests in test_mmdet_models.
* Moved test_single_roi_extractor to test_mmdet_models.
* Removed TestOpenVINOExporter.
* Added test_cascade_roi_head.
* Fix onnxruntime outputs type.
* WIP test_mmocr 8 out of 20
* test_mmocr_export
* test mmocr apis
* add test data
* add mmocr model unittest 5 passed 1 failed
* finish mmocr unittest
* fix lint
* fix yapf
* fix isort
* fix flake8
* fix docformatter
* fix docformatter
* try to fix unittest after merge master
* Change test.py for backend.DEFAULT
* fix flake8
* fix ut
* fix yapf
* fix ut build
* fix yapf
* fix mmocr_export ut
* fix mmocr_apis ort not cuda
* remove explicit .forward
* remove backendwrapper
* simplify the crnn and dbnet config
* simplify instance_test.json
* add another case of decoder
* increase coverage of test_mmocr_models base_recognizer
* improve coverage
* improve encode_decoder coverage
* reply for grimoire codereview
* what if not check cuda?
* remove image data
* reply to runningleon code review
* fix fpnc
* fix lint
* try to fix CI UT error
* fix fpnc with and wo custom ops
* fix yapf
* skip fpnc when cuda is not ready in ci
* reply for code review
* reply for code review
* fix yapf
* reply for code review
* fix yapf
* fix conflict
* remove unmatched data path
* remove unnecessary comments
* Fix include and lib paths for onnxruntime.
* Fixes for SSD export test
* Add onnx2openvino and OpenVINODetector. Test models: ssd, retinanet, fcos, fsaf.
* Add support for two-stage models: faster_rcnn, cascade_rcnn
* Add doc
* Add strip_doc_string for openvino.
* Fix openvino preprocess.
* Add OpenVINO to test_wrapper.py.
* Fix
* Add openvino_execute.
* Removed preprocessing.
* Fix onnxruntime cmake.
* Rewrote postprocessing and forward, added docstrings and fixes.
* Added device type change to OpenVINOWrapper.
* Update forward_of_single_roi_extractor_dynamic_openvino and fix doc.
* Update docs.
* Add OpenVINODetector and onn2openvino tests.
* Add input_info to onnx2openvino.
* Add TestOpenVINOExporter and test_single_roi_extractor.
* Moved get_input_shape_from_cfg to openvino_utils.py and added test.
* Added test_cascade_roi_head.
* Add backend.check_env() to tests.
* Add OpenVINO to get_rewrite_outputs and to some tests in test_mmdet_models.
* Moved test_single_roi_extractor to test_mmdet_models.
* Removed TestOpenVINOExporter.
* add mmdet unittests
* remove redundant img meta info
* import wrapper from backend util
* force add wrapper
* use smaller nuance
* add seed everything
* add create input part and some inference part unittests
* fix lint
* skip ppl
* remove pyppl
* add dataset files
* import ncnn_ext inside ncnn warpper
* use cpu device to create input
* add pssd and ptsd unittests
* clear mmdet unittests
* wrap function to enable rewrite
* refine codes and resolve comments
* move mmdet inside test func
* remove redundant line
* test visualize in mmdeploy.apis
* use less memory
* resolve comments
* fix ci
* move pytest.skip inside test function and use 3 channel input
* apply cmake-format and refactor cmake scripts of building onnx and tensorrt ops
* add static target
* suppress 'CMAKE_CUDA_ARCHITECTURES' warning when cmake with version 18 or later is used
* fix typo
* align mmedit static cfg
* add for test
* update requirments
* add dependencies from mmlab
* change name
* lower thresh for interrogate at first
* update test
* update to skip
* Move import tensorrt
* Move import statement
Co-authored-by: SingleZombie <singlezombie@163.com>
* add unittests
* lint
* modify .gitignore, remove useless files
* remove emtpy.py and generate it when use
* Update according to comments
1. Use tempfile
2. Delete inference test (which will be tested in each codebase)
3. Refine calibration test
* update annotation
* Add export_info
* Reduce data scale, fix assert
* update json blank line
* add backend check
* add ncnn test exporter in test_ops.py
* add ncnn test exporter in utils.py
* add onnxruntime and tensorrt ops test
* fix blank line
* fix comment
add nms ops test
* remove nms test
* add test sample
add dockerstring
* remove nms test
* fix grid_sample
add type hind
* fix problem
* fix dockerstring
* add time counter
* add time-count to all backends
* fix lint
* add docstring and unit tests
* use test instead
* remove enable member
* refinement
* replace runtime error with assert and log speed with a single line
* fix unit tests
* resolve comments and add file output
* remove an argument