[Solved] AttributeError: ‘openvino.inference_engine.ie_api.IENetwork‘ object has no attribute ‘input_info‘

[openvino] Problem Description: attributeerror: ‘openvino. Information’_ engine.ie_ api.IENetwork‘ object has no attribute ‘input_ Info ‘
this is due to the version problem. I use 2020.3.355, which is different from that on station B

next(iter(net.input_info))
Change to
next(iter(net.inputs))

There is also a small pit

n, c, h, w = net.inputs[input_blob].input_data.shape
Change to
n, c, h, w = net.inputs[input_blob].shape

Read More: