- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
i am trying to execute the "interactive face detection demo".
OpenVino version: 2024.0.0
I cloned the repo, then built the demos with the bat file (obv after executing the setup_vars bat file).
the demos build correctly (as far as I know), and the
interactive_face_demo.exe -h
command works.
after downloading and converting the models (with the oz and models list file), I try to run this command:
interactive_face_detection_demo.exe -i D:\Folder\testingVideo.mp4 -m D:\Folder\demos\interactive_face_detection_demo\cpp\intel\face-detection-adas-0001\FP32\face-detection-adas-0001.xml --mag D:\Folder\demos\interactive_face_detection_demo\cpp\intel\age-gender-recognition-retail-0013\FP32\age-gender-recognition-retail-0013.xml --mem D:\Folder\demos\interactive_face_detection_demo\cpp\intel\emotions-recognition-retail-0003\FP32\emotions-recognition-retail-0003.xml -d GPU
But the first few times nothing happened (neither the output file), and then an Exception started to appear at every execution:
[ INFO ] OpenVINO
[ INFO ] version: 2024.0.0
[ INFO ] build: 2024.0.0-14509-34caeefd078-releases/2024/0
[ INFO ] Reading model: D:\Folder\demos\interactive_face_detection_demo\cpp\intel\face-detection-adas-0001\FP32\face-detection-adas-0001.xml
[ INFO ] Model name: mobilenet_ssd_672x384
[ INFO ] Inputs:
[ INFO ] data, f32, [1,3,384,672], [N,C,H,W]
[ INFO ] Outputs:
[ INFO ] detection_out, f32, [1,1,200,7], [...]
[ ERROR ] Exception from src\inference\src\cpp\core.cpp:109:
Exception from src\inference\src\dev\plugin.cpp:54:
Check 'false' failed at src\plugins\intel_gpu\src\plugin\program_builder.cpp:179:
[GPU] ProgramBuilder build failed!
clGetKernelInfo
I swear I followed every step of the demo guide, but I have literally no idea of what to do to fix this problem and to make this demo run on my pc (preferably on my laptop webcam).
GPU drivers are updated, as you can see from the attached screenshot
EDIT: tried with -d AUTO, and now the error message is different:
[ ERROR ] PdhAddCounterW() failed: unknown error
Googling the error didn't fix this issue, as I have a intel core i7 6770HQ (being 6th gen, it should be enough) and 16GB RAM.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Eventually I managed to resolve the issue by myself. I will keep this question and answer in case someone will need it in the future.
[ ERROR ] PdhAddCounterW() failed: unknown error
This error is generated by the Performance Monitor Windows application. probably if you open it you'll encounter some error when opening it.
How to resolve this:
- open cmd as admin
- type lodctr /r
I encountered another error: "Error: Unable to rebuild performance counter setting from system backup store, error code is 2"
In this case what helped me was this couple of instructions.
- open cmd as admin
- cd c:\windows\system32
- lodctr /R --> hopefully you'll get "Info: Successfully rebuilt performance counter setting from system backup store"
- cd c:\windows\sysWOW64
- lodctr /R --> hopefully you'll get "Info: Successfully rebuilt performance counter setting from system backup store"
Now it should work.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Eventually I managed to resolve the issue by myself. I will keep this question and answer in case someone will need it in the future.
[ ERROR ] PdhAddCounterW() failed: unknown error
This error is generated by the Performance Monitor Windows application. probably if you open it you'll encounter some error when opening it.
How to resolve this:
- open cmd as admin
- type lodctr /r
I encountered another error: "Error: Unable to rebuild performance counter setting from system backup store, error code is 2"
In this case what helped me was this couple of instructions.
- open cmd as admin
- cd c:\windows\system32
- lodctr /R --> hopefully you'll get "Info: Successfully rebuilt performance counter setting from system backup store"
- cd c:\windows\sysWOW64
- lodctr /R --> hopefully you'll get "Info: Successfully rebuilt performance counter setting from system backup store"
Now it should work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi elsospi98,
Thank for sharing the solution in the community!
Regards,
Peh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi elsospi98,
This thread will no longer be monitored since this issue has been resolved. If you need any additional information from Intel, please submit a new question.
Regards,
Peh

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page