Intel® DevCloud
Help for those needing help starting or connecting to the Intel® DevCloud
1693 Discussions

[Openvino] VPU HDDL plugin: RuntimeError when run example face_recognition_demo.py

khiem_nvt
Beginner
704 Views

Hello

I have installed Openvino (openvino_2021.4.752) and installed Mustang-V100-MX8 driver based on https://docs.openvino.ai/latest/openvino_docs_install_guides_installing_openvino_linux_ivad_vpu.html.

After that I verified by running scripts:
./demo_squeezenet_download_convert_run.sh -d HDDL

./demo_security_barrier_camera.sh -d HDDL

Both script worked well.

And next, I tested face_recognition_demo.py

It works well with CPU Plugin, but has error when using HDDL plugin. Log as below:
python3 face_recognition_demo.py -i videos/test_digitalsignage.mp4 -d_fd HDDL -d_lm HDDL -d_reid HDDL -m_fd intel/face-detection-retail-0004/FP16/face-detection-retail-0004.xml -m_lm intel/landmarks-regression-retail-0009/FP16/landmarks-regression-retail-0009.xml -m_reid intel/face-reidentification-retail-0095/FP16/face-reidentification-retail-0095.xml --verbose -fg "/opt/intel/openvino_2021/deployment_tools/open_model_zoo/demos/face_recognition_demo/python/gallery" --run_detector
[ INFO ] Initializing Inference Engine...
[ INFO ] Loading networks...
[ INFO ] Building faces database using images from "/opt/intel/openvino_2021/deployment_tools/open_model_zoo/demos/face_recognition_demo/python/gallery"
Traceback (most recent call last):
File "face_recognition_demo.py", line 303, in <module>
sys.exit(main() or 0)
File "face_recognition_demo.py", line 240, in main
frame_processor = FrameProcessor(args)
File "face_recognition_demo.py", line 157, in __init__
self.face_detector if args.run_detector else None, args.no_show)
File "/home/netvision/khiem/face_recognition_demo/python/faces_database.py", line 66, in __init__
rois = face_detector.infer((image,))
File "/home/netvision/khiem/face_recognition_demo/python/ie_module.py", line 69, in infer
return self.postprocess()
File "/home/netvision/khiem/face_recognition_demo/python/face_detector.py", line 87, in postprocess
outputs = self.get_outputs()[0][self.output_blob].buffer
File "/home/netvision/khiem/face_recognition_demo/python/ie_module.py", line 56, in get_outputs
self.wait()
File "/home/netvision/khiem/face_recognition_demo/python/ie_module.py", line 51, in wait
self.perf_stats[i] = self.exec_net.requests[i].get_perf_counts()
File "ie_api.pyx", line 1533, in openvino.inference_engine.ie_api.InferRequest.get_perf_counts
File "ie_api.pyx", line 1560, in openvino.inference_engine.ie_api.InferRequest.get_perf_counts
RuntimeError: [ GENERAL_ERROR ] AssertionFailed: deviceTimings != nullptr

 

I use Ubuntu20.04 with Linux netvision-SER0 5.13.0-27-generic #29~20.04.1-Ubuntu SMP Fri Jan 14 00:32:30 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

 

Please help.

Best regards,

Khiem Phung

 

0 Kudos
1 Solution
Wan_Intel
Moderator
662 Views

Hi Khiem_nvt,

Thanks for reaching out to us.


We noticed that you posted a similar thread here:

https://community.intel.com/t5/forums/forumtopicpage/board-id/distribution-openvino-toolkit/message-id/26541#M26541

 

We would like to notify you that we will continue our conversation in the thread above.

 

 

Regards

Wan


View solution in original post

0 Kudos
1 Reply
Wan_Intel
Moderator
663 Views

Hi Khiem_nvt,

Thanks for reaching out to us.


We noticed that you posted a similar thread here:

https://community.intel.com/t5/forums/forumtopicpage/board-id/distribution-openvino-toolkit/message-id/26541#M26541

 

We would like to notify you that we will continue our conversation in the thread above.

 

 

Regards

Wan


0 Kudos
Reply