* Update for get started samples (#10975) (#11020) * Update for get started samples * Update docs/get_started/get_started_demos.md Co-authored-by: Yuan Xu <yuan1.xu@intel.com> * Update docs/get_started/get_started_demos.md Co-authored-by: Yuan Xu <yuan1.xu@intel.com> * Update docs/get_started/get_started_demos.md Co-authored-by: Yuan Xu <yuan1.xu@intel.com> * formatting * rewording * fix links * fix formatting * Update docs/get_started/get_started_demos.md Co-authored-by: Yuan Xu <yuan1.xu@intel.com> * Update docs/get_started/get_started_demos.md Co-authored-by: Yuan Xu <yuan1.xu@intel.com> * replace squeezenet1.1 with googlenet-v1 * GoogleNet v1 Caffe* model Co-authored-by: Yuan Xu <yuan1.xu@intel.com> (cherry picked from commit412f2190d1) * [DOCS] update HETERO execution (#11003) the PR has been reviewed and accepted for master already, now updating 22.1 * Incremental improvement of MO user guide. (#11010) (#11028) * Incremental improvement of MO user guide. * Apply feedback * POT documentation updates (#10578) (#11024) * POT changes * change install * change img size * remove cli option * Documentation fixes (#11044) * Benchmark app usage * Fixed link to the devices * More fixes * Update docs/OV_Runtime_UG/multi_device.md Co-authored-by: Sergey Lyubimtsev <sergey.lyubimtsev@intel.com> * Removed several hardcoded links Co-authored-by: Sergey Lyubimtsev <sergey.lyubimtsev@intel.com> * Removed obsolete code snippets (#11061) * Removed obsolete code snippets * NCC style * Fixed NCC for BA * fix a reference link (#11048) * updates * adding gna to linux * add missing reference * update * Update docs/install_guides/installing-model-dev-tools.md Co-authored-by: Sergey Lyubimtsev <sergey.lyubimtsev@intel.com> * Update docs/install_guides/installing-model-dev-tools.md Co-authored-by: Sergey Lyubimtsev <sergey.lyubimtsev@intel.com> * Update docs/install_guides/installing-model-dev-tools.md Co-authored-by: Sergey Lyubimtsev <sergey.lyubimtsev@intel.com> * Update docs/install_guides/installing-model-dev-tools.md Co-authored-by: Sergey Lyubimtsev <sergey.lyubimtsev@intel.com> * Update docs/install_guides/installing-model-dev-tools.md Co-authored-by: Sergey Lyubimtsev <sergey.lyubimtsev@intel.com> * update * minor updates * add gna item to yum and apt * add gna to get started page * update reference formatting * merge commit Co-authored-by: Sergey Lyubimtsev <sergey.lyubimtsev@intel.com> * AUTO and MULTI Doc update for release 2022.1 (#11066) * Update Auto plugin docs (#10623) * Update Auto plugin docs Revise auto plugin and auto plugin debugging articles. Include necessary image files. * Update docs/OV_Runtime_UG/supported_plugins/AutoPlugin_Debugging.md Co-authored-by: Andrey Zaytsev <andrey.zaytsev@intel.com> * Update docs/OV_Runtime_UG/supported_plugins/AutoPlugin_Debugging.md Co-authored-by: Andrey Zaytsev <andrey.zaytsev@intel.com> * Update docs/OV_Runtime_UG/supported_plugins/AutoPlugin_Debugging.md Co-authored-by: Andrey Zaytsev <andrey.zaytsev@intel.com> * Update docs/OV_Runtime_UG/auto_device_selection.md Co-authored-by: Andrey Zaytsev <andrey.zaytsev@intel.com> * Update docs/OV_Runtime_UG/supported_plugins/AutoPlugin_Debugging.md Co-authored-by: Andrey Zaytsev <andrey.zaytsev@intel.com> * Update docs/OV_Runtime_UG/auto_device_selection.md Co-authored-by: Andrey Zaytsev <andrey.zaytsev@intel.com> * Update docs/OV_Runtime_UG/supported_plugins/AutoPlugin_Debugging.md Co-authored-by: Andrey Zaytsev <andrey.zaytsev@intel.com> * Update AutoPlugin_Debugging.md * include review corrections * Update auto_device_selection.md * Update auto_device_selection.md * Update auto_device_selection.md * Update auto_device_selection.md Co-authored-by: Andrey Zaytsev <andrey.zaytsev@intel.com> * [AUTOPLUGIN] update multi plugin document for ov2.0 (#10688) * update multi document Signed-off-by: Hu, Yuan2 <yuan2.hu@intel.com> * update Signed-off-by: Hu, Yuan2 <yuan2.hu@intel.com> * update snippets ov::enableProfile Signed-off-by: Hu, Yuan2 <yuan2.hu@intel.com> * fix build issue Signed-off-by: Hu, Yuan2 <yuan2.hu@intel.com> * use Anymap in snippets Signed-off-by: Hu, Yuan2 <yuan2.hu@intel.com> * fix format and set property Signed-off-by: Hu, Yuan2 <yuan2.hu@intel.com> * update python Signed-off-by: Hu, Yuan2 <yuan2.hu@intel.com> * try fo fix test document issue Signed-off-by: Hu, Yuan2 <yuan2.hu@intel.com> * removed NEW IE-CENTRIC API and upated set_property Signed-off-by: Hu, Yuan2 <yuan2.hu@intel.com> * update ov::optimal_number_of_infer_requests Signed-off-by: Hu, Yuan2 <yuan2.hu@intel.com> * Updated multi code snippets (#11037) * [Auto PLUGIN] update Auto docs (#10889) * update Auto docs Signed-off-by: Hu, Yuan2 <yuan2.hu@intel.com> * update python snippets Signed-off-by: Hu, Yuan2 <yuan2.hu@intel.com> * remove vpu, fix a mistaken in python code Signed-off-by: Hu, Yuan2 <yuan2.hu@intel.com> * update MYRIAD device full name Signed-off-by: Hu, Yuan2 <yuan2.hu@intel.com> * update API name old API use name Inference Engine API NEW API usen name OpenVINO Runtime API 2.0 Signed-off-by: Hu, Yuan2 <yuan2.hu@intel.com> * update tab name, and code format Signed-off-by: Hu, Yuan2 <yuan2.hu@intel.com> * fix AUTO4 format issue Signed-off-by: Hu, Yuan2 <yuan2.hu@intel.com> * update set_property code Signed-off-by: Hu, Yuan2 <yuan2.hu@intel.com> * auto draft Signed-off-by: Hu, Yuan2 <yuan2.hu@intel.com> * mv code into .cpp and .py modify the devicelist part accoding to the review Signed-off-by: Hu, Yuan2 <yuan2.hu@intel.com> * remove priority list in code and document modify the begning of the document remove perfomance data remove old API use compile_model instead of set_property add a image about cpu accelerate Signed-off-by: Hu, Yuan2 <yuan2.hu@intel.com> * fix mis print and code is not match document Signed-off-by: Hu, Yuan2 <yuan2.hu@intel.com> * try to fix doc build issue Signed-off-by: Hu, Yuan2 <yuan2.hu@intel.com> * fix snippets code compile issue Signed-off-by: Hu, Yuan2 <yuan2.hu@intel.com> * update sh scripts with ```sh``` Signed-off-by: Hu, Yuan2 <yuan2.hu@intel.com> Co-authored-by: Karol Blaszczak <karol.blaszczak@intel.com> Co-authored-by: Andrey Zaytsev <andrey.zaytsev@intel.com> Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com> * [CPU] CPU plugin docs refactoring backport to the release branch (#11039) * CPU device documentation refresh * Bfloat16 inference page aligned with the new API * Bfloat16 inference section moved to CPU main * First review comments applied * Second review step comments applied * OneDNN reference changed to the GitHub page * AvgPool added to the oneDNN ops list * Updated note about latency, added note about mem usage with dynamic shapes * DOCS: API Reference (#11063) * Renamed API reference * Try to fix API reference for new API * Fixes after self-review * Reworked OpenVINO Plugin dev guide structure * Properties * Try to fix links * Mark properties for MYRIAD & HDDL * Extensibility guide with FE extensions and remove OV_FRAMEWORK_MAP from docs * Rework of Extensibility Intro, adopted examples to missing OPENVINO_FRAMEWORK_MAP * Removed OPENVINO_FRAMEWORK_MAP reference * Frontend extension detailed documentation * Fixed distributed snippets * Fixed snippet inclusion in FE extension document and chapter headers * Fixed wrong name in a snippet reference * Fixed test for template extension due to changed number of loaded extensions * Update docs/Extensibility_UG/frontend_extensions.md Co-authored-by: Ivan Tikhonov <ivan.tikhonov@intel.com> * Minor fixes in extension snippets * Small grammar fix Co-authored-by: Ivan Tikhonov <ivan.tikhonov@intel.com> Co-authored-by: Ivan Tikhonov <ivan.tikhonov@intel.com> * Update Benchmark guides (#11076) * - Update Benchmark Tool usage message - Remove not existed paths - Fix examples * remove reference on FPGA * Added groups for core headers (#11068) * DOCS: transition banner (#10973) * transition banner * minor fix * update transition banner * updates * update custom.js * updates * updates * Add a troubleshooting issue for PRC installation (#11074) * updates * adding gna to linux * add missing reference * update * Update docs/install_guides/installing-model-dev-tools.md Co-authored-by: Sergey Lyubimtsev <sergey.lyubimtsev@intel.com> * Update docs/install_guides/installing-model-dev-tools.md Co-authored-by: Sergey Lyubimtsev <sergey.lyubimtsev@intel.com> * Update docs/install_guides/installing-model-dev-tools.md Co-authored-by: Sergey Lyubimtsev <sergey.lyubimtsev@intel.com> * Update docs/install_guides/installing-model-dev-tools.md Co-authored-by: Sergey Lyubimtsev <sergey.lyubimtsev@intel.com> * Update docs/install_guides/installing-model-dev-tools.md Co-authored-by: Sergey Lyubimtsev <sergey.lyubimtsev@intel.com> * update * minor updates * add gna item to yum and apt * add gna to get started page * update reference formatting * merge commit * add a troubleshooting issue * update * update * fix CVS-71846 Co-authored-by: Sergey Lyubimtsev <sergey.lyubimtsev@intel.com> * DOC Removed indentation before snippets (#11111) * Removed indentation * Fixed code style * Added more information about tensor names (#11070) * Added more information about tensor names * Fixed comment and added documentation for extensions * Fixed code style * Fixed typo * Added group for transformation passes (#11101) * Added group for transformation passes * Try to fix CI * Docs: update AC info in API 2.0 migration guide (#11106) * Docs: update AC info in API 2.0 migration guide * Update docs/OV_Runtime_UG/migration_ov_2_0/intro.md * Update docs/OV_Runtime_UG/migration_ov_2_0/intro.md Co-authored-by: Karol Blaszczak <karol.blaszczak@intel.com> Co-authored-by: Karol Blaszczak <karol.blaszczak@intel.com> * Update headings and some wordings for Transition Guide (#11065) * updates * update * merge from releases/22/1 * update heading * update headings and some wordings * Feature/azaytsev/cherry pick pr11110 (#11115) * Minor fixes * Feature/azaytsev/img updates (#11110) * Updated images * Updated images * DOCS: doxy sphinxtabs (#11027) * initial implementation of doxy sphinxtabs * fixes * fixes * fixes * fixes * fixes * Reshape documentation (#10901) (#11108) * Reshape documentation * Converting Model : reshape metrined, Supported Devices: no shape inference mentioning * demos removed * Added deployment guide (#11060) * Added deployment guide * Added local distribution * Updates * Fixed more indentations * update edit on github branches (#11129) * DOCS: fixed hardcoded links (#11100) * Fixes * Use links * Updated documentation for compile_tool (#11049) * Benchmarks 2022 1 (#11130) * Minor fixes * Updates for 2022.1 * Edits according to the review * Edits according to review comments * Edits according to review comments * Edits according to review comments * Fixed table * Edits according to review comments * Removed config for Intel® Core™ i7-11850HE * Removed forward-tacotron-duration-prediction-241 graph * Added resnet-18-pytorch * [80085] New images for docs (#11114) * change doc structure * fix manager tools * fix manager tools 3 step * fix manager tools 3 step * new img * new img for OV Runtime * fix steps * steps * fix intendents * change list * fix space * fix space * code snippets fix * change display * fix screenshot (#11140) * applying reviewers comments to the Opt Guide (#11093) * applying reviewrs comments * fixed refs, more structuring (bold, bullets, etc) * refactoring tput/latency sections * next iteration (mostly latency), also brushed the auto-batching and other sections * updates sync/async images * common opts brushed * WIP tput redesigned * minor brushing of common and auto-batching * Tput fully refactored * fixed doc name in the link * moved int8 perf counters to the right section * fixed links * fixed broken quotes * fixed more links * add ref to the internals to the TOC * Added a note on the batch size Co-authored-by: Andrey Zaytsev <andrey.zaytsev@intel.com> * Add info about Docker images in Deployment guide (#11136) * [DOCS]transition_guide_intro_language (#11134) (#11142) a few language suggestions and grammar issues # Conflicts: # docs/OV_Runtime_UG/migration_ov_2_0/intro.md Co-authored-by: Karol Blaszczak <karol.blaszczak@intel.com> * [DOCS]autodevice_table_fix (#11141) * Update release version in readme (#11146) * [AUTO] Fix mess table in doc (#11149) * update AUTO Debug doc with snippets (#11153) Signed-off-by: Hu, Yuan2 <yuan2.hu@intel.com> * Update ShapeInference.md (#11168) * Benchmarks 2022 1 updates (#11180) * Updated graphs * Quick fix for TODO in Dynamic Shapes article * Anchor link fixes * [Docs][IE Samples] fix hard links (#11144) (#11186) * fix hard links * change encoding * fix TM Co-authored-by: CCR\ntyukaev <nikolay.tyukaev@intel.com> Co-authored-by: CCR\ntyukaev <nikolay.tyukaev@intel.com> * More conservative recommendations on dynamic shapes usage in docs (#11161) * More conservative recommendations about using dynamic shapes * Duplicated statement from C++ part to Python part of reshape doc (no semantical changes) * Added software tab for Linux installer (#11159) * Added software tab for Linux installer * Added information for apt and yum * Update docs/install_guides/installing-openvino-apt.md Co-authored-by: Yuan Xu <yuan1.xu@intel.com> Update docs/install_guides/installing-openvino-apt.md Co-authored-by: Yuan Xu <yuan1.xu@intel.com> Update docs/install_guides/installing-openvino-linux.md Co-authored-by: Yuan Xu <yuan1.xu@intel.com> Update docs/install_guides/installing-openvino-apt.md Co-authored-by: Yuan Xu <yuan1.xu@intel.com> Update docs/install_guides/installing-openvino-apt.md Co-authored-by: Yuan Xu <yuan1.xu@intel.com> Co-authored-by: Yuan Xu <yuan1.xu@intel.com> * [docs] python snippets for devices (#11174) * Update CPU docs * update GPU docs * update with sphinxtab * Fix docs * Add preprocessig snippet * Fix path * Fixed DM config (#11199) * Renamed user guides (#11137) * [Python API] Fix documentation for Core API -- release (#11200) * [Python API] Fix documentation for Core API * fix style * [OMZ]: port bugfix to 2022/1 branch (#11204) * a bunch of doc fixes (#11230) * Missing backslashes right after mo (#11252) * Revert vpu custom kernel (#11226) * Added original VPU custom kernel doc * Moved to new API * Added links from introduction * Fixed intro * DOCS-InstallGuide_review (#11217) langage adjustment * Docs labels adjustment (#11227) * Adjusted documentation labels * Renamed images * fix doc tests Co-authored-by: CCR\ntyukaev <nikolay.tyukaev@intel.com> * cvs-80083 (#11280) * fix wildcard sphinxdirective (#11263) * [docs] python snippets for migration pages (#11224) * save work * Add common snipp * update ie pipeline with python snippets * ov_common_snippet * Python snippets for graph construction * Fix docs Co-authored-by: Anastasia Kuporosova <anastasia.kuporosova@intel.com> * [Python API][Docs] Fix references for several classes (#11260) * next iteration after discussion with Yuri (#11197) * next iteration after discussion with Yuri * WIP tput * Basic/Advanced Flow * brushing/links * wording, testing the failing link * refactored levels, added hash * added advanced tput to the TOC (required by sphinx) * changed wording of the title to be more pro-active * minor misprint, etc * emphasized the flow names * Update two paragraphs in performance hints docs (cherry picked from commit 61415fd91f417b70eae595cc15976dec7af0865b) * minor brushing * e2e flow in the app design * no separate hints doc * minor brushing * final, neat-picking brushing Co-authored-by: Helena <helena.kloosterman@intel.com> * [docs] add missed old python api snippets (#11233) * Add missed old api snippets * Fix names * Fix markers * Fix methods call * Model optimizataion documentation update (#11072) * Fixed Model Optimization Guide and NNCF docs * Fixed the link to Optimum * Updated installatin guide * Changed API description * Changes quantization documents * Fixed links in the relevant components * Fixed API description * Revised CLI document * Fixed formatting bugs in the main document * Fixed formatting bugs in the main document * Changed the structure. Added Default quantization usage via API * Fixed E2E CLI example * Added AccuracyAware usage description * Revised structure and examples * Fixed a link to POT intro * Changed the structure for algorithms * Fixed links * Additional fixed of the links * Revised Ranger documentation * Some fixes * Revised Best Practicies * Fixed descriptions * Fixed section names * Changed the workflow one more time * Additional fixes to the model structure * Fixed AA usage * Added DefaultQuantization flow image * Fixed many issues * Fixed many issues * Applied many comments * Additional fixes * Fixed examples and provided links to them * Changed DataLoader Example. Fixed FAQ * Changed the main README for GitHub * Fixed E2E CLI example * Fixed links and code of DataLoader * Fixed build issues * Fixed more links * Fixed one more documentation build issue * Fixed more links * Fixed code example * Add multiple data loaders * Add audio example * Minor fixes in the code of sample loaders * Add descriptions of dataloaders. Changed the behaviour of text loader * Fixed typos * Added a new item into the FAQ * Apply wording corrections * Update docs/OV_Runtime_UG/supported_plugins/CPU.md Co-authored-by: Tatiana Savina <tatiana.savina@intel.com> * Fixed comments Co-authored-by: Tatiana Savina <tatiana.savina@intel.com> * [DOCS]continue_language_review-transitionguide (#11148) * [DOCS]-continue_language_review-transitionguide the overview has been merged, the remaining articles are reviewed here * Update docs/OV_Runtime_UG/migration_ov_2_0/deployment_migration.md * Update docs/OV_Runtime_UG/migration_ov_2_0/deployment_migration.md * Update docs/OV_Runtime_UG/migration_ov_2_0/deployment_migration.md * Update docs/OV_Runtime_UG/migration_ov_2_0/graph_construction.md * Update docs/OV_Runtime_UG/migration_ov_2_0/configure_devices.md * Configurable OpenCL usage in BA (#11344) (#11363) * Feature/azaytsev/doc fixes 2022 1 1 (#11388) * Removed a redundant image * Fixed ops specifications and other issues * converted html links to anchor links * converted html links to anchor links * Fixed a link * Fixed a link * Changed anchor links according to dev review * [DOCS] polish autodevice article (#11171) the article has been changed much and its language has been impacted in the process. Here are some corrections. * sphinx google search (#11439) * sphinx google search * fixes * fixes * fix version tabs * Fixed operation names (#11447) * DOCS-transitionguide_name_correction (#11449) OpenVINO™ 2.0 => OpenVINO™ API 2.0 * Azure CI: Update branch for contrib and testdata repos (#11473) * review GPU language changes (#11343) As per ticket #CVS-80053 * int8 link removed * DOCS-benchmarktool_python_correction (#11479) add info on tool installation Co-authored-by: Helena Kloosterman <helena.kloosterman@intel.com> * DOCS-cpu_language_review (#11526) Co-Authored-By: Yuan Xu <yuan1.xu@intel.com> * Update Convert_Model_From_TensorFlow.md (#11425) * [OMZ]: update submodule (#11286) * Support config option for time_tests suite (#11628) * Add links to MO installation and ONNX examples (#11617) These edits help make it easier for a new user to find more information on how to convert ONNX models. * Docs: Add links to specific examples (#11618) * Update docs/OV_Runtime_UG/integrate_with_your_application.md * Add links to specific examples This edit adds links to more example applications, making it easier for users to discover how to build an OpenVINO application around their specific model. * Fix failure of pytest in timetest (#11647) * Update installing-openvino-windows-header.md (#11221) (#11592) * Update installing-openvino-windows-header.md * Update docs/install_guides/installing-openvino-windows-header.md Co-authored-by: Karol Blaszczak <karol.blaszczak@intel.com> Co-authored-by: Sebastian Golebiewski <sebastianx.golebiewski@intel.com> * Update Yocto documentation for 2022.1 (#11655) * installing-openvino-yocto.md: fix install instructions (#10785) Change _ to : as per the new override syntax. Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> * installing-openvino-yocto: update for 2022.1 Update the branch to be used for 2022.1 and remove reference to -staticdev package which isn't generated anymore. Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> * DOCS-hetero_alignment_changes (#11643) Align the HETERO article with the AUTO and MULTI template * Fix CI on Windows (#11659) - fix pip requirements in OMZ - fix cpuFuncTests on AlderLake * Docs multiplugin page-wide tabs merge (#11461) * Update multi_device.md * druga runda * runda trzecia 11 * Update docs/OV_Runtime_UG/multi_device.md * Update docs/OV_Runtime_UG/multi_device.md * Update docs/OV_Runtime_UG/multi_device.md * Update docs/OV_Runtime_UG/multi_device.md * Update docs/OV_Runtime_UG/multi_device.md * Update docs/OV_Runtime_UG/multi_device.md * Update docs/OV_Runtime_UG/multi_device.md * Update docs/OV_Runtime_UG/multi_device.md * Update docs/OV_Runtime_UG/supported_plugins/Device_Plugins.md * correct post review * align the property table * Update docs/OV_Runtime_UG/auto_device_selection.md * Update docs/OV_Runtime_UG/multi_device.md Co-authored-by: Yuan Xu <yuan1.xu@intel.com> * Update docs/OV_Runtime_UG/multi_device.md Co-authored-by: Yuan Xu <yuan1.xu@intel.com> * Update docs/OV_Runtime_UG/multi_device.md Co-authored-by: Yuan Xu <yuan1.xu@intel.com> * Update docs/OV_Runtime_UG/multi_device.md Co-authored-by: Yuan Xu <yuan1.xu@intel.com> * Update docs/OV_Runtime_UG/multi_device.md Co-authored-by: Yuan Xu <yuan1.xu@intel.com> * Update docs/OV_Runtime_UG/multi_device.md Co-authored-by: Yuan Xu <yuan1.xu@intel.com> * Update docs/OV_Runtime_UG/supported_plugins/Device_Plugins.md Co-authored-by: Yuan Xu <yuan1.xu@intel.com> * Update docs/OV_Runtime_UG/supported_plugins/Device_Plugins.md Co-authored-by: Yuan Xu <yuan1.xu@intel.com> * Update docs/OV_Runtime_UG/supported_plugins/Device_Plugins.md Co-authored-by: Yuan Xu <yuan1.xu@intel.com> * Update docs/OV_Runtime_UG/supported_plugins/Device_Plugins.md Co-authored-by: Yuan Xu <yuan1.xu@intel.com> Co-authored-by: Yuan Xu <yuan1.xu@intel.com> * Fix compilation error in docs snippets (#11675) * plugin api separate config (#11109) * Revert "plugin api separate config (#11109)" (#11705) This reverts commit3249e61bfb. * Fix a heading in Auto (#11743) * fix the heading * fix headings * Docs: Add source code links to OpenVINO Samples (#11803) * Docs: Add links to Samples source code on GitHub * Add link to source code on GitHub * Add link to source code on GitHub * Add link to source code on GitHub * Add link to source code on GitHub * Add link to source code on GitHub * Add link to source code on GitHub * Add link to source code on GitHub * Add link to source code on GitHub * Add link to source code on GitHub * Add link to source code on GitHub * Add link to source code on GitHub * Add link to source code on GitHub * Add link to source code on GitHub * Add link to source code on GitHub * Add link to source code on GitHub * Add link to source code on GitHub * Update docs/OV_Runtime_UG/Samples_Overview.md * Update samples/c/hello_classification/README.md * Update samples/c/hello_nv12_input_classification/README.md * Update samples/cpp/classification_sample_async/README.md * Update samples/cpp/hello_classification/README.md * Update samples/cpp/hello_nv12_input_classification/README.md * Update samples/python/classification_sample_async/README.md * Update samples/python/hello_classification/README.md * Update samples/python/hello_query_device/README.md * Update samples/python/hello_reshape_ssd/README.md * Update samples/python/speech_sample/README.md * Update samples/cpp/hello_query_device/README.md * Update samples/cpp/speech_sample/README.md * Update samples/cpp/hello_reshape_ssd/README.md * Update samples/cpp/model_creation_sample/README.md Co-authored-by: Karol Blaszczak <karol.blaszczak@intel.com> * Docs: Add links to specific object detection examples (#11820) * Docs: Add links to object detection examples * Docs: Add links to specific examples * Docs: Add links to specific examples * Update docs/MO_DG/prepare_model/convert_model/tf_specific/Convert_YOLO_From_Tensorflow.md Co-authored-by: Karol Blaszczak <karol.blaszczak@intel.com> * Docs: Add that ONNX models are compatible with OpenVINO (#11821) * Docs: Add that ONNX models are compatible with OpenVINO * Update docs/MO_DG/prepare_model/convert_model/Convert_Model_From_ONNX.md Co-authored-by: Karol Blaszczak <karol.blaszczak@intel.com> * Docs: Add links to info on benchmark application (#11822) * Docs: Add link to benchmark_app * Docs: Add link to benchmark_app * Docs: Add link to benchmark_app * DOCS-add supported PdPd models_port (#11804) (#11827) * fix formatting (#11904) * DOCS-nncf_rephrasing-port #11997 (#12007) * Puts page switch parameters in alphabetic order to support S3 (#11960) (#11966) * Puts page switch parameters in alphabetic order to support S3 (#11960) Signed-off-by: intelkevinputnam <intelkevinputnam@github.com> Co-authored-by: intelkevinputnam <intelkevinputnam@github.com> * DOCS-restore_gsearch_comma (#11980) Co-authored-by: Kevin Putnam <kevin.putnam@intel.com> Co-authored-by: intelkevinputnam <intelkevinputnam@github.com> Co-authored-by: Piotr Milewski <piotr.milewski@intel.com> * Install only proper GNA library files (#11243) * If CMAKE_BUILD_TYPE is not set - set it to 'Release' by default (#11026) This behavior is already used by default because ONNX is enabled by default and thirdparty/onnx/onnx/CMakeLists.txt forcing CMAKE_BUILD_TYPE to Release if it is not set It fixes the following issues: - When ONNX frontend is disabled - source is built for Debug, which is very unexpected comparing to Release with ONNX frontend enabled - When ONNX frontend is disabled, even libopenvino.so could not be built due to some generated makefiles issues It is set to 'Release' (not to 'Debug') to comply with default behavior when ONNX is enabled (it is default option working for most users) * Build with system TBB (#11244) * Build with system TBB * Fixes * Check whether system TBB is available * Try to fix ONNX Runtime build with system TBB * Test * Fixed compilation of threading.cpp * Fixed unset of cache dirs * Limit dearch paths of TBB * Try to enable pip packages with custom TBB * Fix for TBB 2021.2 * Install only needed TBB libraries * Install TBB from system to pip package * Reverted usage of TBBROOT * Fixed oneTBB case * Try to fix Android * Escape some paths * Added samples path * Fixed TBBBind usage for case of system TBB * Disabled TBBBind usage for oneTBB (#11386) * Tbb 2018 and older usage (#11411) * fixed TBB * Fixed compilation with old TBBs * Fixed installation for custom provided TBB * Fixed detection of sample type c / cpp (#11444) * Tbb: download only if system libraries are not found (#11415) * Download custom TBB on demand * Download TBBBind on demand * Fixed install steps * FIxes * Don't use system TBB * Fixed WIndows backslash paths * Revert "Install only proper GNA library files (#11243)" This reverts commit8a1a6e8b1a. * Limit ONNX version (#11949) OV does not currently support opset 17 introduced in onnx 1.12 release. * setupvars.sh: Removing extra semicolon, which breaks glibc build (#11849) This extra semicolon creates an output as example below. The extra '::' is equivalent to add '.' as part of the LD_LIBRARY_PATH. This breaks glibc build, and very often creates weird issue when launch commands from different path. ...inference_engine/external/tbb/lib::/opt/intel/openvino_2021/... We also noticed that :${parameter:+:$parameter} is widely used in this file. Please review the code and fix as needed. * Updated setupvars scripts * Install external / user provided TBB as well * Remove protobuf requirements in python bindings (#11886) * Fixes for cases when TBB_DIR env var is set * Disable loading of v7 reader for new IR versions (#12252) * Disable loading of v7 reader for new IR versions * Try to fix CI * Fixed PDPD frontend * Fixed error message creation * Fixed newAPI for case if core was removed (#12207) * Fixed newAPI for case if core was removed * Fixed code style * Fixed typo * Use new API by default * Create core with template plugin * Added doxygen comment * Updated build_samples.sh not to call make command * Fixes * Don't use make in build_samples.sh script * Limit protobuf version * Fix for Include dirs * [PyOV] Fix bugbear's B023 (#12040) * Sync .github/workflows/py_checks.yml with master * Revert "Sync .github/workflows/py_checks.yml with master" This reverts commit9ae2dd9f46. * Change quotes * Revert "Sync .github/workflows/py_checks.yml with master" This reverts commit9ae2dd9f46. * Add static shared_objects map in FEM - add unit tests for frontend lib close - not use static FEM in ie network reader - add main for gtest which can use manifest file to filter tests * Move library pointers map to manger impl - add to manger impl method to make frontend from loaded plugin * Add shutdown function to ov namespace it cleans the static resources * Revert changes related to linking mian for tests * Add python binding to ov::openvino_shutdown * Renamed shutdown method and added to legacy C++ API * Added C bindings * Remove redundant files * Fixed code style * Cpp fix of python segfault, reverted pybind workaround (#10749) * test fix of segfault * styles applied * added keep_alive to pybind * remove redundant code * fix json tests * review remarks * introduced correct path to dlls in CI * removing passing path via env variable * introduced cpp solution * remove keep alive * review remarks * remove explicit removing model * removed shared_objects from ir frontend * core test updated * unified approach to handle extensions by frontends * added nullptr check * Revert "added nullptr check" This reverts commit666f5e4489. * Revert "unified approach to handle extensions by frontends" This reverts commitbf85ac24a6. * m_extensions declaration in Frontend * added assert * Revert "Disable loading of v7 reader for new IR versions (#12252)" This reverts commit60ee201d93. * Removed old headers from OV 2.0 API * FIxed clang * [OMZ]: update submodule * Fixed sampes build * Fixed tets build * Fixed docs compilation * Disable ARM plugin build * Disable MO * Revert "FIxed clang" This reverts commit8ebc86935c. * Revert "Removed old headers from OV 2.0 API" This reverts commit4e64eb22a1. * Revert "Disable ARM plugin build" This reverts commit54f805c28b. * Removed lib_close tests Co-authored-by: Sergey Lyubimtsev <sergey.lyubimtsev@intel.com> Co-authored-by: Karol Blaszczak <karol.blaszczak@intel.com> Co-authored-by: Maxim Vafin <maxim.vafin@intel.com> Co-authored-by: Tatiana Savina <tatiana.savina@intel.com> Co-authored-by: Yuan Xu <yuan1.xu@intel.com> Co-authored-by: Yuan Hu <yuan2.hu@intel.com> Co-authored-by: Andrey Zaytsev <andrey.zaytsev@intel.com> Co-authored-by: Maksim Kutakov <maksim.kutakov@intel.com> Co-authored-by: Sergey Lyalin <sergey.lyalin@intel.com> Co-authored-by: Ivan Tikhonov <ivan.tikhonov@intel.com> Co-authored-by: Ilya Churaev <ilya.churaev@intel.com> Co-authored-by: Nikolay Tyukaev <nikolay.tyukaev@intel.com> Co-authored-by: Ekaterina Aidova <ekaterina.aidova@intel.com> Co-authored-by: Evgenya Stepyreva <evgenya.stepyreva@intel.com> Co-authored-by: Maxim Shevtsov <maxim.y.shevtsov@intel.com> Co-authored-by: Ilya Naumov <ilya.naumov@intel.com> Co-authored-by: Alexey Suhov <alexey.suhov@intel.com> Co-authored-by: Chen Peter <peter.chen@intel.com> Co-authored-by: Vladimir Dudnik <vladimir.dudnik@intel.com> Co-authored-by: Alexey Lebedev <alexey.lebedev@intel.com> Co-authored-by: Anastasia Kuporosova <anastasia.kuporosova@intel.com> Co-authored-by: Eddy Kim <eddy.kim@intel.com> Co-authored-by: Helena <helena.kloosterman@intel.com> Co-authored-by: Alexander Kozlov <alexander.kozlov@intel.com> Co-authored-by: Alexander Zhogov <alexander.zhogov@intel.com> Co-authored-by: Evan <evan.juras@gmail.com> Co-authored-by: FanJiangIntel <fan.jiang@intel.com> Co-authored-by: Sebastian Golebiewski <sebastianx.golebiewski@intel.com> Co-authored-by: Anuj Mittal <anuj.mittal@intel.com> Co-authored-by: Mateusz Tabaka <mateusz.tabaka@intel.com> Co-authored-by: Kevin Putnam <kevin.putnam@intel.com> Co-authored-by: intelkevinputnam <intelkevinputnam@github.com> Co-authored-by: Piotr Milewski <piotr.milewski@intel.com> Co-authored-by: Mikhail Nosov <mikhail.nosov@intel.com> Co-authored-by: Tomasz Jankowski <tomasz1.jankowski@intel.com> Co-authored-by: stephenli2000 <stephen@aotu.ai> Co-authored-by: Artur Kulikowski <artur.kulikowski@intel.com> Co-authored-by: Jan Iwaszkiewicz <jan.iwaszkiewicz@intel.com> Co-authored-by: p-wysocki <przemyslaw.wysocki@intel.com> Co-authored-by: Raasz, Pawel <pawel.raasz@intel.com> Co-authored-by: Mateusz Bencer <mateusz.bencer@intel.com>
14 KiB
OpenVINO Samples
@sphinxdirective
.. _code samples:
.. toctree:: :maxdepth: 1 :hidden:
openvino_inference_engine_samples_classification_sample_async_README openvino_inference_engine_ie_bridges_python_sample_classification_sample_async_README openvino_inference_engine_samples_hello_classification_README openvino_inference_engine_ie_bridges_c_samples_hello_classification_README openvino_inference_engine_ie_bridges_python_sample_hello_classification_README openvino_inference_engine_samples_hello_reshape_ssd_README openvino_inference_engine_ie_bridges_python_sample_hello_reshape_ssd_README openvino_inference_engine_samples_hello_nv12_input_classification_README openvino_inference_engine_ie_bridges_c_samples_hello_nv12_input_classification_README openvino_inference_engine_samples_hello_query_device_README openvino_inference_engine_ie_bridges_python_sample_hello_query_device_README openvino_inference_engine_samples_model_creation_sample_README openvino_inference_engine_ie_bridges_python_sample_model_creation_sample_README openvino_inference_engine_samples_speech_sample_README openvino_inference_engine_ie_bridges_python_sample_speech_sample_README openvino_inference_engine_samples_benchmark_app_README openvino_inference_engine_tools_benchmark_tool_README
@endsphinxdirective
The OpenVINO samples are simple console applications that show how to utilize specific OpenVINO API capabilities within an application. They can assist you in executing specific tasks such as loading a model, running inference, querying specific device capabilities, etc.
If you install OpenVINO™ Runtime, sample applications for С, C++, and Python are created in the following directories:
<INSTALL_DIR>/samples/c<INSTALL_DIR>/samples/cpp<INSTALL_DIR>/samples/python
Source code for the samples is also available in the OpenVINO™ samples repository on GitHub. If you installed OpenVINO™ Runtime using PyPI, samples are not installed locally and must be accessed through GitHub.
The applications include:
-
Speech Sample - Acoustic model inference based on Kaldi neural networks and speech feature vectors.
-
Hello Classification Sample – Inference of image classification networks like AlexNet and GoogLeNet using Synchronous Inference Request API. Input of any size and layout can be set to an infer request which will be pre-processed automatically during inference (the sample supports only images as inputs and supports Unicode paths).
-
Hello NV12 Input Classification Sample – Input of any size and layout can be provided to an infer request. The sample transforms the input to the NV12 color format and pre-process it automatically during inference. The sample supports only images as inputs.
-
Hello Query Device Sample – Query of available OpenVINO devices and their metrics, configuration values.
-
Hello Reshape SSD Sample – Inference of SSD networks resized by ShapeInfer API according to an input size.
-
Image Classification Sample Async – Inference of image classification networks like AlexNet and GoogLeNet using Asynchronous Inference Request API (the sample supports only images as inputs).
-
OpenVINO Model Creation Sample – Construction of the LeNet model using the OpenVINO model creation sample.
-
Benchmark Application – Estimates deep learning inference performance on supported devices for synchronous and asynchronous modes.
Note that the Python version of the benchmark tool is currently available only through the OpenVINO Development Tools installation. It is not created in the samples directory but can be launched with the following command:
benchmark_app -m <model> -i <input> -d <device>For more information, check the Benchmark Python Tool documentation.
Note
: All C++ samples support input paths containing only ASCII characters, except for the Hello Classification Sample, that supports Unicode.
Media Files Available for Samples
To run the sample applications, you can use images and videos from the media files collection available at https://storage.openvinotoolkit.org/data/test_data.
Samples that Support Pre-Trained Models
To run the sample, you can use [public](@ref omz_models_group_public) or [Intel's](@ref omz_models_group_intel) pre-trained models from the Open Model Zoo. The models can be downloaded using the [Model Downloader](@ref omz_tools_downloader).
Build the Sample Applications
Build the Sample Applications on Linux
The officially supported Linux* build environment is the following:
- Ubuntu* 18.04 LTS 64-bit or Ubuntu* 20.04 LTS 64-bit
- GCC* 7.5.0 (for Ubuntu* 18.04) or GCC* 9.3.0 (for Ubuntu* 20.04)
- CMake* version 3.10 or higher
Note
: For building samples from the open-source version of OpenVINO™ toolkit, see the build instructions on GitHub.
To build the C or C++ sample applications for Linux, go to the <INSTALL_DIR>/samples/c or <INSTALL_DIR>/samples/cpp directory, respectively, and run the build_samples.sh script:
build_samples.sh
Once the build is completed, you can find sample binaries in the following folders:
- C samples:
~/inference_engine_c_samples_build/intel64/Release - C++ samples:
~/inference_engine_cpp_samples_build/intel64/Release
You can also build the sample applications manually:
Note
: If you have installed the product as a root user, switch to root mode before you continue:
sudo -i
- Navigate to a directory that you have write access to and create a samples build directory. This example uses a directory named
build:
mkdir build
Note
: If you run the Image Classification verification script during the installation, the C++ samples build directory is created in your home directory:
~/inference_engine_cpp_samples_build/
- Go to the created directory:
cd build
- Run CMake to generate the Make files for release or debug configuration. For example, for C++ samples:
- For release configuration:
cmake -DCMAKE_BUILD_TYPE=Release <INSTALL_DIR>/samples/cpp
- For debug configuration:
cmake -DCMAKE_BUILD_TYPE=Debug <INSTALL_DIR>/samples/cpp
- Run
maketo build the samples:
make
For the release configuration, the sample application binaries are in <path_to_build_directory>/intel64/Release/;
for the debug configuration — in <path_to_build_directory>/intel64/Debug/.
Build the Sample Applications on Microsoft Windows
The recommended Windows build environment is the following:
- Microsoft Windows 10
- Microsoft Visual Studio 2019
- CMake version 3.10 or higher
Note
: If you want to use Microsoft Visual Studio 2019, you are required to install CMake 3.14 or higher.
To build the C or C++ sample applications on Windows, go to the <INSTALL_DIR>\samples\c or <INSTALL_DIR>\samples\cpp directory, respectively, and run the build_samples_msvc.bat batch file:
build_samples_msvc.bat
By default, the script automatically detects the highest Microsoft Visual Studio version installed on the machine and uses it to create and build a solution for a sample code
Once the build is completed, you can find sample binaries in the following folders:
- C samples:
C:\Users\<user>\Documents\Intel\OpenVINO\inference_engine_c_samples_build\intel64\Release - C++ samples:
C:\Users\<user>\Documents\Intel\OpenVINO\inference_engine_cpp_samples_build\intel64\Release
You can also build a generated solution manually. For example, if you want to build C++ sample binaries in Debug configuration, run the appropriate version of the
Microsoft Visual Studio and open the generated solution file from the C:\Users\<user>\Documents\Intel\OpenVINO\inference_engine_cpp_samples_build\Samples.sln
directory.
Build the Sample Applications on macOS*
The officially supported macOS* build environment is the following:
- macOS* 10.15 64-bit or higher
- Clang* compiler from Xcode* 10.1 or higher
- CMake* version 3.13 or higher
Note
: For building samples from the open-source version of OpenVINO™ toolkit, see the build instructions on GitHub.
To build the C or C++ sample applications for macOS, go to the <INSTALL_DIR>/samples/c or <INSTALL_DIR>/samples/cpp directory, respectively, and run the build_samples.sh script:
build_samples.sh
Once the build is completed, you can find sample binaries in the following folders:
- C samples:
~/inference_engine_c_samples_build/intel64/Release - C++ samples:
~/inference_engine_cpp_samples_build/intel64/Release
You can also build the sample applications manually:
Note
: If you have installed the product as a root user, switch to root mode before you continue:
sudo -i
Note
: Before proceeding, make sure you have OpenVINO™ environment set correctly. This can be done manually by
cd <INSTALL_DIR>/
source setupvars.sh
- Navigate to a directory that you have write access to and create a samples build directory. This example uses a directory named
build:
mkdir build
Note
: If you ran the Image Classification verification script during the installation, the C++ samples build directory was already created in your home directory:
~/inference_engine_cpp_samples_build/
- Go to the created directory:
cd build
- Run CMake to generate the Make files for release or debug configuration. For example, for C++ samples:
- For release configuration:
cmake -DCMAKE_BUILD_TYPE=Release <INSTALL_DIR>/samples/cpp
- For debug configuration:
cmake -DCMAKE_BUILD_TYPE=Debug <INSTALL_DIR>/samples/cpp
- Run
maketo build the samples:
make
For the release configuration, the sample application binaries are in <path_to_build_directory>/intel64/Release/;
for the debug configuration — in <path_to_build_directory>/intel64/Debug/.
Get Ready for Running the Sample Applications
Get Ready for Running the Sample Applications on Linux*
Before running compiled binary files, make sure your application can find the
OpenVINO Runtime libraries.
Run the setupvars script to set all necessary environment variables:
source <INSTALL_DIR>/setupvars.sh
(Optional): The OpenVINO environment variables are removed when you close the shell. As an option, you can permanently set the environment variables as follows:
- Open the
.bashrcfile in<user_home_directory>:
vi <user_home_directory>/.bashrc
- Add this line to the end of the file:
source /opt/intel/openvino_2022/setupvars.sh
- Save and close the file: press the Esc key, type
:wqand press the Enter key. - To test your change, open a new terminal. You will see
[setupvars.sh] OpenVINO environment initialized.
You are ready to run sample applications. To learn about how to run a particular sample, read the sample documentation by clicking the sample name in the samples list above.
Get Ready for Running the Sample Applications on Windows*
Before running compiled binary files, make sure your application can find the
OpenVINO Runtime libraries.
Use the setupvars script, which sets all necessary environment variables:
<INSTALL_DIR>\setupvars.bat
To debug or run the samples on Windows in Microsoft Visual Studio, make sure you
have properly configured Debugging environment settings for the Debug
and Release configurations. Set correct paths to the OpenCV libraries, and
debug and release versions of the OpenVINO Runtime libraries.
For example, for the Debug configuration, go to the project's
Configuration Properties to the Debugging category and set the PATH
variable in the Environment field to the following:
PATH=<INSTALL_DIR>\runtime\bin;%PATH%
where <INSTALL_DIR> is the directory in which the OpenVINO toolkit is installed.
You are ready to run sample applications. To learn about how to run a particular sample, read the sample documentation by clicking the sample name in the samples list above.