Intel OpenVino Boost Semantic Segmentation prediction
A booster to predict ML model on production line.

I’m here to share my experience in Deep Learning Computer Vision model deployment. As we all know that deep learning models are bulky and they take lazy time to load the model and infer incoming data.
I will be just walking through the steps I followed.
- Train Tensorflow Keras model, predict h5 file and note the time taken.
- Create conda enviroment
- Install openvino “pip install openvino”
- Convert h5 files to openvino format
- Predict openvino model and note time.
I trained UNet(with different backbone)and DeepLabV3+ segmentation models on Open Images Dataset v6 + Extension (I will explain thoroughly about downloading dataset and converting masks to trainable masks in other blog). DeepLabV3+ outperformed in comparison with UNet with different variants.
When it came to model deployment on CPU machine, h5 model took 1.9 to 2.3 seconds to load model with prediction rate of 3 FPS, openvino took hardly 0.6 seconds to load model with prediction rate of 11 FPS … sonic boom….!!!

Rather than pasting the code I will add the reference link which helped me to code this. Please comment for any suggestion.