ml5js / ml5-library

Friendly machine learning for the web! 🤖

Home Page:https://ml5js.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

JSON PoseNet Data Collection failed to train

aryaharditya opened this issue · comments

Dear ml5 community,

I'm submitting a new issue. Please see the details below.

So i've followed Dan's tutorial series this week on Pose Classification, to the point where it is required to train the collected pose dataset. I remember i followed the same tutorial 2 years ago and it went well. But now it gives me this error:

Error: Error: Expected units to be a positive integer, but got 0.

Screenshot_20221130-220556_Firefox

Here is the link to the code:
https://editor.p5js.org/aryaharditya/sketches/F0j1C9wBp

I've used the latest ml5.min.js link on my html.

Thank you in advance!

Hi @aryaharditya ,

Thank you for including the link! I tried your sketch and it seems to be working fine now (see screenshot below). If you encounter more problems, feel free to reopen the issue!

Screenshot 2023-07-10 at 10 29 25 PM

Miaoye