Search code examples
openvino

Openvino node output


Environment: python=3.8.13, openvino=2022.3.0

Hi, I intended to get the node output of my model.Model structure The method I tried was: openvino.runtime.Output openvino.rutime.Output

However, i found openvino.runtime was calling _pyopenvino, which was an empty init file. Thus the Output class was missing. enter image description here

Is it a bug of openvino=2022.3.0? Or any other method to get the intermediate output of a IR model under openvino?

Appreciate for your help!

Trie: reinstall openvino=2022.2.0, openvino=2022.1.0


Solution

  • below is the code I tried to call the read_model method. image1: screen shot calling the read_model method

    from openvino.runtime import Core
    
    ie = Core()
    model_path = 'openvino_folder/testSimplifiedModel_3.simplified.xml'

    Then I goto the runtime.Core file and found this: image2: Core class

    Maybe I installed the OpenVino in a wrong way? Current openvino version = 2022.3.0.