Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请教一下,您是如何将模型转换成 ncnn 模型的? #1

Open
droplet-js opened this issue Sep 7, 2021 · 3 comments
Open

Comments

@droplet-js
Copy link

请教一下,您是如何将模型转换成 ncnn 模型的?我一直无法将 RobustVideoMatting 的 rvm_mobilenetv3.pth 转换成 tflite。按 README 里的做法转换成 TensorFlow SavedModel 或者 tfjs 均可成功。

@TCBocean
Copy link

@v7lin 你好,打扰一下。请问你还有RobustVideoMatting 原来的代码和模型吗?
原作者下架了代码和模型。。。

@Guocode
Copy link

Guocode commented Oct 28, 2021

同求,pytorch转onnx没问题,但是用ncnn的网页转换工具会报错如下:

转换遇到了一些错误,不过某些情况下你可以下载模型并 手工修复。错误信息如下:

Unknown data type 0
Unsupported Resize scales and sizes are all empty!
Unsupported split axis !
Shape not supported yet!
Expand not supported yet!
Shape not supported yet!
Unknown data type 0
Shape not supported yet!
Expand not supported yet!
Shape not supported yet!
Unknown data type 0
Shape not supported yet!
Expand not supported yet!
Shape not supported yet!
Unknown data type 0
Shape not supported yet!
Expand not supported yet!
Shape not supported yet!
Unknown data type 0
Unsupported split axis !
Shape not supported yet!
Shape not supported yet!
Unknown data type 0
Unsupported Resize scales and sizes are all empty!
Shape not supported yet!
Shape not supported yet!
Unknown data type 0
Unsupported Resize scales and sizes are all empty!

@li-wenquan
Copy link

li-wenquan commented Nov 24, 2022

@Guocode 请问您解决了吗?是否愿意分享一下您的解决方案?谢谢。我也遇到同样的问题,即使我使用https://github.com/daquexian/onnx-simplifier简化onnx模型,依然输出一样的错误。谢谢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants