Comments (6)
The error shows that it failed to load native plugins libtensorflowlite_c.so
and libtensorflowlite_gpu_delegate.so
. The native android plugins are built for only ARM64 CPU for now. It doesn't support ARMv7 refs #11
Or it might also help to test if Posenet model works on the official Android sample.
https://github.com/tensorflow/examples/tree/master/lite/examples/posenet/android
from tf-lite-unity-sample.
The error shows that it failed to load native plugins
libtensorflowlite_c.so
andlibtensorflowlite_gpu_delegate.so
. The native android plugins are built for only ARM64 CPU for now. It doesn't support ARMv7 refs #11Or it might also help to test if Posenet model works on the official Android sample.
https://github.com/tensorflow/examples/tree/master/lite/examples/posenet/android
Thanks for your quick response!
The CPU of my Android phone is ARM64-v8a. And I am also wondering why the sample from this repo works well in my phone even though throwed such error.
from tf-lite-unity-sample.
I am new to Tflite. I might make a stupid mistake. The privious tflite model cames from pb without quantization. After converting my pb model with a quantization option, the second error disappears. But the first error remains, which is strange.
from tf-lite-unity-sample.
sorry, I was misunderstood. In that case, I think the generated tflite model is not supported. If the model works on the official Android sample, you might want to try updating *.so library.
from tf-lite-unity-sample.
sorry, I was misunderstood. In that case, I think the generated tflite model is not supported. If the model works on the official Android sample, you might want to try updating *.so library.
But why this sample works well even though throw that error?
Maybe every time this error just occurs. The reason why nobody noticed that is no one look into adb log because their models work just fine.
from tf-lite-unity-sample.
#77
I had a similar problem, the solution provided by @ganaware might help you:
I have had a similer problem.
The cause of the problem is that Mono is the default scripting backend for a new unity project for Android.
Unfortunately, Mono can run only for the ARMv7 architecture.So my solution is that:
Project Settings > Player > Android > Other Settings > Configuration
Select IL2CPP for Scripting Backend
Uncheck ARMv7 and check ARM64 for Target Architectures
Or, build my own TFLite library for ARMv7
libnnapi_delegate.so, libtensorflowlite_c.so, libtensorflowlite_gpu_delegate.so
They worked fine for me.
from tf-lite-unity-sample.
Related Issues (20)
- TextureToTensor GPU options HOT 2
- Best Way to handle null values in Input Tensor
- Build on v2.12.0 fails in GPU delegate (Android + Linux) HOT 1
- Missing meta files in TensorFlow Lite package 2.12.0 HOT 2
- Unable to support TensorFlow Lite Task Library model? HOT 5
- Accelerator compatibility issue on Android phones HOT 1
- 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
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.