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

Async load and notify dependencies in TF Component #38

Open
getnamo opened this issue Oct 28, 2018 · 0 comments
Open

Async load and notify dependencies in TF Component #38

getnamo opened this issue Oct 28, 2018 · 0 comments

Comments

@getnamo
Copy link
Owner

getnamo commented Oct 28, 2018

If dependencies aren't installed yet in a packaged build there may be a blocking load (usually in a black screen) and require a map restart to enable the tensorflow component.

This isn't ideal, consider try/catch importing or checking a json file on bootup and if it's not ready, wait for a signal from the dependency installs to continue with imports.

We could then expose a multicast delegate in the Tensorflow Component that notifies if dependencies are still pending (progress? likely will go 0 to 100 immediately), and when they're fully installed/ready. Devs could use this event to signal to user that there are installations going on and show e.g. a spinning widget.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant