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

Convert this onnx model to MNN failed #2734

Closed
listzhpzhp opened this issue Jan 16, 2024 · 1 comment
Closed

Convert this onnx model to MNN failed #2734

listzhpzhp opened this issue Jan 16, 2024 · 1 comment
Labels
bug Something isn't working wontfix This will not be worked on

Comments

@listzhpzhp
Copy link

listzhpzhp commented Jan 16, 2024

python3 testMNNFromOnnx.py test.onnx
segment fault
final2.zip
thank you!

@listzhpzhp listzhpzhp changed the title Convert this onnx model to Convert this onnx model to MNN failed Jan 16, 2024
@listzhpzhp listzhpzhp closed this as not planned Won't fix, can't repro, duplicate, stale Jan 16, 2024
@listzhpzhp listzhpzhp reopened this Jan 16, 2024
@jxt1234
Copy link
Collaborator

jxt1234 commented Feb 21, 2024

这模型有好几个输入是 identity 直接复制,建议去除。转换到 mnn 时加上 --optimizeLevel=0 可以正确转出 mnn 并运行

@jxt1234 jxt1234 added bug Something isn't working wontfix This will not be worked on labels Feb 21, 2024
@jxt1234 jxt1234 closed this as completed Feb 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants