webml-polyfill
webml-polyfill copied to clipboard
[DNNL] The labels are incorrect for squeezeNet(OpenVINO)
Test Env: Chromium Version: nightly build 75.0.3739.0 (f456c6d) Platform: Linux/Windows/macOS
Expected Result: The labels should be correct.
Actual Result: The labels are incorrect for squeezeNet(OpenVINO):

How to Reproduce:
- Setup test server and start
- Visit http://localhost:8080/examples/image_classification
- Select FAST_SINGLE_ANSWER
- Select squeezeNet(OpenVINO)
This might be an issue in the softmax. If we bypass the softmax, i.e. set SOFTMAX under mkldnn to False, and enable dual-backend, say WASM + FAST, then it works fine.
It seems that it’s the input shape of the softmax that leads to the wrong results: [1,1000] is ok but not the [1,1,1,1000].
https://github.com/intel/webml-polyfill/issues/884