Skip to content
This repository has been archived by the owner on Jan 3, 2023. It is now read-only.

AttributeError: 'openvino.inference_engine.ie_api.IENetwork' object has no attribute 'layers' #2

Open
ravelwaresigit opened this issue Jul 30, 2021 · 0 comments

Comments

@ravelwaresigit
Copy link

i got this kind of error when start the application.
detail error is like below.

/usr/lib/python3/dist-packages/apport/report.py:13: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
import fnmatch, glob, traceback, errno, sys, atexit, locale, imp, stat
Traceback (most recent call last):
File "restricted_zone_notifier.py", line 353, in
main()
File "restricted_zone_notifier.py", line 233, in main
n, c, h, w = infer_network.load_model(args.model, TARGET_DEVICE, 1, 1, 2, args.cpu_extension)[1]
File "/home/sigitg/intel-iot/restricted-zone-notifier-python/application/inference.py", line 79, in load_model
[l for l in self.net.layers.keys() if l not in supported_layers]
AttributeError: 'openvino.inference_engine.ie_api.IENetwork' object has no attribute 'layers'

Could you please tell me how to resolve this error? Thankyou

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant