openvino/samples/python/model_creation_sample
Sebastian Golebiewski 9ebacbb379
[DOCS] Merge Samples Articles Language Versions (#21661)
* Merge samples

* Update docs/articles_en/learn_openvino/openvino_samples/automatic_speech_recognition.rst

Co-authored-by: Maciej Smyk <maciejx.smyk@intel.com>

* Update docs/articles_en/learn_openvino/openvino_samples.rst

Co-authored-by: Maciej Smyk <maciejx.smyk@intel.com>

* Update docs/articles_en/learn_openvino/openvino_samples.rst

Co-authored-by: Maciej Smyk <maciejx.smyk@intel.com>

* additional resources

* Update docs/articles_en/learn_openvino/openvino_samples/model_creation.rst

Co-authored-by: Maciej Smyk <maciejx.smyk@intel.com>

* Update docs/articles_en/learn_openvino/openvino_samples/automatic_speech_recognition.rst

Co-authored-by: Maciej Smyk <maciejx.smyk@intel.com>

* reorganize contents of requirements

* remove api reference

* add links to READMEs on repo

* remove speech recognition sample

* removal of deprecation notice

* update conversion steps

* Revert remove speech recognition sample

* remove trailing spaces

* fix links

* Removed unwanted changes from submodules

* applying suggestions

* update api reference

* apply suggestions

---------

Co-authored-by: Maciej Smyk <maciejx.smyk@intel.com>
2024-01-12 14:24:15 +01:00
..
README.md [DOCS] Merge Samples Articles Language Versions (#21661) 2024-01-12 14:24:15 +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

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

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

cf2b238df2 (Merge samples)