Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Teachable Machine Image only works with webgl back end (1.2.1) #236

Open
1 task done
shiffman opened this issue Dec 6, 2024 · 0 comments
Open
1 task done

Teachable Machine Image only works with webgl back end (1.2.1) #236

shiffman opened this issue Dec 6, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@shiffman
Copy link
Member

shiffman commented Dec 6, 2024

Issue Type

Broken API/Method

ml5.js Version

1.2.1

Development Environment

p5.js web editor

Browser & Operating System

Chrome

Issue Description

The Teachable Machine examples no longer work. This was introduced in 1.2.1. They work, however, if you force ml5.setBackend('webgl'). Something seems to be wrong with using webpgu and the teachable machine models? I discovered this in office hours and haven't had the time to investigate deeply.

I've manually made the fix in this example. https://editor.p5js.org/ml5/sketches/VvGXajA36

cc @ziyuan-linn

Minimal Reproducible Example

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant