CPU Dump Check Tool
Preparing
- Install dependencies:
pip3 install -r ./requirements.txt
-
Build CPU plugin with
-DENABLE_DEBUG_CAPS=ONand install it. -
Initialize OpenVINO enviroment:
# suppose CMAKE_INSTALL_PREFIX=~/openvino/build/install
source ~/openvino/build/install/setupvars.sh
Typical usage
- dump each output tensors from CPU plugin:
python3 dump_check.py -m=/path/to/model dump1
- comparing two dumps and analyze differences:
python3 dump_check.py -m=/path/to/model dump1 dump2
- visualize first error map:
python3 dump_check.py -m=/path/to/model dump1 dump2 -v
more options can be learned from the help of this tool.