This article is designed to provide you with the structure and requirements for the different types of models we have used to date and also how they should be built.
The structure of a model’s file system is very important as to the way our Model Manager and OpenVINO Engine App leverage the hard work and time that has been spent creating your models.
If you are using Linux to package your model the instructions can be found here (How to package your model to work with ADLINK’s OpenVINO App using Linux).
Typically we expect a model to be of the format .zip. The contents of this file can vary slightly but typically we find all models have a .bin and .xml files and some have a .mapping file.
Examples are shown here of the typical contents.
The method for zip these files is as follows, utilizing a Windows PC, I can see here that I have a model called frozen Inference graph.
These model files must be zip into a root directory folder, this is a key requirement for the OpenVINO Inferencing Engine to be able to unpack and use the contents of a .zip file.
To zip the contents of this folder select all of the files you want to zip.
Right click on one of the files, preferably one with the name of your model, i.e. in this case frozen_inference_graph, move your mouse to hover over send to and then select Compressed (zipped) folder.
You will see a progress bar for this process taking place, the larger the model the longer this will take.
Your newly zipped model file is now created and ready to be used.