pipelines/samples/contrib/openvino/predict
Chen Sun 4a57ab69dd
chore(components): Move openvino components and samples to the right locations. (#9498)
2023-07-05 16:55:42 +00:00
..
README.md chore(components): Move openvino components and samples to the right locations. (#9498) 2023-07-05 16:55:42 +00:00
numpy_predict.py chore(components): Move openvino components and samples to the right locations. (#9498) 2023-07-05 16:55:42 +00: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