MTLab/onnx2caffe

TypeError: ONNX node of type Shape is not supported.

Opened this issue · 13 comments

i have redefine the layer type like prelu and Transpose, when i run convertCaffe.py and i get error like this.
onnx
my env is ubuntu16.04, pytorch 1.3.0 and torchvision 0.3.0.

先使用这个https://github.com/daquexian/onnx-simplifier,可以去掉这些层

您好,请问我转的是faster r-cnn 我的 --input-shape 应该如何输入。我的faster r-cnn.onnx来自onnx model zool

先使用这个https://github.com/daquexian/onnx-simplifier,可以去掉这些层

您好,请问我转的是faster r-cnn 我的 --input-shape 应该如何输入。我的faster r-cnn.onnx来自onnx model zool

I also have this issue. Have u solved it?

i have redefine the layer type like prelu and Transpose, when i run convertCaffe.py and i get error like this.
onnx
my env is ubuntu16.04, pytorch 1.3.0 and torchvision 0.3.0.

Have you solved this problem ? i encountered the same issue ?

先使用这个https://github.com/daquexian/onnx-simplifier,可以去掉这些层

您好,我该怎么用onnx-simplifier去掉reshape节点呢

先使用这个https://github.com/daquexian/onnx-simplifier,可以去掉这些层

您好,我该怎么用onnx-simplifier去掉reshape节点呢

那我就不清楚了啊

i have redefine the layer type like prelu and Transpose, when i run convertCaffe.py and i get error like this.
onnx
my env is ubuntu16.04, pytorch 1.3.0 and torchvision 0.3.0.

Have you solved this problem ? i encountered the same issue ?

你解决了吗?

一样的问题,请问有人解决了吗?

我也是遇到了一样的问题,想问有人解决了吗

先使用这个https://github.com/daquexian/onnx-simplifier,可以去掉这些层

您好,我该怎么用onnx-simplifier去掉reshape节点呢

python -m onnxsim onnx模型名称 yolov5s-simple.onnx 得到最终简化后的onnx模型
https://github.com/Wulingtian/yolov5_onnx2caffe

detect层里算坐标里面有shape。但一般移植都是cpu算这部分,simplifier刚好去掉了。估计原理是不支持的就去掉,但感觉不稳定。