The SqueezeNet V1.0 network can be used for image classification.
The provided Makefile does the following
- Downloads the Caffe prototxt file and makes any changes necessary to work with the OpenVINO toolkit (tested with 2019 R2) and the Intel Neural Compute Stick (NCS1/NCS2).
- Downloads and generates the required ilsvrc12 data.
- Downloads the .caffemodel file from Open Model Zoo.
- Compiles the network into an IR (intermediate representation) format file (.xml) using the OpenVINO Model Optimizer.
- Runs a single inference on an image as an example of how to use this network with the OpenVINO Python API using the simple_classifier_py app.
make run
Provided Makefile describes various targets that help with the above mentioned tasks.
Runs a sample application with the network.
Builds the C++ example program run_cpp which can be executed with make run_cpp.
Runs the provided run_cpp executable program that is built via make cpp. This program sends a single image to the Neural Compute Stick and receives and displays the inference results.
Shows makefile possible targets and brief descriptions.
Makes the follow items: deps, data, compile_model, compile_cpp.
Uses the network description and the trained weights files to generate an IR (intermediate representation) format file. This file is later loaded on the Neural Compute Stick where the inferences on the network can be executed.
Checks required packages that aren't installed as part of the OpenVINO installation.
Uninstalls requirements that were installed by the sample program.
Removes all the temporary and target files that are created by the Makefile.