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

deploy the model on android #3

Open
zhaojc001 opened this issue Oct 24, 2020 · 1 comment
Open

deploy the model on android #3

zhaojc001 opened this issue Oct 24, 2020 · 1 comment
Labels
question Further information is requested

Comments

@zhaojc001
Copy link

please how to deploy the model on android os.I try transforming the model to ncnn model or TNN model,it is all failure.Thanks very much for your reply.

@omasaht omasaht added the question Further information is requested label Oct 24, 2020
@omasaht
Copy link
Owner

omasaht commented Oct 24, 2020

It is failing because this model is quite complex and has many different custom layers which are not supported by ncnn. It is because ncnn does not fully support onnx operators. You may need to write your own layers for ncnn which could be difficult. onnx has its own official inference engine called onnxruntime which I am using. You can build onnxruntime for Android and try it that way. It is more advance topic so I will not recommend it for beginners.

You can find build instructions on their github: https://github.com/microsoft/onnxruntime/blob/master/BUILD.md#Android

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

No branches or pull requests

2 participants