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

Tflite 2.11.0 ios error! #215

Open
lktinh2018 opened this issue Dec 9, 2022 · 2 comments
Open

Tflite 2.11.0 ios error! #215

lktinh2018 opened this issue Dec 9, 2022 · 2 comments

Comments

@lktinh2018
Copy link

Hello, I built tflite 2.11.0 successfully.
But I got this error while running.
Please help me!

2022-12-09 23:17:31.244139+0700 Runner[4348:262567] Created TensorFlow Lite delegate for Metal.
INFO: Created TensorFlow Lite delegate for Metal.
2022-12-09 23:17:31.246144+0700 Runner[4348:262567] flutter: Error while creating interpreter: Invalid argument(s): Failed to lookup symbol 'TfLiteInterpreterOptionsCreate': dlsym(RTLD_DEFAULT, TfLiteInterpreterOptionsCreate): symbol not found
2022-12-09 23:17:31.249074+0700 Runner[4348:262567] [VERBOSE-2:dart_vm_initializer.cc(41)] Unhandled Exception: Invalid argument(s): Failed to lookup symbol 'TfLiteInterpreterOptionsCreate': dlsym(RTLD_DEFAULT, TfLiteInterpreterOptionsCreate): symbol not found

@walsha2
Copy link

walsha2 commented Feb 9, 2023

Repo is seemingly no longer maintained - please upvote #221

@CaptainDario
Copy link

Hello, I built tflite 2.11.0 successfully. But I got this error while running. Please help me!

2022-12-09 23:17:31.244139+0700 Runner[4348:262567] Created TensorFlow Lite delegate for Metal. INFO: Created TensorFlow Lite delegate for Metal. 2022-12-09 23:17:31.246144+0700 Runner[4348:262567] flutter: Error while creating interpreter: Invalid argument(s): Failed to lookup symbol 'TfLiteInterpreterOptionsCreate': dlsym(RTLD_DEFAULT, TfLiteInterpreterOptionsCreate): symbol not found 2022-12-09 23:17:31.249074+0700 Runner[4348:262567] [VERBOSE-2:dart_vm_initializer.cc(41)] Unhandled Exception: Invalid argument(s): Failed to lookup symbol 'TfLiteInterpreterOptionsCreate': dlsym(RTLD_DEFAULT, TfLiteInterpreterOptionsCreate): symbol not found

Does CPU inference work?
If not, It seems like you did not build your library with Metal delegate support. Therefore it is not finding the symbols.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants