- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Intel,
I am new at using OpenVino and NCS2 .. I am now trying to run the face_recognition_demo that I got from the open model zoo on windows10 . Iam using version 2021.2 of openvino toolkit.
But I get this error everytime i try to do so ( error below).
I would be very greatful to you if you help me. Thank you in advance.
C:\Program Files (x86)\IntelSWTools\openvino_2021\face_recognition_demo>python face_recognition_demo.py
[ INFO ] 2021-03-25 11:28:55,451 Loading models
[ INFO ] 2021-03-25 11:28:55,451 Loading the model from 'C:\Program Files (x86)\IntelSWTools\openvino_2021\face_recognition_demo\models\face-detection-retail-0004\FP16\face-detection-retail-0004.xml'
[ INFO ] 2021-03-25 11:28:55,476 Model is loaded
[ INFO ] 2021-03-25 11:28:55,476 Loading the model from 'C:\Program Files (x86)\IntelSWTools\openvino_2021\face_recognition_demo\models\landmarks-regression-retail-0009\FP16\landmarks-regression-retail-0009.xml'
[ INFO ] 2021-03-25 11:28:55,492 Model is loaded
[ INFO ] 2021-03-25 11:28:55,493 Loading the model from 'C:\Program Files (x86)\IntelSWTools\openvino_2021\face_recognition_demo\models\face-reidentification-retail-0095\FP16\face-reidentification-retail-0095.xml'
[ INFO ] 2021-03-25 11:28:55,562 Model is loaded
C:\Program Files (x86)\IntelSWTools\openvino_2021\face_recognition_demo\face_detector.py:52: DeprecationWarning: 'inputs' property of IENetwork class is deprecated. To access DataPtrs user need to use 'input_data' property of InputInfoPtr objects which can be accessed by 'input_info' property.
assert len(model.inputs) == 1, "Expected 1 input blob"
detector
C:\Program Files (x86)\IntelSWTools\openvino_2021\face_recognition_demo\landmarks_detector.py:44: DeprecationWarning: 'inputs' property of IENetwork class is deprecated. To access DataPtrs user need to use 'input_data' property of InputInfoPtr objects which can be accessed by 'input_info' property.
assert len(model.inputs) == 1, "Expected 1 input blob"
landmarks
C:\Program Files (x86)\IntelSWTools\openvino_2021\face_recognition_demo\face_identifier.py:45: DeprecationWarning: 'inputs' property of IENetwork class is deprecated. To access DataPtrs user need to use 'input_data' property of InputInfoPtr objects which can be accessed by 'input_info' property.
assert len(model.inputs) == 1, "Expected 1 input blob"
identifier
Traceback (most recent call last):
File "face_recognition_demo.py", line 444, in <module>
main()
File "face_recognition_demo.py", line 439, in main
visualizer = Visualizer(args)
File "face_recognition_demo.py", line 238, in __init__
self.frame_processor = FrameProcessor(args)
File "face_recognition_demo.py", line 150, in __init__
self.face_detector.deploy(args.d_fd, context)
File "C:\Program Files (x86)\IntelSWTools\openvino_2021\face_recognition_demo\ie_module.py", line 75, in deploy
self.model, device, self.max_requests)
File "C:\Program Files (x86)\IntelSWTools\openvino_2021\face_recognition_demo\ie_module.py", line 48, in deploy_model
self.check_model_support(model, device)
File "C:\Program Files (x86)\IntelSWTools\openvino_2021\face_recognition_demo\ie_module.py", line 35, in check_model_support
not_supported_layers = [l for l in net.layers.keys() \
AttributeError: 'openvino.inference_engine.ie_api.IENetwork' object has no attribute 'layers'
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Aicha,
I observed that you’ve posted the same issue before in this thread and you also confirmed that your issue has been solved.
I would like to check with you that anything else I can further assist you with.
Regards,
Peh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @Peh_Intel ,
I my problem was solved thanks to your help, the demo runs perfectly.
Thanks a lot .
regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Aicha,
Glad to hear this from you. This thread will no longer be monitored since this issue has been resolved. If you need any additional information from Intel, please submit a new question.
Regards,
Peh
![](/skins/images/C4F7392A5C68ACA60290C9576F107044/responsive_peak/images/icon_anonymous_message.png)
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page