onnxruntime_flutter
onnxruntime_flutter copied to clipboard
A flutter plugin for OnnxRuntime provides an easy, flexible, and fast Dart API to integrate Onnx models in flutter apps across mobile and desktop platforms.
**Execute:** OrtEnv.instance.init(); **The error message:** Invalid argument(s): Failed to lookup symbol 'OrtGetApiBase': The specified procedure could not be found. (error code: 127) **The log:** dart:ffi DynamicLibrary.lookup package:onnxruntime/src/bindings/onnxruntime_bindings_generated.dart 38:70 OnnxRuntimeBindings._OrtGetApiBasePtr package:onnxruntime/src/bindings/onnxruntime_bindings_generated.dart...
`final session = OrtSession.fromBuffer(bytes, sessionOptions);` is not support for onnx opset v19, but run in opset v18 is successful. the log when I run using onnx opset v19: ``` E/flutter...
Are there still plans to add web support?
I see that the plugin did support the android emulator for a single commit before that support was removed. I have checked out the commit just before x86 android support...
There's no implementation of `OrtValueTensor.createTensorWithDataList` which supports `Float16` instead of `Float`. Ideally this wouldn't be too hard just requires an implementation of: - `ffi.Float16` or something similar - `Float16List` -...
i have 500 mb model file onxx will it support ? and need some more example really great work
In python there `Session` has `get_inputs` and `get_outputs` ```python def get_inputs(self): "Return the inputs metadata as a list of :class:`onnxruntime.NodeArg`." return self._inputs_meta def get_outputs(self): "Return the outputs metadata as a...
Can you please add example for this model [https://github.com/imgly/background-removal-js/tree/main/bundle/models](https://github.com/imgly/background-removal-js/tree/main/bundle/models)
The plugin works perfectly when used on iOS applications that were build from flutter or Xcode, both in debug as in release mode. However, once packaged into an IPA in...
### Reproduction 1. Fork the onnxruntime_flutter 2. Go to lib/src/ort_session.dart 3. Inside the `OrtSessionOptions` class _ligne 242_ 4. Add the registerCustomOpsLibrary methode ``` void registerCustomOpsLibrary(String libPath) { final ppv =...