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

[DNNL] The labels are incorrect for squeezeNet(OpenVINO)

Open Christywl opened this issue 6 years ago • 2 comments

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):

SqueezeNet(OpenVINO)

How to Reproduce:

  1. Setup test server and start
  2. Visit http://localhost:8080/examples/image_classification
  3. Select FAST_SINGLE_ANSWER
  4. Select squeezeNet(OpenVINO)

Christywl avatar Jun 19 '19 07:06 Christywl

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.

pinzhenx avatar Jun 19 '19 07:06 pinzhenx

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

pinzhenx avatar Jun 19 '19 09:06 pinzhenx