Ncnn: ONNX转ncnn几种操作不支持

Created on 15 Mar 2019  ·  3Comments  ·  Source: Tencent/ncnn

我需要将onnx模型转到ncnn。但是转换的时候提示。
Gather not supported yet!
# axis=0
Unsqueeze not supported yet!
# axes 7
Unsqueeze not supported yet!
# axes 7

转换出来的文件也加载失败:
layer Shape not exists or registered
network graph not ready

有没有遇到同样问题的大大们,都是怎么处理的。感谢。

Most helpful comment

试试看 daquexian 的优化工具,可以把这些op去掉
https://github.com/daquexian/onnx-simplifier

All 3 comments

Maybe you need to write the supportive operation by yourself...This is what we do for tensorflow2ncnn

试试看 daquexian 的优化工具,可以把这些op去掉
https://github.com/daquexian/onnx-simplifier

我需要将onnx模型转到ncnn。但是转换的时候提示。
Gather not supported yet!

axis=0

Unsqueeze not supported yet!

axes 7

Unsqueeze not supported yet!

axes 7

转换出来的文件也加载失败:
layer Shape not exists or registered
network graph not ready

有没有遇到同样问题的大大们,都是怎么处理的。感谢。

请问你这里的问题解决了吗?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

SisterL picture SisterL  ·  3Comments

makaaay picture makaaay  ·  4Comments

mychina75 picture mychina75  ·  4Comments

varbegin picture varbegin  ·  3Comments

jinfagang picture jinfagang  ·  4Comments