Intel® Distribution of OpenVINO™ Toolkit
Community assistance about the Intel® Distribution of OpenVINO™ toolkit, OpenCV, and all aspects of computer vision-related on Intel® platforms.

Heterogeneous Visualization

ayf7
Novice
283 Views

Hello,

I'm currently experimenting with heterogeneous compilation. I noticed that the documentation on heterogeneous execution mentions being able to visualize model graphs with this mode.

However, I'm not sure how to "enable OPENVINO_HETERO_VISUALIZE"? I tried setting this variable via export OPENVINO_HETERO_VISUALIZE=True in my terminal but it didn't change anything.

I tried googling this further but came up with no results. I'm using the method provided on this page:

 

def visualize_example(m : ov.Model):
    # Need import:
    # * import openvino.runtime.passes as passes
    pass_manager = passes.Manager()
    pass_manager.register_pass(passes.VisualizeTree(file_name='image.svg'))
    pass_manager.run_passes(m)

 

Thanks,

ayf7

Labels (1)
0 Kudos
3 Replies
Iffa_Intel
Moderator
229 Views

Hi,

 

Generally, Heterogeneous execution can be used with the -d argument.

 

Iffa_Intel_0-1718169318046.png

 

We'll get back to you with more details regarding OPENVINO_HETERO_VISUALIZE execution.

 

Cordially,

Iffa

0 Kudos
Iffa_Intel
Moderator
140 Views

Hi,

 

to enable the OPENVINO_HETERO_VISUALIZE, you need to set this variable to a certain value which you may refer to this code 

 

e.g.

export OPENVINO_HETERO_VISUALIZE=1

 

 

Cordially,

Iffa

0 Kudos
Iffa_Intel
Moderator
69 Views

Hi,


Intel will no longer monitor this thread since we have provided a solution. If you need any additional information from Intel, please submit a new question. 



Cordially,

Iffa


0 Kudos
Reply