pytorch onnx caffe 模型转换问题,onnx支持转换的列表

1、https://github.com/onnx/tutorials/blob/master/tutorials/OnnxCaffe2Import.ipynb
官方提供的方法使用接口

user@201:~/nas/pytorch2caffe/onnx-caffe2-master/onnx_caffe2$ convert-onnx-to-caffe2 …/3_resnet34.onnx --output predict_net.pb --init-net-output init_net.pb
pytorch转caffe2 之 onnx转caffe2报错的解决方法 ValueError: Don’t know how to translate op Unsqueeze
解决方法
https://blog.csdn.net/rock4you/article/details/89045181

2、onnx to caffe 支持列表
https://github.com/onnx/onnx-caffe2/blob/master/tests/ONNXOpCoverage.md

3、成功运行的转换代码实例
pytorch to onnx to caffe pb文件
https://blog.csdn.net/weixin_40671425/article/details/90700908

发布了98 篇原创文章 · 获赞 141 · 访问量 26万+

猜你喜欢

转载自blog.csdn.net/m0_37192554/article/details/103310986