Skip to content

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

@shiffman

Description

@shiffman

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions