Questions tagged [tensorflow.js]
TensorFlow.js is a library for developing and training ML models in JavaScript, and deploying in browser or on Node.js
tensorflow.js
1,600
questions
0
votes
0
answers
8
views
TensorFlow.js Head movement event yes, no
I’m currently building a website, and I would really like to receive events from the webcam based on head movements (agreement, denial).
I read the documentation TensorFlow, but I didn’t understand ...
0
votes
0
answers
11
views
Can I package a pretrained tensorflowjs model within my ReactJs App
I am looking to use tensorflowjs on the browser as part of my ReactJS app. The model I am trying to use (as a proof of concept) is toxicity model. It is meant to detect overly toxic reviews and ...
1
vote
0
answers
27
views
Mobile inference in a React Native App: use tensorflow in a native module or use directly Tensorflow.js in React Native?
I want to performance a face detection + face recognition in a React Native App offline, so I need to do my inference directly on mobile. I see that are many ways to do that, such as with Tensorflow....
0
votes
0
answers
19
views
Provided weight data has no target variable: sequential/conv2d/kernel
I am building a website that uses facial emotion recognition system on the browser. I built and trained a CNN model in tensorflow and converted it to tensorflow.js. However, while loading the model I ...
0
votes
0
answers
12
views
input_shape error while converting tensorflow model to tensorflow.js model
I want to use my deep learning CNN algorithm in a web application and I converted my tensorflow model, emotion_model.h5 to a tensorflow.js model using this command in the terminal
...
0
votes
0
answers
10
views
How to get the tfjs model movenet singlepose-lightning-4 in INT8?
This is the smallest tfjs movenet model now movenet/tfJs/singlepose-lightning,but I want get a samller one.
I try to convert it to quantize_uint8 follow this tfjs-converter,but not successed.
I want ...
0
votes
0
answers
30
views
Cannot install Tensorflowjs
I have a keras machine learning model titled "melanoma_binary_classifer.keras", and I am trying to convert it to tf.js layer format, and load it into tensorflow.js. I am doing this by ...
0
votes
0
answers
51
views
Install tensorflow\tfjs-node on Windows 11
I've got a lot of problem installing TFJS
My situation:
Python v3.11.9 (from vscode terminal)
NodeJS v20.14.0 (from vscode terminal)
Windows 11
Visual Studio Community installed
What i've done:
...
0
votes
0
answers
16
views
Setup a Residual Neural Network block in tfjs tensorflow.js
I am trying to implement the behavior of a ResNet (Residual Neural Network) in tensorflow.js. I am hoping someone who knows what they are doing can point me in the right direction. Would the following ...
1
vote
0
answers
20
views
cannot back propagate on multi head attention tensorflowjs
I am trying to create a multi-head attention using tensorflowjs. When trying to train the model, an error kept popping up that the gradient shape was inconsistent with the input shape.
reproducable ...
0
votes
0
answers
22
views
How to detect background and gender(man,women) using TensorFlow.js?
I am trying to create a Web app where user provide a photo and the app should detect the object also gender if he/she of the image and the backgroud. I can detect object by TensorFlow.js object ...
0
votes
0
answers
18
views
Converting Model Saved by tfjs-react-native to Keras or Saved Model
I am having difficulties in converting a model saved by tfjs-react-native to a Keras or TF_Saved_Model format using tensorflowjs_converter. My intention is to use federated learning to train a global ...
0
votes
0
answers
19
views
How to get the tensorflow.js model predictions percentage in float
I am following on the codelabs of TensorFlow.js — Handwritten digit recognition with CNNs
The screenshot above, shows the prediction as a float, but when I am calling
const predict = this.model?....
0
votes
0
answers
13
views
Calculate user height from tensorflow pose
Here i have write logic of get pose from image or video
const pose = await net.estimateSinglePose(video);
estimateHeight(pose)
const minConfidence = 0.5;
I want to find height ...
0
votes
0
answers
35
views
Getting a domain/app's categories by quering the chrome://topics-internals/ Classifier directly
Chrome's Topics API's internal tool chrome://topics-internals/ has a Classifier that can list which categories a domain/app belongs to, as determined by an offline file (which is shipped with Chrome) ...