Closed Christywl closed 5 years ago
Different results for ResNet50 v1(Onnx) and Inception v2(Onnx) between WASM and WebGL backend.
Inception v2(Onnx):
WASM:
WebGL:
ResNet50 v1(Onnx):
WASM:
WebGL:
These two models contains AveragePool with fuse padding, which leads to the difference.
This issue was fixed with https://github.com/intel/webml-polyfill/commit/63c1ca253e7fa7d19267b8e8eb71a3b618d3fa65 on nightly build 8755e6b.
Test Env: Chromium nightly build 70.0.3503.0 (6540a81) Platform: Mac/Linux/Windows/Android
Expected Result: Tests should pass.
Actual Result: The outputs don't match the expected values for AVERAGE_POOL_2D operation with WebGL backend: check result for Avg pool float example/2:![image](https://user-images.githubusercontent.com/20039821/49985739-02b7f900-ffa8-11e8-80c3-8a448dd95139.png)
check result for Avg pool float example/4:![image](https://user-images.githubusercontent.com/20039821/49985885-9984b580-ffa8-11e8-96f4-afeec540d752.png)
How to Reproduce:
They passed before with webgl2 backend.