Skip to content

Instantly share code, notes, and snippets.

View daniil-lyakhov's full-sized avatar
🦄

Daniil Lyakhov daniil-lyakhov

🦄
View GitHub Profile
@daniil-lyakhov
daniil-lyakhov / inspect_ov_ir_weights.py
Created March 25, 2022 05:53
Way to inspect OpenVino IR model weights (openvino==2022.1.0)
# Openvino==2022.1.0
import sys
from openvino.runtime import Core
DELIMITER = ' | '
if len(sys.argv) < 3:
print("Please provide path to model xml file as a first arg and"
" path to output text file to dump model constants.")