-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
undefined is not an object (evaluating 'env().platform.fetch') for poseNet in React Native #5167
Comments
Yes React Native CLI is supported https://github.com/tensorflow/tfjs/tree/master/tfjs-react-native#step-1-create-your-react-native-app , you need to install all the expo dependencies even though you are not using the expo. Please refer a related issue here #4475 |
Thanks for your response @rthadur |
Can we have the . tflite file for poseNet bundled with the app ? If yes how do I get it. I can only download the .tflite file for it. And in the docs they specify some path for .json and .bin |
Sorry,I did not quite get it , are you trying to use tflite models in tfjs ? if yes please refer here https://github.com/tensorflow/tfjs/blob/master/tfjs-tflite/README.md |
Thanks again @rthadur |
System information
Describe the problem
I always get this response when I tried to
load()
the posenet from@tensorflow-models/posenet
. I am using React Native CLI not Expo.I installed and configured the packages as per the document.
Is TensorFlow supported for React Native CLI or just Expo projects?
The text was updated successfully, but these errors were encountered: