This repository was archived by the owner on Jan 3, 2023. It is now read-only.

Description
I get this error when I run the executable:
Initializing plugin for CPU device...
Reading IR...
./store-traffic-monitor.py:321: DeprecationWarning: from_ir() method of IENetwork is deprecated. Please use IENetwork class constructor to create valid IENetwork instance
net = IENetwork.from_ir(model=model_xml, weights=model_bin)
Loading IR to the plugin...
Traceback (most recent call last):
File "./store-traffic-monitor.py", line 530, in
sys.exit(main() or 0)
File "./store-traffic-monitor.py", line 331, in main
n, c, h, w = net.inputs[input_blob]
TypeError: 'openvino.inference_engine.ie_api.InputInfo' object is not iterable
If I change line 331 from n, c, h, w = net.inputs[input_blob] to n, c, h, w = net.inputs[input_blob].shape the error disappears but not detects correctly.
Thanks