Comments (5)
I found a solution that works for myself: I changed the detection model from BlazePose
into MoveNet
simply changed the statement
const detector = await poseDetection.createDetector(
poseDetection.SupportedModels.BlazePose,
{
runtime: 'tfjs',
enableSmoothing: true,
});
into
const detector = await poseDetection.createDetector(
poseDetection.SupportedModels.MoveNet,
{
runtime: 'tfjs',
enableSmoothing: true,
});
and It works.
Still curious as to why BlazePose would output only NaNs without throwing any error.
from tfjs.
Hi, @autotel
I apologize for the delayed response and good to hear that your issue got resolved after changing poseDetection.SupportedModels.BlazePose
to poseDetection.SupportedModels.MoveNet
, actually I'm trying to replicate the same behaviour from my end but after running npm run serve
command I'm getting DONE Compiled successfully in 1414ms
message when I'm trying run http://localhost:8080/?model=blazepose
and http://localhost:8080/?model=MoveNet
after clicking on Start Capture
button I'm getting below error message even though I have given permission to my camera so do you have any idea why I'm getting below error, if so please guide me so I can replicate same behavior from my end also.
Here is error screenshot for reference :
Thank you for your cooperation and patience.
from tfjs.
This issue has been marked stale because it has no recent activity since 7 days. It will be closed if no further activity occurs. Thank you.
from tfjs.
This issue was closed due to lack of activity after being marked stale for past 7 days.
from tfjs.
Are you satisfied with the resolution of your issue?
Yes
No
from tfjs.
Related Issues (20)
- Load and save model issue HOT 5
- [Codelab]: Making Predictions from 2D Data HOT 4
- Duplicate weight problem HOT 7
- The if statement refers to `bias.shape.length`, but the error message refers to `kernel.shape.length` HOT 6
- Question: is the Windows tensorflow binary / dll used in tfjs-node compiled with support for zenDNN optimisations? HOT 2
- Standard layers (like `tf.layers.dense`) fail to report their trainable weights, when used from within a custom layer HOT 2
- Error installing @tensorflow/tfjs-node at WSL Ubuntu HOT 3
- Bug when stacking LSTM HOT 4
- Tensor construction fails for the majority of TypedArray types HOT 1
- Trouble loading a saved model in tfjs-node, "Op type not registered 'DisableCopyOnRead'" HOT 1
- tfjs-node - upgrade tar >=6.2.1 HOT 3
- Undefined variable tensorflow-library-target in binding.gyp HOT 4
- tensorflowjs_converter: NotImplementedError: numpy() is only available when eager execution is enabled HOT 9
- tensorflowjs_converter on .keras file messes up weights HOT 4
- Safari webworker `Error when getting WebGL Context` HOT 1
- tfjs-node-gpu warnings (not running in GPU mode) HOT 2
- Model with softmax output layer not outputing probabilities but just 1 and 0 HOT 2
- Model Face Detection Confidence Score Output or Minimum Confidence Score Threshold
- model.executeAsync fails when loading multiple converted TF-DF models HOT 1
- TensorFlowJS fails reliably on Intel GPU running Windows, otherwise succeeds HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tfjs.