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
As the latest tensorflowjs provide webworker support, it makes the inference less likely to block the UI rendering (in another world, it will be less likely to freeze the UI).
Here is a post that describes the webworker in tensorflowjs.
I think we should upgrade the tensorflowjs so that our ml5 could have such support too.
I can also write a quick tutorial for webworker in ml5 after the upgrade.
The text was updated successfully, but these errors were encountered:
@WenheLI - This is definitely on our list, however since we have tfjs dependencies that vary across the different models we support, we should try to stay in-sync with those if possible. As you've pointed out, there's a lot of exciting updates from the tfjs side so we should definitely try to bump the version up when we can!
I think we were able to accomplish this in #846, though there's still work to be done around updating all of our other models to their latest versions.
@WenheLI would you still be interested in the webworker changes?
As the latest tensorflowjs provide webworker support, it makes the inference less likely to block the UI rendering (in another world, it will be less likely to freeze the UI).
Here is a post that describes the webworker in tensorflowjs.
I think we should upgrade the tensorflowjs so that our ml5 could have such support too.
I can also write a quick tutorial for webworker in ml5 after the upgrade.
The text was updated successfully, but these errors were encountered: