ml5.neuralNetwork classify return results[0].confidence = NaN
Author: michal16295Created May 13, 2020Updated Jun 4, 2025
Labelsquestionneural-network
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(); };
Source: ml5js/ml5-library