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] MobileNet Examples don't work on WebGL backend with webml-polyfill commit 5a63f3c #397

Closed Christywl closed 5 years ago

Christywl commented 5 years ago

Test Env: Chromium nightly build 70.0.3503.0 (8755e6b) Platform: Mac/Android/Linux/Windows Polyfill Commit ID: https://github.com/intel/webml-polyfill/commit/5a63f3cca955867765bfb90e619b00f0ab5f81ad

Expected Result: Examples work fine.

Actual Result: Examples don't work on WebGL backend with the polyfill https://github.com/intel/webml-polyfill/commit/5a63f3cca955867765bfb90e619b00f0ab5f81ad:

screen shot 2019-01-02 at 2 18 04 pm

How to Reproduce:

  1. git clone https://github.com/intel/webml-polyfill
  2. Download the example models according to https://github.com/intel/webml-polyfill/tree/master/examples/ssd_mobilenet/model
  3. Run: npm start
  4. Visit http://127.0.0.1:8080/examples/ssd_mobilenet/
  5. Switch to WebGL

Mobilenet V1(TFlite), Mobilenet V2(TFlite) have the same issue.

Christywl commented 5 years ago

MobileNet Examples work on WebGL backend with webml-polyfill commit https://github.com/intel/webml-polyfill/commit/d923ed1bd555ecf86108f2ad9a0a22cddfd3fba5.