webml-polyfill icon indicating copy to clipboard operation
webml-polyfill copied to clipboard

Face Recognition Example is failing with WebNN built

Open maheshpalkar opened this issue 5 years ago • 7 comments

Hi,

  1. Built chromium for Webnn support.
  2. Installed openvino 2020.2.120.

System configuration : Operating system: Linux (Ubuntu 18.04) Processor Generation: 8 Openvino Version: 2020.2.120

Issue : I have executed built with out/Default/chrome --no-sandbox --use-inference-engine Tried Face Recognition Example shows Prediction Failed with an error create execution fails. I have attached a screenshot of the issue.

Expected Result : Face Recognition Example having FaceNet and Face Reidentification mode should work with openvino as an inference engine WebNN support.

face recoginizationerror

maheshpalkar avatar May 16 '20 08:05 maheshpalkar

Hi, @maheshpalkar , SUSTAINED_SPEED backend on inference engine requires Intel Graphics, if not Intel Graphics, the examples will fail with the error createExecution fails:5 and you can see the logs like:

Terminal log: [IE] exception failed to create engine: clGetPlatformIDs error

Besides, Face Recognition isn't supported on inference engine backends currently because broadcasting isn't supported, please see the wiki WebML-Examples-Results-on-Different-Backends-and-Platforms.

Christywl avatar May 18 '20 01:05 Christywl

Hi @Christywl, I am having intel graphics installed in my ubuntu machine. I am using a NUC machine. I have attached the system configuration screenshot. Still I am getting the same error "createExecution fails:5" for SUSTAINED_SPEED backend.

But when I select FAST_SINGLE_ANSWER then it shows "finishfails" and in terminal it shows broadcasting isn't supported.

system configuration

maheshpalkar avatar May 18 '20 05:05 maheshpalkar

Could you please post the logs in your terminal for SUSTAINED_SPEED backend?

Christywl avatar May 18 '20 06:05 Christywl

Could you please post the logs in your terminal for SUSTAINED_SPEED backend?

Hi @Christywl,

Please find the attached screenshot of the terminal logs.

sustenedspeedError

maheshpalkar avatar May 18 '20 07:05 maheshpalkar

The build contains an old inference engine which doesn't support this device. We're upgrading inference engine now, please try it again after https://github.com/otcshare/chromium-src/pull/27 is merged. Thanks for trying WebNN.

Christywl avatar May 19 '20 07:05 Christywl

The build contains an old inference engine which doesn't support this device. We're upgrading inference engine now, please try it again after otcshare/chromium-src#27 is merged. Thanks for trying WebNN.

Hi @Christywl, Thank you for providing the link of updated chromium source code. Is there a solution for the broadcasting issue?

maheshpalkar avatar May 19 '20 19:05 maheshpalkar

According to IE doc, Add and Multiply support broadcasting. We may need to revisit #751 and #725.

huningxin avatar May 20 '20 06:05 huningxin