Skip to content
This repository has been archived by the owner on Apr 18, 2023. It is now read-only.

[WASM/WebGL] Failed to run WASM/WebGL backend with intel.github.io on Windows #1385

Open
mingmingtasd opened this issue Nov 17, 2020 · 4 comments
Assignees
Labels
bug Something isn't working p1 Highest priority

Comments

@mingmingtasd
Copy link
Contributor

I find that there is something wrong with intel.github.io.
For WASM backend, it reports that "Backend 'wasm' has not yet been initialized. Make sure to await tf.ready() or await tf.setBackend() before calling other methods".
For WebGL backend, page will be frozen on model compilation process.

image

image

@mingmingtasd mingmingtasd self-assigned this Nov 17, 2020
@BruceDai
Copy link
Contributor

@mingmingtasd Did enable both SIMD and Threads flags?There's an issue #1381 Failed to run Wasm + SIMD + Threads on https://intel.github.io/webml-polyfill/examples.
For testing on WebGL backend, I couldn't reproduce the frozen issue.
What's your test environment?

@mingmingtasd mingmingtasd changed the title [WASM/WebGL] Failed to run WASM/WebGL backend with intel.github.io [WASM/WebGL] Failed to run WASM/WebGL backend with intel.github.io on Windows Nov 17, 2020
@mingmingtasd
Copy link
Contributor Author

@mingmingtasd Did enable both SIMD and Threads flags?There's an issue #1381 Failed to run Wasm + SIMD + Threads on https://intel.github.io/webml-polyfill/examples.
For testing on WebGL backend, I couldn't reproduce the frozen issue.
What's your test environment?

Please reproduce on windows with intel.github.io. The issue occurs whether I enable the simd/thread or not.

@ibelem ibelem added bug Something isn't working p1 Highest priority labels Dec 4, 2020
@BruceDai
Copy link
Contributor

BruceDai commented Feb 2, 2021

@mingmingtasd I have update the github-page with tf.js 2.0.1. I check this issue on my side on Linux and Windows platform, it isn't reproduced. Would you please verify it on your side, thanks.

@mingmingtasd
Copy link
Contributor Author

@mingmingtasd I have update the github-page with tf.js 2.0.1. I check this issue on my side on Linux and Windows platform, it isn't reproduced. Would you please verify it on your side, thanks.

LGTM, verified yet, you can close this issue now, thanks! @BruceDai

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working p1 Highest priority
Projects
None yet
Development

No branches or pull requests

3 participants