* save codes
* save codes
* support sar exporting to onnxruntime and tensorrt
* use 4G max gpu space
* support sequential sar
* remove trt config for sar
* add sar unit tests
* add sar unit tests
* resolve conflicts
* remove torch.add rewrite in unit tests
* refactor function rewriter
* Pass unit test
* Fix test
* Fix test
* lint
* refactor function rewriter
* Pass unit test
* Fix test
* Fix test
* lint
* support openvino
* update
1. All type hints of cfg are set to Dict
2. Check if kwargs exist when calling patch_model
3. Complement tests
4. key name 'object' is set to '_object'
* lint
* Update docstring
* Fix tests
* Improve test
* 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 nms batch_nms multi_level_roi_align
* add test data
* fix problem
* rm pkl file dependent
* rm file
* add docstring
* remove multi_level_dependce
* add mmseg module unittest
* add mmseg test
* add mmseg model unit test
* fix blankline
* rename file
* add syncbn2bn unit test
* add apis/export
* lint
* lint
* ??
* delete#
* fix problems
* add mmcv unit test
* add docs about how to convert model
* fix docs convert model
* add list
* rm mmcv test
* add mmocr model in list
fix decription
* fix docs
* fix docs
* refactor docs
* fix model list
* add docs about how to create config file
* fix how to convert model
* remove other docs
* add cn docs
* fix args description
* fix space
* fix about evaluate model
* fix link problems
* fix cn docs
Co-authored-by: SingleZombie <singlezombie@163.com>
* 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