Closed Junhano closed 3 years ago
i don't think you need tfjs-converter and tfjs-core in dependencies , please refer here for package.json https://github.com/tensorflow/tfjs/blob/master/tfjs-react-native/package.json cc @tafsiri
@Junhano It looks like you might be missing a step in the installation of unimodules, did you go through everything here? https://github.com/tensorflow/tfjs/tree/master/tfjs-react-native#step-2-install-dependencies
To answer your other question, yes you still need to install those dependencies outside of an expo based app.
Ok So I reinstall many module and the app start now. However it still shows The kernel 'undefined' for backend 'cpu' is already registered The kernel 'undefined' for backend 'webgl' is already registered These two warnings
"@tensorflow/tfjs-backend-cpu": "^2.8.2",
"@tensorflow/tfjs-backend-webgl": "^2.8.2",
"@tensorflow/tfjs-converter": "^2.7.0",
"@tensorflow/tfjs-core": "^2.7.0",
I think you want these to all be the same version (either 2.7.0 or 2.8.2)
So I try to install Tensorflow on my React Native app but after installing all the required dependency it return some errors on my IOS phone
That's my package.json
I make sure I did pod install as well. Also side questions. I don't use expo for my app at all. Do I still need to install those dependency to make Tensorflowjs work?