-
-
Notifications
You must be signed in to change notification settings - Fork 247
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
Build for Android ARMv7 #11
Comments
@marimomo00 Android plugin *.so files are built for only Arm64 CPU for now. Could you try to rebuild the plugin with
|
Thanks for your prompt reply.
I will have a try.
…On Mon, Apr 6, 2020 at 6:46 PM Koki Ibukuro ***@***.***> wrote:
@marimomo00 <https://github.com/marimomo00> Android plugin *.so files are
built for Arm64 CPU for now. Could you try to rebuild the plugin with
android_arm option instead of android_arm64?
# Configure the Android SDK path by running configure script at the repository root
./configure
# Build experimental
bazel build -c opt --cxxopt=--std=c++11 --config=android_arm //tensorflow/lite/experimental/c:libtensorflowlite_c.so
# Build GPU delegate
bazel build -c opt --config android_arm --copt -Os --copt -DTFLITE_GPU_BINARY_RELEASE --copt -fvisibility=hidden --linkopt -s --strip always //tensorflow/lite/delegates/gpu:libtensorflowlite_gpu_delegate.so
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#11 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/APCOC73JOZ27CRVMMIMDIJTRLGXH7ANCNFSM4MCEXEDQ>
.
|
I wanna share my experience about Bazel building. Then I ran the command as @asus4 said. |
I'm sorry I'm new to building so files. Can you give me some guidance? Thanks in advance |
@manena However, I got lots of error when compiling on windows. I'm still struggling on building android_arm. I've opened another issue and hope someone could help. @gblue1223 I've tried ''tensorflow-2.1.0" and ''bazel-0.29.1'', but with error. Do you build on Windows or MAC OS? |
@marimomo00 I've built on Ubuntu. Since Tensorflow more familiar with Linux, you should try on Linux OS. |
Thanks @marimomo00 i’ll try. Regards and I hope all of you and your families are fine! |
I've built libtensorflowlite_c.so for ARMv7,but I can not use it in your samples. The result on my phone is pure white with no images.How can I use it in ARMv7? I've changed the Target Architectures. |
I built for ARMv7 as well. When it runs, log shows: |
Does anybody have a working build auf 2.4.0 for armv7 ? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Thanks for the sample project. It helps me a lot.
I'm new to building App on Unity. I'm really need help from you.
I'm trying to build the sample of Posenet for Android. I can build the Android App with ARM64, it works very well on my mobile. However, it doesn't work on my another android phone. So I tried to build with ARMv7 support. It built successfully but it runs with error. The error is,
AndroidPlayer(ADB@127.0.0.1:34999) DllNotFoundException: Unable to load DLL 'libtensorflowlite_gpu_delegate': The specified module could not be found.
at TensorFlowLite.GpuDelegate.TfLiteGpuDelegateOptionsV2Default () [0x00000] in <00000000000000000000000000000000>:0
at TensorFlowLite.GpuDelegate..ctor () [0x00000] in <00000000000000000000000000000000>:0
at TensorFlowLite.BaseImagePredictor
1[T].CreateGpuDelegate () [0x00000] in <00000000000000000000000000000000>:0 at TensorFlowLite.BaseImagePredictor
1[T]..ctor (System.String modelPath, System.Boolean useGPU) [0x00000] in <00000000000000000000000000000000>:0at TensorFlowLite.PoseNet..ctor (System.String modelPath) [0x00000] in <00000000000000000000000000000000>:0
at PoseNetSample.Start () [0x00000] in <00000000000000000000000000000000>:0
What is the problem? Anything that I can do?
The text was updated successfully, but these errors were encountered: