openvino/samples/python/model_creation_sample
Jacek Pawlak 239466ca5d
copyright year update (#23370)
New PR due to merge
conflicts(https://github.com/openvinotoolkit/openvino/pull/22917)

Updated the copyright year from 2018-2023 to 2018-2024 in all openvino
files

Ref. to script: CVS-101144

Command used:
```bash
git grep -lz '2018-2023 Intel Corporation' | xargs -0 sed -i '' -e 's/2018-2023 Intel Corporation/2018-2024 Intel Corporation/g'
```
2024-03-14 09:37:02 +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 copyright year update (#23370) 2024-03-14 09:37:02 +00:00
lenet.bin samples overview & model protection: docs (#10596) 2022-02-22 20:11:42 +03:00
model_creation_sample.py copyright year update (#23370) 2024-03-14 09:37:02 +00: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.