Skip to content

Latest commit

 

History

History
 
 

model_creation_sample

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Model Creation Python Sample

This sample demonstrates how to run inference using a model built on the fly that uses weights from the LeNet classification model, which is known to work well on digit classification tasks. You do not need an XML file, the model is created from the source code on the fly.

For more detailed information on how this sample works, check the dedicated article

Requirements

Options Values
Validated Models LeNet
Model Format Model weights file (*.bin)
Supported devices All
Other language realization C++

The following OpenVINO Python API is used in the application:

Feature API Description
Model Operations openvino.runtime.Model , Managing of model
openvino.runtime.set_batch ,
openvino.runtime.Model.input
Opset operations openvino.runtime.op.Parameter, Description of a model topology using OpenVINO Python API
openvino.runtime.op.Constant ,
openvino.runtime.opset8.convolution ,
openvino.runtime.opset8.add ,
openvino.runtime.opset1.max_pool ,
openvino.runtime.opset8.reshape ,
openvino.runtime.opset8.matmul ,
openvino.runtime.opset8.relu ,
openvino.runtime.opset8.softmax

Basic OpenVINO™ Runtime API is covered by Hello Classification Python* Sample.