Community
cancel
Showing results for 
Search instead for 
Did you mean: 
D__yugendra
Novice
278 Views

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

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
264 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_Mode...


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



D__yugendra
Novice
259 Views

Iffa_Intel
Moderator
245 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


D__yugendra
Novice
239 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.
Iffa_Intel
Moderator
199 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


Iffa_Intel
Moderator
174 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


Reply