Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use CoreML delegate #142

Open
Kypsis opened this issue Jul 20, 2021 · 1 comment
Open

How to use CoreML delegate #142

Kypsis opened this issue Jul 20, 2021 · 1 comment
Labels
bug Something isn't working iOS

Comments

@Kypsis
Copy link

Kypsis commented Jul 20, 2021

In tflite_flutter.dart export 'src/delegates/coreml_delegate.dart'; is missing. Even if you fix that how do you actually get CoreML delegate working.

I tried what this guy did to get Metal working: #100 (comment) by building bazel build --config=ios_fat -c opt //tensorflow/lite/ios:TensorFlowLiteCCoreML_framework --incompatible_run_shell_command_string=false and adding extra fields for CoreML in appropriate places but inevitably you end up with symbol(s) not found for architecture arm64 error when trying to build for IOS. Fat or arm64, same result.

@am15h am15h added bug Something isn't working iOS labels Mar 6, 2022
@CaptainDario
Copy link

@Kypsis I do not know if you already found a workaround, but you can just use the hosted version of TF Lite with CoreML delegate. Take a look at my fork

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working iOS
Projects
None yet
Development

No branches or pull requests

3 participants