You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Support all architectures by using pre-packaged dependency
I’ve copied the approach used by the Android Things sample app:
https://github.com/androidthings/sample-tensorflow-imageclassifier
This dependency downloads an AAR file which includes native binaries for all architectures, along with a Java interface (TensorFlowInferenceInterface) than can be used to interface with TensorFlow model without needing to write any JNI code! Documentation:
https://github.com/tensorflow/tensorflow/tree/master/tensorflow/contrib/android
TESTING
Before these changes, I could not install the app on my Android 7.0 x86 emulator. It failed with this message:
`Failure [INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native libraries, res=-113]`
After the change, I was successfully able to launch the app and Detect digits. :-)
0 commit comments