question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

tfjs - speechcommands on Expo-cli app

See original GitHub issue

To get help from the community, we encourage using Stack Overflow and the tensorflow.js tag.

TensorFlow.js version

@tensorflow/tfjs”: “^1.1.2”

Browser version

Expo-cli app

Describe the problem or feature request

i tried to reproduce the same functionality done in a react.js version by using tfjs/speech-commands model. But it seems that this is not working on the mobile app. first of all it was a problem of fs which does not exist on react-native, so i change it in speech-commands files to react-native-fs, no problems shown in this part after. But now, the problem is comming from ensureModelLoaded method, it throws the exception: FileReader.readAsArrayBuffed is not implemented. Is there any way to solve this, or any other method to implement speechcommand model in mobile apps? thank you.

Code to reproduce the bug / link to feature request

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
tafsiricommented, Jun 24, 2019

@pejoujarrar TensorFlow.js does not currently work on react-native. We are actively working on it now, so I can let you know when we have something released that can be tested by folks in the community.

0reactions
rthadurcommented, Oct 8, 2019

Automatically closing due to lack of recent activity. Please update the issue when new information becomes available, and we will reopen the issue. Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Image Classification on React Native with ... - Aman Mittal
Open the terminal window, and create a new Expo app by executing the command below. expo init mobilenet-tfjs-expo.
Read more >
Speech Command Recognition With Tensorflow.JS and React ...
Install the Tensorflow.JS Speech Command Recognition 2. Build a React Web App that leverages the model 3. Displaying speech commands to the ...
Read more >
Hands-On Machine Learning With Tensorflow - Js | PDF - Scribd
o Use the t-SNE algorithm in TensorFlow.js to reduce dimensions in an input. dataset o Deploy tfjs-converter to convert Keras models and load...
Read more >
Experimenting with TensorFlow.js - Tao
This application is based on the example code provided by tfjs-react-native . You can visit the demo here: https://expo.io/@t73liu/tfjs- ...
Read more >
Speech Command Recognition with Tensorflow.js and React.js
yarn add @tensorflow/tfjs @tensorflow-models/speech-commands ... We need to import them in the App.js file of our React project as shown in ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found