InternImage icon indicating copy to clipboard operation
InternImage copied to clipboard

ONNXRuntimeError: Failed to Load Model due to Unregistered Function/Op

Open CVHub520 opened this issue 2 years ago • 0 comments

While attempting to load a model from the specified path (/home/admin/workspace/projects/python/multi-modal/InternImage/detection/work_dirs/mmdet/instance-seg/cascade_internimage_l_fpn_3x_coco/end2end.onnx), an error occurred:

onnxruntime.capi.onnxruntime_pybind11_state.Fail: [ONNXRuntimeError] : 1 : FAIL : Load model from /home/admin/workspace/projects/python/multi-modal/InternImage/detection/work_dirs/mmdet/instance-seg/cascade_internimage_l_fpn_3x_coco/end2end.onnx failed:Fatal error: mmdeploy:GatherTopk(-1) is not a registered function/op

How can i solve it?

CVHub520 avatar Nov 23 '23 09:11 CVHub520