Comments (2)
I think that maybe you can do this by using dart:ffi to create a wrapper for tensorflow cpp API,but it’s hard to do so because you have to deal with NVCC and you must write some scripts to automatically configure environment for different users to make it easy to use.
btw,I don’t think it’s necessary to use Dart to replace Python because Dart doesn’t have advantages over Python in terms of machine learning.Take me as an example:I’m currently reimplementing PyTorch high-level APIs by using dart:ffi to create wrappers for libtorch,and I found that sometimes it’s impossible to reimplement some operations which make PyTorch easy to use as Dart doesn’t have some magic functions(for example,radd).Also,I think sometimes directly train neural networks in Dart is not so important because you can train them in python(by using Tensorflow and PyTorch)and then output graphs,after that you can do inference in Dart easily.
In addition,I think that what Dart really need is a numpy-like tensor library.That’s why I’m reimplementing PyTorch high-level APIs in Dart.because tensor library for PyTorch is just like numpy.
from flutter-tflite.
@KernelInterrupt excellent job, I'm going to learn Dart ffi and I myself will start creating my own tools I hope I can at least receive some support from Google to guarantee the success of the project I want an ecosystem made in Dart Google has everything to do it the idea is that Dart can Being the main language of any developer that is an economically profitable language, there is no point in investing time and money in learning this technology if you cannot monetize it in the labor market with any type of project, not only Apps, but any type of project is what it offers. language like C# or Swfit, those who invest in these languages always have several options at the framework level to participate in any project always using the main language that was chosen
All of us who are dedicated to using Dart and Flutter currently want this so as not to depend on other technological stacks, for example, some javascript or java framework, we want a 360 view of the Dart language, which is why it is necessary that the Google cloud offers support and go step by step gaining ground to see the growth of the platform, what they are doing is very good, although they must now look towards the back end and AI to develop the language
from flutter-tflite.
Related Issues (20)
- 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
- 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
- How can I load a tflite model using Isolate? HOT 1
- Super slow inference speed for a certain model
- Unhandled exception: type 'List<double>' is not a subtype of type 'List<int>' of 'value' HOT 4
- Build issue with old version
- Need help for super-resolution for onnx like tflite implemention (Not issue)
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.