pipelines/contrib/samples/openvino/predict
Trawinski, Dariusz 62c1e1294a Adjustments for OpenVINO v5 (#997)
* initial version

* fix predict function

* add classes file

* predict and readmy updates

* TF docker fix
2019-03-20 18:51:36 -07:00
..
README.md openvino predict component and pipeline example (#180) 2018-11-16 15:54:50 -08:00
numpy_predict.py Adjustments for OpenVINO v5 (#997) 2019-03-20 18:51:36 -07:00

README.md

OpenVINO predict pipeline

This is an example of simple one step pipeline implementation including OpenVINO predict component.

It can execute predict operation for a dataset in numpy format and provided model in Intermediate Representation format.

This format of models can be generated based on trained model from various frameworks like TensorFlow, Caffe, MXNET and Kaldi.

Dataset in the numpy file needs to match the shape of the provided model input.

This pipeline execute the predict operation and sends the results for each model output a numpy file with the name representing the output tensor name.

Note: Executing this pipeline required building the docker image according to the guidelines on OpenVINO predict component doc. The image name pushed to the docker registry should be configured in the pipeline script numpy_predict

Examples of the parameters

model_bin - gs:///model.bin

model_xml - gs:///model.xml

input_numpy_file - gs:///datasets/imgs.npy

output_folder - gs:///outputs