diff --git a/mmdeploy/utils/test.py b/mmdeploy/utils/test.py index 71ff7eec59..6f1decaa6b 100644 --- a/mmdeploy/utils/test.py +++ b/mmdeploy/utils/test.py @@ -517,8 +517,9 @@ def get_backend_outputs(ir_file_path: str, name: value.shape for name, value in flatten_model_inputs.items() } + mo_options = get_mo_options_from_cfg(deploy_cfg) openvino_apis.onnx2openvino(input_info, output_names, ir_file_path, - openvino_work_dir) + openvino_work_dir, mo_options) backend_files = [openvino_file_path] backend_feats = flatten_model_inputs device = 'cpu'