我需要将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
有没有遇到同样问题的大大们,都是怎么处理的。感谢。
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有没有遇到同样问题的大大们,都是怎么处理的。感谢。
请问你这里的问题解决了吗?
Most helpful comment
试试看 daquexian 的优化工具,可以把这些op去掉
https://github.com/daquexian/onnx-simplifier