model.predict causing ImagePicker.launchCameraAsync to crash Expo react native app

148 views
Skip to first unread message

Eric Stein

unread,
Feb 25, 2020, 10:33:03 PM2/25/20
to TensorFlow.js Discussion
Hello,

I have run into a strange issue; after I call model.predict in my managed Expo react native app, subsequent calls to ImagePicker.launchCameraAsync (from 'expo-image-picker') result in app crashes. Before calling model.predict, launchCameraAsync works fine. Could this be related to a memory-overload issue? Is model.predict continuously taking up memory behind the scenes after returning a value?
Has anyone else encountered this issue and found a solution?

Thanks.

Nikhil Thorat

unread,
Feb 26, 2020, 1:11:36 PM2/26/20
to Eric Stein, TensorFlow.js Discussion, Yannick Assogba
--
You received this message because you are subscribed to the Google Groups "TensorFlow.js Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tfjs+uns...@tensorflow.org.
To view this discussion on the web visit https://groups.google.com/a/tensorflow.org/d/msgid/tfjs/1dd1e956-81d6-4321-a968-70dfa0629132%40tensorflow.org.
Reply all
Reply to author
Forward
0 new messages