6th-8th Generation Intel® Core™
Intel® Xeon® v5 family
Intel® Xeon® v6 family
Ubuntu* 16.04.3 long-term support (LTS), 64-bit
CentOS* 7.4, 64-bit
Windows* 10, 64-bit
Require Python 3.5+ and Jupyter notebook installed
git clone https://github.com/Tony607/keras_openvino
Setup OpenVINO on your machine, choose your OS on this page, follow the instruction to download and install it.
pip3 install -r requirements.txt
Run the setupvars.bat
before calling jupyter notebook
.
"C:\Program Files (x86)\IntelSWTools\openvino\bin\setupvars.bat"
Or in Linux
add the following line to ~/.bashrc
source /opt/intel/openvino/bin/setupvars.sh
In a terminal run,
jupyter notebook
In the opened browser window open
keras-openvino-ImageNet.ipynb
Once you have the inference model, plugin the NCS, run this script.
python3 ncs_inference.py