openvino/samples/python/model_creation_sample
Maciej Smyk 47c49e7e84
[DOCS] Hyperlink 23.3 update for 23.3 (#21909)
* link update

* link update

* link update

* Update dev_api_references.rst

* Update dev_api_references.rst

* Update apidoc.py

* notebooks links

* notebook link update

* filename update

* link update

* link update api
2024-01-08 14:37:37 +01:00
..
README.md [DOCS] Hyperlink 23.3 update for 23.3 (#21909) 2024-01-08 14:37:37 +01: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.