onnx

1. ONNX简明教程

https://blog.csdn.net/xjm850552586/article/details/114898679

2. onnxruntime 文档

https://onnxruntime.ai/docs/

3. pytorch 模型转 onnx 报错

(1)Exporting the operator dot to ONNX opset version 12 is not supported

这是由spectral_norm 引发的报错。

(2)grid_sample 不支持onnx, 可以使用

from mmcv.ops.point_sample import bilinear_grid_sample


posted on 2022-06-14 16:35  兔子二  阅读(232)  评论(0编辑  收藏  举报

导航