- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am trying to test the bog standard Object Detection Python* Demo (https://docs.openvinotoolkit.org/latest/omz_demos_object_detection_demo_python.html) with the parameters:
python object_detection_demo.py -d CPU -i MyVid.mp4 -m Intel OpenVino\Object_detection_demo\python\models\intel\face-detection-0200\FP16\face-detection-0200.xml -at ultra_lightweight_face_detection
and am getting the error:
[ INFO ] Initializing Inference Engine...
[ INFO ] Loading network...
[ INFO ] Reading network from IR...
Traceback (most recent call last):
File "object_detection_demo.py", line 350, in <module>
sys.exit(main() or 0)
File "object_detection_demo.py", line 237, in main
model = get_model(ie, args)
File "object_detection_demo.py", line 183, in get_model
return models.UltraLightweightFaceDetection(*common_args, threshold=args.prob_threshold)
File "C:\Program Files (x86)\Intel\openvino_2021.4.582\deployment_tools\open_model_zoo\demos\common\python\models\ultra_lightweight_face_detection.py", line 29, in __init__
assert len(self.net.outputs) == 2, "Expected 2 output blobs"
AssertionError: Expected 2 output blobs
Even when trying faceboxes:
python object_detection_demo.py -d CPU -i MyVid.mp4 -m Intel OpenVino\Object_detection_demo\python\models\intel\face-detection-0200\FP16\face-detection-0200.xml -at faceboxes
Getting the same error:
[ INFO ] Initializing Inference Engine...
[ INFO ] Loading network...
[ INFO ] Reading network from IR...
Traceback (most recent call last):
File "object_detection_demo.py", line 350, in <module>
sys.exit(main() or 0)
File "object_detection_demo.py", line 237, in main
model = get_model(ie, args)
File "object_detection_demo.py", line 177, in get_model
return models.FaceBoxes(*common_args, threshold=args.prob_threshold)
File "C:\Program Files (x86)\Intel\openvino_2021.4.582\deployment_tools\open_model_zoo\demos\common\python\models\faceboxes.py", line 32, in __init__
assert len(self.net.outputs) == 2, "Expected 2 output blobs"
AssertionError: Expected 2 output blobs
Any help would be appreciated.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Dug,
Thanks for reaching out to us.
I’ve validated the demo with the following command, and it’s working fine.
python object_detection_demo.py -m <path_to_model>\face-detection-0200.xml -at ssd -i <path_to_input>\video.mp4
Regards,
Munesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Dug,
This thread will no longer be monitored since we have provided a solution. If you need any additional information from Intel, please submit a new question.
Regards,
Munesh
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page