intel / webml-polyfill

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

[WebGL] The browser crashed for some examples with WebGL backend on Android #376

Closed Christywl closed 5 years ago

Christywl commented 5 years ago

Test Env: Chromium nightly build 70.0.3503.0 (46503cb) , chrome stable 70.0.3538.110 Platform: Google Pixel 2(Android 8.1.0), Huawei P20(Android 8.1.0)

Expected Result: Crash doesn't happen.

Actual Result: The browser crashed for some examples with WebGL backend on Android:

Crash log: crash.log

How to Reproduce:

  1. Setup the local server according to example README
  2. Launch chromium or chrome on Android device and visit http://127.0.0.1:8080/examples/image_classification
  3. Switch to WebGL backend and select the example:
    • Inception V4(TFlite)
    • Incep. Res. V2(TFlite)
    • ResNet50 v2(Onnx)
    • DenseNet(Onnx)
Christywl commented 5 years ago

On Google Pixel 2 XL device, chromium and chrome stable 71.0.3578.83 crashed for DenseNet(Onnx) WebGL. Other examples worked on WebGL backend.

Christywl commented 5 years ago

This issue can't reproduce wiht the latest codes https://github.com/intel/webml-polyfill/commit/19522266121edf4dbbebf214bcd16c24b1aaf1b8 on the nightly build 8755e6b.

ibelem commented 5 years ago

@Christywl please double confirm if we can close this issue if it's not reproducible.

Christywl commented 5 years ago

Close this issue, these examples work on WebGL on Android.