store-traffic-monitor-python
store-traffic-monitor-python copied to clipboard
object is not iterable error
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
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