webml-polyfill icon indicating copy to clipboard operation
webml-polyfill copied to clipboard

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

Open mingmingtasd opened this issue 5 years ago • 4 comments

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 avatar Nov 17 '20 03:11 mingmingtasd

@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?

BruceDai avatar Nov 17 '20 03:11 BruceDai

@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.

mingmingtasd avatar Nov 17 '20 03:11 mingmingtasd

@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.

BruceDai avatar Feb 02 '21 10:02 BruceDai

@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

mingmingtasd avatar Feb 03 '21 02:02 mingmingtasd