InternImage icon indicating copy to clipboard operation
InternImage copied to clipboard

onnxruntime.capi.onnxruntime_pybind11_state.Fail: [ONNXRuntimeError] : 1 : FAIL : Load model from end2end.onnx failed:Fatal error: mmdeploy:grid_sampler(-1) is not a registered function/op

Open david33-a11 opened this issue 11 months ago • 0 comments

Hello, I'm trying to export a segmentation model to onnx. I updated the core_op to 'DCNv3_pytorch' and i was able to deploy the model and generate the onnx file. But then when i try to infer with this file using the onnxruntime library i get the following error:

onnxruntime.capi.onnxruntime_pybind11_state.Fail: [ONNXRuntimeError] : 1 : FAIL : Load model from end2end.onnx failed:Fatal error: mmdeploy:grid_sampler(-1) is not a registered function/op

Do you have any solution to the problem?

Thanks in advance.

david33-a11 avatar Feb 06 '25 13:02 david33-a11