Open michal16295 opened 4 years ago
Hi @michal16295 - Thanks for posting this question. Can you share additional code and/or context for this issue. It would be helpful for us to see the rest of your code in order to debug.
Thanks!
I have the same issue using the code found on your tutorial
I have the same issue using the code found on your tutorial
Same issue. Getting NaN confidences with a custom dataset. https://editor.p5js.org/hanleyweng/sketches/pRXlNix-P
Update: I solved the NaN issue in my case. I suspect(ed) that my data wasn't playing well with the normalizeData() function. After manually normalizing my data (in excel) beforehand, and removing any columns which had a value of 0.00 . That worked for me.
Hello @joeyklee, can't this issue be solved with something other than a software approach?
I recommend looking the ml5 documentation https://www.bookstack.cn/read/ml5js/24b0850e81e4a479.md
I have the same issue using the code in https://learn.ml5js.org/#/reference/neural-network
Same issue here with the default example and ml5 v0.4.3: codepen reproduction
Hello, i'm following this tutorial https://www.youtube.com/watch?v=FYgYyq-xqAw&t=528s and getting an NaN in results[0].confidence
gotResult = (error, results) => { if (results[0].confidence > 0.7) { this.poseLabel = results[0].label.toUpperCase(); } console.log(results[0]); this.classifyPose(); };