openvino/samples/python/model_creation_sample
Maciej Smyk 8d49595476
[DOCS] Update of hyperlinks to 2024 + new ov homepage diagram image for master (#23091)
* Update of links in docs to 2024 in repo.
* Replaced ov homepage diagram with a new version without Kalid, MXNet
and Caffe
2024-02-28 07:54:04 +00:00
..
README.md [DOCS] Update of hyperlinks to 2024 + new ov homepage diagram image for master (#23091) 2024-02-28 07:54:04 +00:00
data.py Updated copyright headers (#15124) 2023-01-16 11:02:17 +04:00
lenet.bin samples overview & model protection: docs (#10596) 2022-02-22 20:11:42 +03:00
model_creation_sample.py Updated model_creation_sample.py (#19989) 2023-09-22 02:05:24 +04:00

README.md

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.