open-mmlab / mmcv

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

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

Open 123-cq opened 8 months ago

123-cq commented 8 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