- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I updated my OpenVINO version to 2021.4 from 2020.3
There is an issue when run the script,
unsupported_layers = [l for l in self.network.layers.keys() if l not in supported_layers]
AttributeError: 'openvino.inference_engine.ie_api.IENetwork' object has no attribute 'layers'
Could you provide an alternative solutions for this?
Thanks
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi NisalJ,
Thanks for reaching out to us.
ie_api.IENetwork.layers is deprecated starting from OpenVINO™ toolkit 2021.2.
Use get_ordered_ops() methods from nGraph Python API to get a topologically sorted list of its graph nodes.
You may refer to this article for more information.
Regards,
Wan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi NisalJ,
Thanks for your question. This thread will no longer be monitored since we have provided information. If you need any additional information from Intel, please submit a new question.
Best regards,
Wan
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page