mirror of https://github.com/open-mmlab/mmcv.git
626 B
626 B
Introduction of mmcv.onnx module
DeprecationWarning
ONNX support will be deprecated in the future. Welcome to use the unified model deployment toolbox MMDeploy: https://github.com/open-mmlab/mmdeploy
register_extra_symbolics
Some extra symbolic functions need to be registered before exporting PyTorch model to ONNX.
Example
import mmcv
from mmcv.onnx import register_extra_symbolics
opset_version = 11
register_extra_symbolics(opset_version)
Reminder
- Please note that this feature is experimental and may change in the future.
FAQs
- None