Deploy in Android App #7637
Unanswered
evanescenceakii
asked this question in
General
Replies: 1 comment
-
Do you have an Android application ready for the integration of Onnx Runtime for mobile inference? To use Onnx Runtime c/c++ API,
To use Onnx Runtime java/kotlin API,
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to create an Android App that incorporates a Machine Learning Model. I had an onnx model, along with a Python script file, two json files with the label names, and some numpy data for mel spectrograms computation.
I tried to go with onnxruntime, and followed these instructions. So now I have created the model.ort file out of the onnx model and "A minimal build for Android with NNAPI support", so I have the Build onnxruntime pkg. I'm run the build in windows cmd.
Since I'm completely new at this, how do I continue from here? How do I "inference on device" and deploy in my phone?
And also, will I have to convert my python script that runs the model to Java? Or is there any other way? Thank you!
Beta Was this translation helpful? Give feedback.
All reactions