- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, Thanks for quick response.
I am using pretrained model which provided by https://download.01.org/opencv/2020/openvinotoolkit/2020.2/open_model_zoo/models_bin/3/
I am referring this documents:
Sincerely,
Yugendra
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Greetings,
You may refer here for the tested application:
https://docs.openvinotoolkit.org/latest/omz_demos_interactive_face_detection_demo_README.html
Sincerely,
Iffa
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page