Skip to content

Netron can't visualize large model, just customize a script to display snippet of a model quickly.

Notifications You must be signed in to change notification settings

xipingyan/visualize_openvino_ir

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

visualize_openvino_ir

Netron can't visualize large model(OpenVINO IR), just customize a script to display model fragments quickly.

dependencies

Linux

pip install graphviz

Windows

pip install graphviz
Download:windows_10_cmake_Release_graphviz-install-11.0.0-win64.exe from https://www.graphviz.org/download/, and then default install.

Usage

<!-- Show subgraph based on id -->
python main.py -m $model -id $layer_id  --top 10 --bottom 1 --ignore_const -highlight MatMul,Slice,FullyConnected,Split

<!-- Show graph -->
python main.py -m $model

Linux refer: run.sh
Windows refer: run.bat

About

Netron can't visualize large model, just customize a script to display snippet of a model quickly.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published