Comments (8)
Try with tflite_flutter: ^0.10.0
from flutter-tflite.
@supratikkoley Any luck with this? Going to close out later today.
from flutter-tflite.
I am facing the same issue. The app works fine when run from XCode, but when creating an ipa via flutter build ipa
, the ffi fails to load any native symbols from the C library.
from flutter-tflite.
Just a wild guess, but did you follow the best practice for embedding native code using ffi?
https://docs.flutter.dev/platform-integration/ios/c-interop#open-source-third-party-library
The line declaring the source_files
appears to be commented out in the project's podspec.
from flutter-tflite.
To be clear: I am facing this issue with tflite_flutter: ^0.10.0
from flutter-tflite.
Looks like this is an instance of flutter/flutter#62666 which was resolved by documenting a workaround: https://docs.flutter.dev/platform-integration/ios/c-interop#stripping-ios-symbols
Solution:
- In Xcode, go to Target Runner > Build Settings > Strip Style.
- Change from All Symbols to Non-Global Symbols.
from flutter-tflite.
I'd recommend adding this to the Setup steps in readme and on pub.dev
from flutter-tflite.
Updated in #76. Will aim to publish 0.10.1 today, which will include updating the readme on pub.dev.
Thanks for tracking that down!
from flutter-tflite.
Related Issues (20)
- [!] No podspec found for `flutter_tflite` in `.symlinks/plugins/flutter_tflite/ios` HOT 7
- [Feature] support string tensors as output HOT 2
- [Proposal] Separate packages for the TF Lite binaries to allow the user to select what they need
- Incompatibility tflite in "live_object_detection_ssd_mobilenet" HOT 20
- Issues with either Float32 or shape of output
- Not able to run the model directly on image
- Support for Hexagon Delegate?
- Cannot get yamnet features in flutter
- E/flutter (30995): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: Invalid argument(s): Output object shape mismatch, interpreter returned output of shape: [1, 84, 8400] while shape of output provided as argument in run is: [8400, 4] HOT 2
- The inference speed using the old version is 5-8 times faster than the latest version HOT 7
- null check operator used on a null value HOT 1
- IOS release version does't work HOT 2
- Using GPU for tflite
- Model far less accurate when testing with example code
- Why flutter-tflite doesn't support flutter web HOT 3
- Undefined name 'TfLiteGpuInferenceUsage' and 'TfLiteGpuInferencePrioFrity'. HOT 1
- support for the CUDA platform of NVIDIA graphics cards HOT 2
- Is it possible to run more then one TFLite models at the same time on a Flutter App HOT 1
- NNAPI delegate HOT 1
- Model missing in live object detection
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 flutter-tflite.