ONNX Runtime doesn't recognize org.openvinotoolkit:DeformableConv2D operator
I’ve a made a model in LandingAI and downloaded it as a ZIP package to later use in my local Python app. However, after installing the ONNX Runtime for Python, the following code produces an error:
import onnx
import onnxruntime as rt
onnx_model = onnx.load('model1_640x640.onnx')
onnx.checker.check_model(onnx_model)
ort_session = rt.InferenceSession('model1_640x640.onnx')
# FAIL : Load model from model1_640x640.onnx failed:Fatal error: org.openvinotoolkit:DeformableConv2D(-1) is not a registered function/opA similar issue posted here as bug suggests adding a custom operator as described in the ONNX docs. But I am not sure if I know how to do it.