Intel® Distribution of OpenVINO™ Toolkit
Community assistance about the Intel® Distribution of OpenVINO™ toolkit, OpenCV, and all aspects of computer vision-related on Intel® platforms.
6392 Discussions

openvino face recognition demo for face-detection-0105 i.e [N,5] topology.

D__yugendra
Novice
673 Views

face_detector.py", line 65, in __init__
(self.Result.OUTPUT_SIZE)
AssertionError: Expected model output shape with 5 outputs

How can I solve? 
How to use the openvino face recognition demo for face-detection-0105 i.e [N, 5] topology.

OS:

Ubuntu 16.04

Openvino version:2020.1

0 Kudos
6 Replies
Iffa_Intel
Moderator
659 Views

Greetings,


First and foremost, please help to ensure that you had properly convert the mobilenetv2 model into IR which you can refer to this documentation : https://docs.openvinotoolkit.org/latest/openvino_docs_MO_DG_prepare_model_convert_model_Convert_Model_From_TensorFlow.html


and also this video https://www.youtube.com/watch?v=cbdS3BjjbaQ

This error AssertionError: Expected model output shape with 5 outputs probably caused by insufficient input given.


Sincerely,

Iffa



0 Kudos
D__yugendra
Novice
654 Views
0 Kudos
Iffa_Intel
Moderator
640 Views

Greetings,


You can refer to the steps here :https://www.youtube.com/watch?v=HEntm0TUqM8

Try to follow his steps to ensure your setup works and afterwards, Instead of using face-detection-retail-0004 use your desired model which is face-detection-0105.

Take a closer look on how he included resources to run with the sample app.


Sincerely,

Iffa


0 Kudos
D__yugendra
Novice
634 Views
Thank you for quick response..

It's not working because that model (face-detection-retail-0004) topology is [1,1, N, 7] topology. That's why I mentioned how to use [N, 5] topology.
Face-detection-retail-0004 this model successful working, but face-detection-0105 is not working.
0 Kudos
Iffa_Intel
Moderator
594 Views

Greetings,


You may refer here for the tested application:

https://docs.openvinotoolkit.org/latest/omz_demos_interactive_face_detection_demo_README.html





Sincerely,

Iffa


0 Kudos
Iffa_Intel
Moderator
569 Views

Greetings,


Intel will no longer monitor this thread since we have provided a solution. If you need any additional information from Intel, please submit a new question. 


Sincerely,

Iffa


0 Kudos
Reply