mmcv/docs/zh_cn/deployment/onnx.md

20 lines
315 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

## MMCV中ONNX模块简介 (实验性)
### register_extra_symbolics
在将PyTorch模型导出成ONNX时需要注册额外的符号函数
#### 范例
```python
import mmcv
from mmcv.onnx import register_extra_symbolics
opset_version = 11
register_extra_symbolics(opset_version)
```
#### 常见问题
-