You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After training a model on Teachable Machine, the website shows various code examples. The example for p5.js no longer works after ml5's 1.0 update.
In the image above, the example has ml5@latest in the CDN link, which links to version 1 of the ml5 library. However, the code written in the example is for version 0.12. Running the example will cause an error.
We can't do much about this on our end, but perhaps it is worth reaching out to Google.
@ziyuan-linn I think we might be able to submit a PR to this p5.js markdown file in the TM GitHub repo? But I'm not sure if this will automatically deploy the the TM website.
Hi @apitaru is this something you could maybe help with? We've updated ml5.js and we'd like to update the p5.js examples provided with teachable machine!
After training a model on Teachable Machine, the website shows various code examples. The example for p5.js no longer works after ml5's 1.0 update.
In the image above, the example has
ml5@latest
in the CDN link, which links to version 1 of the ml5 library. However, the code written in the example is for version0.12
. Running the example will cause an error.We can't do much about this on our end, but perhaps it is worth reaching out to Google.
Tagging @dano1234.
The text was updated successfully, but these errors were encountered: