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/Example] Sometimes fail to run some image classification examples with the large sized model on Windows WebGL #577

Open Christywl opened 5 years ago

Christywl commented 5 years ago

Test Env: Chromium Version: nightly build 70.0.3503.0 (efb0f90) Platform: Windows 10 [Device Name: Dell XPS 13, CPU: Intel i5-8250U, GPU: Intel UHD Graphics 620, GPU Driver Version: 25.20.100.6471, Memory: 8GB]]

Expected Result: The examples should work.

Actual Result: Sometimes an error occurs when running some examples with the large sized model(such as Inception V3, Inception Resnet V2, Resnet, ...) on Windows WebGL: image image

image

In this case, if you continue to run examples with WebNN backend, it shows as below and you must close and restart chromium to make it work again: image

How to Reproduce:

  1. git clone https://github.com/intel/webml-polyfill
  2. npm i & npm run build
  3. Download the model files
  4. npm start
  5. Visit http://localhost:8080/examples/image_classification/index.html on Windows chromium
  6. Run the examples for each backend continuously
ibelem commented 5 years ago

@GreyZzzzzzXh Could you please add your recent findings or investigations for this issue? :)