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

Getting error message in console: Initialization of backend webgpu failed #231

Open
1 task done
jht9629-nyu opened this issue Nov 19, 2024 · 2 comments
Open
1 task done
Labels
bug Something isn't working

Comments

@jht9629-nyu
Copy link

Issue Type

Runtime Error, Unexpected Behavior

ml5.js Version

v.1.2.0 Latest

Development Environment

p5js editror

Browser & Operating System

Chrome Macos Version 131.0.6778.69 (Official Build) (arm64)

Issue Description

From documentation:
https://docs.ml5js.org/#/reference/bodypose

run the example sketch:
https://editor.p5js.org/ml5/sketches/hMN9GdrO3
Following error is displayed in console:
Initialization of backend webgpu failed
index.js:259 TypeError: t.requestAdapterInfo is not a function
at Object.factory (pose-detection.esm.js:17:97544)
at async b.ready (engine.js:93:13)
at async fG.loadModel (index.js:256:7)

Minimal Reproducible Example

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@jht9629-nyu jht9629-nyu added the bug Something isn't working label Nov 19, 2024
@jht9629-nyu
Copy link
Author

Today the error is no longer been displayed, but this may be indicative of a bigger issue where sub components of ml5 library are changing that are not part of the npm library delivery

@TimChen3345
Copy link

TimChen3345 commented Nov 21, 2024

I am running into the same issue:
https://editor.p5js.org/tc3902/sketches/7h4WyQQe7

Here is the error I got in console:

Initialization of backend webgpu failed
TypeError: t.requestAdapterInfo is not a function
at Object.factory (https://unpkg.com/ml5@1/dist/ml5.min.js:18352:117148)
at async b.ready (https://unpkg.com/ml5@1/dist/ml5.min.js:102:916)
at async fG.loadModel (https://unpkg.com/ml5@1/dist/ml5.min.js:18359:1917)

I am running in Google Chrome Version 131.0.6778.86 (Official Build) (64-bit)

Processor: AMD Ryzen 9 7845HX with Radeon Graphics 3.00 GHz
Edition Windows 11 Home
Version 23H2
Installed on ‎8/‎16/‎2024
OS build 22631.4460
Experience Windows Feature Experience Pack 1000.22700.1047.0

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

2 participants