-
Notifications
You must be signed in to change notification settings - Fork 24
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
setBackend() required for ml5.neuralNetwork() bug #117
Comments
I think that all we need is an The |
Adding
I will try to investigate this further. |
Over the long term I think that the ideal thing would be to avoid synchronous operations and use It seems like the error has been fixed by TFJS, not sure what version it was released in. It might be that we need to bump our dependencies. |
Thank you @lindapaiste! I will try to bump the dependencies and see what happens. I agree that switching to async would be ideal over the long term. |
The
ml5.neuralNetwork()
examples require either:Without one of the above, the examples break with an error related to
webgpu
, see #34. This came up again while reviewing #105. We'll leave it for now, but it would be great to remove the requirement from the examples and have them all work withwebgl
as default.The text was updated successfully, but these errors were encountered: