Comments (12)
from tf-lite-unity-sample.
@manena
There are instruction on building tensorflow.
https://www.tensorflow.org/install/source
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?
from tf-lite-unity-sample.
@manena Here is the .so files. Good luck~
from tf-lite-unity-sample.
@marimomo00 Android plugin *.so files are built for only 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
from tf-lite-unity-sample.
I wanna share my experience about Bazel building.
First of all, I've built with ''tensorflow-2.1.0" and ''bazel-0.29.1''.
And I ran ''./configure'' and everything leave as default but set options regarding Android.
Then I ran the command as @asus4 said.
You have to make sure about tensorflow and bazel version.
It is very sensitive.
from tf-lite-unity-sample.
I'm sorry I'm new to building so files.
I would like to build for android_arm. I'm working on MAC OS Catalina and have no idea if these are commands to run from the shell, what directory I should be in and what would I need to install in order to be able to build.
Can you give me some guidance?
Thanks in advance
from tf-lite-unity-sample.
@marimomo00 I've built on Ubuntu. Since Tensorflow more familiar with Linux, you should try on Linux OS.
from tf-lite-unity-sample.
Thanks @marimomo00 i’ll try.
In the meanwhile @gblue1223: would it be possible for you to share with us the .so files you have built? It would be very helpful!
Regards and I hope all of you and your families are fine!
from tf-lite-unity-sample.
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.
from tf-lite-unity-sample.
I built for ARMv7 as well. When it runs, log shows:
08-29 11:01:18.646 3872 4085 I tflite : Initialized TensorFlow Lite runtime.
08-29 11:01:20.242 7703 7723 E Unity : Unable to find libtensorflowlite_gpu_delegate
08-29 11:01:20.244 7703 7723 E Unity : Unable to find tensorflowlite_gpu_delegate
08-29 11:01:20.259 7703 7723 E Unity : Unable to find libtensorflowlite_c
from tf-lite-unity-sample.
Does anybody have a working build auf 2.4.0 for armv7 ?
from tf-lite-unity-sample.
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.
from tf-lite-unity-sample.
Related Issues (20)
- Expose mediapipe config option "min_pose_detection_confidence" HOT 2
- face blendshape and geometry support HOT 4
- CameraTextureBackground doesn't support Built-in Render Pipeline HOT 4
- Custom model in SSD throws exception: TensorFlowLite operation failed HOT 3
- When the Graphics API is set to OpenGLES3, the ssd tracking does not work. HOT 2
- Fails TFLite Android build on CircleCI HOT 6
- deeplabv3_257_mv_gpu.tflite question HOT 2
- Having multiple tflite models deployed on same application HOT 5
- Better camera quality or a plugin instead of WebcamTexture HOT 1
- Facing Issue with Custom Model Integration HOT 2
- Map the landmarks on BlazePose Sample into a 3D avatar: eg Unity Chan? HOT 3
- Gpu Accelerator not working for linux x86_64. HOT 2
- undefined symbol errors on Xcode HOT 2
- This TensorFlow Lite and the one Xamarin - identical? HOT 1
- DllNotFoundException: libtensorflowlite_jni HOT 2
- Audio classification will produce different results on different runs HOT 9
- Blazepose runs very slowly on mobile HOT 1
- using static image instead of WebCamTexture on BlazePose HOT 2
- Adjustment to SSD Bounding Box Size Calculation to Account for Texture Aspect Ratio HOT 2
- Speech Command HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tf-lite-unity-sample.