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

tf lite armeabi version is much slower than the nightly aar #90

Closed
zjmirving opened this issue Nov 16, 2018 · 2 comments
Closed

tf lite armeabi version is much slower than the nightly aar #90

zjmirving opened this issue Nov 16, 2018 · 2 comments

Comments

@zjmirving
Copy link

   At first I was using  'org.tensorflow:tensorflow-lite:0.0.0-nightly'  aar in my own project. My tf lite model costs 900ms. But in my company project, the ndk abiFilters is armeabi.  I changed abiFilters from armeabi-v7a to armeabi. However,  I found the aar not support armeabi.

image
I compile the armeabi version with the following command, and import so and jar file, but my model costs 4000ms. Is there some wrong with the command ??
bazel build --cxxopt='--std=c++11' //tensorflow/lite/java:tensorflowlite
--crosstool_top=//external:android/crosstool
--host_crosstool_top=@bazel_tools//tools/cpp:toolchain
--cpu=armeabi

@zjmirving
Copy link
Author

wrong project sorry

@psyhtest
Copy link
Contributor

Phew, I don't even know what aar means :).

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

2 participants