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

[WebGL/Example] Fail to run PoseNet image example on Android WebGL when the scale is set to 0.5 #572

Closed Christywl closed 5 years ago

Christywl commented 5 years ago

Test Env: Chromium Version: nightly build 70.0.3503.0 (efb0f90) Platform: Android 9(Google Pixel 2 XL)

Expected Result: The example should work.

Actual Result: Fail to run PoseNet image example on Android WebGL when the scale is set to 0.5:

image

When the scale is set to 0.25/0.75/1, PoseNet works on Android WebGL. When the scale is set to 0.5, PoseNet works on Linux/Windows/Mac WebGL.

How to Reproduce:

  1. git clone https://github.com/intel/webml-polyfill
  2. npm i & npm run build
  3. npm start
  4. Visit http://127.0.0.1:8080/examples/skeleton_detection/index.html on Android chromium and switch to WebGL
GreyZzzzzzXh commented 5 years ago

This issue has been fixed by tensorflow/tfjs-core#1489. Just need to upgrade tfjs-core version.

Christywl commented 5 years ago

This issue was fixed on https://github.com/intel/webml-polyfill/commit/8839867b328dcc8b5bbbcb7cbde4cfbe247da0a0. PoseNet works on Android WebGL.