react-native-fast-tflite icon indicating copy to clipboard operation
react-native-fast-tflite copied to clipboard

Why does the app close/crash on using the useTensorflowModel?

Open rahulshahzy opened this issue 8 months ago • 2 comments

When I use useTensorflowModel in the code for an example app: const object = useTensorflowModel(require('../assets/efficientdet.tflite'))

I get this in the console: (NOBRIDGE) LOG Loading react-native-worklets-core... (NOBRIDGE) LOG Worklets loaded successfully (NOBRIDGE) LOG Installing bindings... (NOBRIDGE) LOG Successfully installed! (NOBRIDGE) LOG {"model": undefined, "state": "loading"}

Also the app is being closed automatically when that line is executed, I don't understand what is the issue, please help me with that?

rahulshahzy avatar Feb 22 '25 17:02 rahulshahzy