Open lktinh2018 opened 1 year ago
Repo is seemingly no longer maintained - please upvote #221
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.
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