intel / webml-polyfill

Deprecated, the Web Neural Network Polyfill project has been moved to https://github.com/webmachinelearning/webnn-polyfill
Apache License 2.0
161 stars 42 forks source link

[clDNN] "InvalidStateError: fails: 4" occurs for DEPTHWISE_CONV_2D and SOFTMAX operations #243

Closed Christywl closed 5 years ago

Christywl commented 6 years ago

Test Env: Chromium Version: nightly build 70.0.3503.0 (48326a5) Platform: Windows(Dell XPS 13), Linux Ubuntu 16.04

Expected Result: The test should pass.

Actual Result: "InvalidStateError: fails: 4" occurs for DEPTHWISE_CONV_2D and SOFTMAX operations.

InvalidStateError: fails: 4

How to Reproduce:

  1. Launch chromium and enable WebML flag
  2. Visit https://brucedai.github.io/nt/test/cts-all.html
ibelem commented 5 years ago

It may block mobilenet example with onnx format. Raise priority.

huningxin commented 5 years ago

@Christywl , could you please provide a set of failure test cases instead of cts-all?

huningxin commented 5 years ago

@ibelem , could you please confirm the onnx mobile issue? What are the reproduce steps? Thanks!

Christywl commented 5 years ago

@huningxin , you could use https://brucedai.github.io/nt/test/depthwise-softmax.html.

pinzhenx commented 5 years ago

Results for onnx mobilenet

screenshot from 2018-11-27 16-19-08

As shown above, the layer outputs diverge at mobilenetv20_features_linearbottleneck0_relu1_fwd, which is a fused node of depthwise convolution. Check the model here.

Test Env

Chromium Version: nightly build 70.0.3503.0 (b7ce158) Platform: Linux Ubuntu 16.04

How to reproduce

Link: https://pinzhenx.github.io/webml-demo/examples/image_classification_onnx/testlayer?model=mobilenetv2-1.0 Set log level to Verbose, mute Info & Warnings

Christywl commented 5 years ago

On the nightly build efb0f90, this issue wasn't reproduced. The tests still failed due to #565 and #244. Please see the details in #565 and #244, so close this issue.