open-mmlab / mmcv

OpenMMLab Computer Vision Foundation
https://mmcv.readthedocs.io/en/latest/
Apache License 2.0
5.73k stars 1.61k forks source link

Can you provide information on how to use custom operators on onnx in the latest version? #3044

Open 123-cq opened 4 months ago

123-cq commented 4 months ago

What is the feature?

In MMCV 1.7.1 / docs/zh_cn/deployment/onnxruntime_op. The md,Developers can learn that after exporting onnx, custom operators can use ort.InferenceSession for normal inference. However, there is no corresponding explanation in the latest version, after exporting according to the existing documentation, onnx inference tests will appear similar to Fatal error: MMCV: MMCVModulatedDeformConv2d (1) is not a registered function/op.

Any other context?

No response