2020-07-20 17:36:08 +03:00
# Inference Engine Samples {#openvino_docs_IE_DG_Samples_Overview}
The Inference Engine sample applications are simple console applications that show how to utilize specific Inference Engine capabilities within an application, assist developers in executing specific tasks such as loading a model, running inference, querying specific device capabilities and etc.
After installation of Intel® Distribution of OpenVINO™ toolkit, С , C++ and Python* sample applications are available in the following directories, respectively:
* `<INSTALL_DIR>/inference_engine/samples/c`
* `<INSTALL_DIR>/inference_engine/samples/cpp`
* `<INSTALL_DIR>/inference_engine/samples/python`
Inference Engine sample applications include the following:
- **[Automatic Speech Recognition C++ Sample ](../../inference-engine/samples/speech_sample/README.md )** – Acoustic model inference based on Kaldi neural networks and speech feature vectors.
- **Benchmark Application** – Estimates deep learning inference performance on supported devices for synchronous and asynchronous modes.
- [Benchmark C++ Application ](../../inference-engine/samples/benchmark_app/README.md )
- [Benchmark Python Application ](../../inference-engine/tools/benchmark_tool/README.md )
- **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 Classification C++ Sample ](../../inference-engine/samples/hello_classification/README.md )
- [Hello Classification C Sample ](../../inference-engine/ie_bridges/c/samples/hello_classification/README.md )
- **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 NV12 Input Classification C++ Sample ](../../inference-engine/samples/hello_nv12_input_classification/README.md )
- [Hello NV12 Input Classification C Sample ](../../inference-engine/ie_bridges/c/samples/hello_nv12_input_classification/README.md )
- **Hello Query Device Sample** – Query of available Inference Engine devices and their metrics, configuration values.
- [Hello Query Device C++ Sample ](../../inference-engine/samples/hello_query_device/README.md )
- [Hello Query Device Python* Sample ](../../inference-engine/ie_bridges/python/sample/hello_query_device/README.md )
- **[Hello Reshape SSD C++ Sample** ](../../inference-engine/samples/hello_reshape_ssd/README.md )** – 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).
- [Image Classification C++ Sample Async ](../../inference-engine/samples/classification_sample_async/README.md )
- [Image Classification Python* Sample Async ](../../inference-engine/ie_bridges/python/sample/classification_sample_async/README.md )
2020-10-27 10:23:25 +03:00
- **[Image Classification Python* Sample ](../../inference-engine/ie_bridges/python/sample/hello_classification/README.md )** – Inference of image classification networks like AlexNet and GoogLeNet using Synchronous Inference Request API (the sample supports only images as inputs).
2020-07-20 17:36:08 +03:00
- **Neural Style Transfer Sample** – Style Transfer sample (the sample supports only images as inputs).
- [Neural Style Transfer C++ Sample ](../../inference-engine/samples/style_transfer_sample/README.md )
- [Neural Style Transfer Python* Sample ](../../inference-engine/ie_bridges/python/sample/style_transfer_sample/README.md )
- **[nGraph Function Creation C++ Sample ](../../inference-engine/samples/ngraph_function_creation_sample/README.md )** – Construction of the LeNet network using the nGraph function creation sample.
- **Object Detection for SSD Sample** – Inference of object detection networks based on the SSD, this sample is simplified version that supports only images as inputs.
- [Object Detection for SSD C++ Sample ](../../inference-engine/samples/object_detection_sample_ssd/README.md )
- [Object Detection for SSD C Sample ](../../inference-engine/ie_bridges/c/samples/object_detection_sample_ssd/README.md )
- [Object Detection for SSD Python* Sample ](../../inference-engine/ie_bridges/python/sample/object_detection_sample_ssd/README.md )
2020-12-11 15:57:56 +03:00
> **NOTE**: All samples support input paths containing only ASCII characters, except the Hello Classification Sample, that supports Unicode.
2020-07-20 17:36:08 +03:00
## Media Files Available for Samples
To run the sample applications, you can use images and videos from the media files collection available at https://github.com/intel-iot-devkit/sample-videos.
## Samples that Support Pre-Trained Models
You can download the [pre-trained models ](@ref omz_models_intel_index ) using the OpenVINO [Model Downloader ](@ref omz_tools_downloader_README ) or from [https://download.01.org/opencv/ ](https://download.01.org/opencv/ ).
## Build the Sample Applications
### <a name="build_samples_linux"></a>Build the Sample Applications on Linux*
The officially supported Linux* build environment is the following:
Feature/azaytsev/merge to master (#2786)
* [IE CLDNN] Memory allocation optimizations (#2178)
* [GNA] Safety fixes (#2193)
* LSTMCell test [GNA] LSTMCell fix for GNA (#2216)
* [GNA] fix scale factor calculation for unfused bias after fc (2021.1) (#2195)
* [GNA] fix scale factor calculation for unfused bias after fc
* change check
* add test
* apply requested changes
* cpplint fix
* apply test changes
* modify model for test to match ::op::
* [LPT] Copy constant with several outputs before blob update (#2197)
* [LPT] Copy constant implementation
* [LPT] the same Constant ops as FQ interval boundaries
* [Scripts] Fixing issue with exporting path-like env when it undef (#2164)
* setupvars.sh: Added logic for exporting path env in case if it not defined
* setupvars: Removed duplicated colon
* Kept quotes where they were
* setupvars: updated copyrights
* FakeQuantize + Mul fusion (#2133)
* FQ+Mul fusion transform skeleton
* FQ+Mul fusion transform tests prep
* Basic UT for the transform
* Basic implementation of the transform
* Parametrized UTs for FQMul transform
* Parametrization of FQ+Mul UTs
* Make sure that the shapes of constants match
* Check if the mul constant matches FQ data
* CentOs compilation error fix
* PR feedback and adjusted tests
* NHWC layout of the mul constant
* UT: FQ output limits 4D
* Redundant CF pass removed
* Rewrite the graph in a different way
* Shape checking infrastructure skeleton
* Handle some negative cases
* Check the rt info in the fusion test
* Fuse all Mul nodes detected after FQ node
* Dont cast the original FQ node
* Dont throw if CF fails in new output range calculation
* More UTs
* Accept any type of input to FQ in the transformation
* Test the fusion when all FQ inputs are non-const
* Fusion test when only one output limit is const
* Extend error message (#2174)
* some nGraph KW fixes (#2176)
* Removed redundant methods
* Fixed KW for linux
* Fix QueryNetwork for networks with KSO (#2202)
* Added a test to reproduce QueryNetwork with KSO
* Fixed QueryNetwork for networks with KSO
* Added additional test
* Fixed output names for case with redundant ops before result (#2209)
* [IE][VPU]: Workaround to support parameter Beta for layer Swish (#2207)
* Workaround to full support Swish layer. It is faster than native Swish for now.
* [IE][VPU]: Remove the second call of ngraph::CommonOptimizations (#2221)
* Remove the second call of ngraph::CommonOptimizations in myriad plugin
* Reuse code with vpu ngraph transformations
* Duplicate PR 2167 for release branch: GatherTree description was extended and outdated link fixed (#2235)
* add more alrifications to description
* move clarification to comment
* pseudo code become more accurate
* review changes
* Add exposing function signatures via Cython (#2244)
* [DOC] Reshape feature (#2194)
* [IE][VPU][OpenCL] 2021.1 release compiler (#2189)
* Statically analyzed issues. (#2261)
* [IE][VPU]: Fix K propagation through Reshape (2021.1) (#2180)
* Fix K propagation through Reshape
* Add test cases
* Revert "[IE TESTS] dynavic batch for mvn layer (#1010)" (#2256)
This reverts commit 2e3378c50feb96df2bb8cb719bf0745705e35ad9.
* Fixed KW warning and review issues (#2262)
* [IE][VPU]: update firmware 1381 (#2236)
* Reverting devicePriorities to be vector and respect the order, as opposed to the incorrect (recent?) refactoring that introduced the unordered_map that effectively ignores the priorities (#2251)
* update OpenCV version to 4.5.0 (#2260)
* Add VPUX configuration to compile_tool (#2248)
* [IE][TESTS] Fix compareRawBuffers and compareBlobData methods (#2246)
Use `<=` comparison instead of `<` with thresholds.
This allows to use `0` threshold for bit-exact comparison.
* [IE][VPU]: KW fixes (#2186)
* Some KW fixes
* Fix printTo in vpu ngraph transformations
* Fix for static PartialShape detection algorithm (#2177)
* Fixes for Interpolate-4. (#2281)
* Update get_ov_update_message.py (#2286)
* Clone a specific tag for pybind11 (#2296)
* [Scripts] Fix setting PYTHONPATH logic (#2305)
* setupvars.sh: Added logic for exporting path env in case if it not defined
* setupvars: Removed duplicated colon
* install_openvino_dependencies: Updated copyrights
setupvars.bat: Updated notification about incorrect Python version. Removed checking ICC2019
setupvars.sh: Removed logic with choosing higher version of installed Python. Added dynamic detecting python3 major and minor version for setting path. Add checking minimum required Python version(now 3.6)
* Added python3-gi package and fixed libglib2.0-0 package location. (#2294)
* [IE TESTS] CoreThreading_LoadNetwork tests were disabled for GPU plugin (#2245) (#2283)
* setupvars: Updated notifications, fixed calling python in Windows case (#2318)
* Updated operations specification documents (2021.1) (#2268)
* Updated documentation structure and remove incorrect added files for Acosh-1, Asinh-1 and Atanh-1
* Fixed broken links
* Fixed c samples build (#2278) (#2304)
* Fixed c samples build
fixed CVS-38816 - Failure to build samples in C
* Fixed issue with gflags
* Revert "[IE][VPU]: Fix K propagation through Reshape (2021.1) (#2180)" (#2322)
This reverts commit d604a03ac0e639ba6dff3aa76f2830501a097fab.
* Added ONNX Resize-11 and ONNX Resize-13 to supported frameworks layers list. (#2325)
* Implement `run_executable.py` to run `TimeTests` several times (#2125) (#2188)
CI passed
* install_NEO_OCL_driver: Updated exit codes, messages. Updated way to remove old driver on Ubuntu (#2333)
* Bump cmake version to 3.13 (#2339)
* install_NEO_OCL_driver: Added checking of installed packages before trying to remove them. Added quotes for echo. (#2350)
* convert to doxygen comments
* add doxygen doc build configurations (#2191)
Co-authored-by: Nikolay Tyukaev <ntyukaev_lo@jenkins.inn.intel.com>
* [DOCS] Added an evaluate method for custom operation (#2272)
* Added an evaluate method for custom operation
* Fixed comments
* Downgrade cmake for samples (#2372)
* Downgrade cmake for samples
Downgraded cmake version to default version for Ubuntu 18.04
* Updated supported python version
The minimal python version in 2021.1 is 3.5
* Added notes about cmake requirements for samples and demo
* Install dependency refactoring. (#2381)
* Updated Transformation development doc (#2370)
* Delete xfail for resolved known issue (#2385)
* Fix layout links for dl streamer and c api (#2375)
* fix layouts
* change the dl-streamer link
Co-authored-by: Nikolay Tyukaev <ntyukaev_lo@jenkins.inn.intel.com>
* Added link options for cross-compilation (#2397)
* Added new GSG for macOS, made minor changes in Windows GSG (#2070) (#2405)
* Added new GSG for macOS, made minor changes in Windows GSG
* Update get_started_macos.md
Co-authored-by: Anastasiya Ageeva <anastasiya.ageeva@intel.com>
* Fixed docs build on Windows (#2383)
* layouts and code comments
* Replace absolute links to docs.openvinotoolkit.org by relative ones (#2439)
* Replaced direct links to docs.openvinotoolkit.org with relative links
* Replaced direct links to docs.openvinotoolkit.org with relative links. Added GSGs for Win and macOS
* Minor fixes in GSGs
* Replaced direct links to docs.openvinotoolkit.org with relative links
* Removed links to OpenVINO markdown files that contain anchor - they don't work in the current implementation of the doc process
* Fixed Notes
* Removed links to OpenVINO markdown files that contain anchor - they don't work in the current implementation of the doc process
* fixed link to installing-openvino-linux.md
* Update the menu to align with POT doc headers (#2433)
* Update the menu to align with POT doc headers
It changes the menu to align with Post-training Optimization Toolkit documentation titles.
* Corrected one title
Run Examples => How to Run Examples
* Added closing braсket (#2466)
Fixed syntax error (b4b03b1)
* Remove the deprecation notice (#2314)
* Removed deprecation notice
* Removed the note from other files
* [DOCS] Update Installation Guide - GPU steps (#2308)
* Initial commit
* fixing lists
* Update installing-openvino-linux.md
* Get rid of the note
* Added the scrrenshot
* Update installing-openvino-linux.md
* fixes
* separate layout
* [Docs] Update MO What's new description (#2481)
* Azure CI: Add separated pipelines for Windows, Linux, Mac
* Feature/azaytsev/benchmarks 2021 1 (#2501)
* Initial changes for 2021.1
* Inserted Graphtool scripts, updated configurations info
* Updated FAQ and minor changes to performance_benchmarks.md
* Updated for 2021.1
* Updated
* incorporated review comments
* incorporated review comments for FAQ
* fixed link
* Update build-instruction.md for MacOsX (#2457)
* Update build-instruction.md for MacOsX
* Removed call of install_dependencies.sh from the steps
* Changed layouts
* Feature/azaytsev/cvs-38240 (#2469)
* Updated for 2020 version, replaced Ubuntu 16.04 with Ubuntu 20.04
* Updated the release package numbers
* Removed FPGA from the documentation
* Updated according to the comments in the ticket CVS-37827 (#2448)
* Updated according to CVS-38225
* some changes
* Update docs for speech libs and demos (#2518)
* Made changes to benchmarks according to review comments
* Remove `--collect_results_only` (#2523)
* Remove `--collect_results_only` from MemCheckTests
* Remove CLI keys from README
* Added logo info to the Legal_Information, updated Ubuntu, CentOS supported versions
* Updated supported Intel® Core™ processors list
* Fixed table formatting
* [Jenkinsfile] Bump infra (#2546)
* [GNA] Documentation updates for 2021.1 (#2460)
* [GNA] Documentation updates for 2021.1
* Take Mike's comments into account
* More fixes according to review
* Fix processor generation names
* update api layouts
* Added new index page with overview
* Changed CMake and Python versions
* Fixed links
* some layout changes
* some layout changes
* nGraph Python API tutorial (#2500)
* nGraph Python API tutorial
* Tweaks
* Code review comments
* Code review comments
* some layout changes
* COnverted svg images to png
* layouts
* update layout
* Added a label for nGraph_Python_API.md
* fixed links
* Fixed image
* First draft of nGraph documentation (#2271)
* First draft of nGraph documentation
* updated according to review comments
* Updated
* Reviewed the nGraph Transformation section, added missing images
* Update nGraph_dg.md
* Delete python_api.md
Removed since there is already the nGraph_Python_API.md document with a comprehensive overview.
Co-authored-by: Andrey Zaytsev <andrey.zaytsev@intel.com>
Co-authored-by: CCR\avladimi <anastasiya.ageeva@intel.com>
* Feature/azaytsev/docs 2021 1 (#2560)
* Removed FPGA from the documentation
* Updated according to CVS-38225
* Added logo info to the Legal_Information, updated Ubuntu, CentOS supported versions
* Updated supported Intel® Core™ processors list
* Added new index page with overview
* Changed CMake and Python versions
* Fixed links
* COnverted svg images to png
* Added a label for nGraph_Python_API.md
* fixed links
* Fixed image
* Update SW requirements in build instructions and change latest release to 2021.1 (#2565)
* removed links to ../IE_DG/Introduction.md
* Removed links to tools overview page as removed
* some changes
* Remove link to Integrate_your_kernels_into_IE.md
* remove openvino_docs_IE_DG_Graph_debug_capabilities from layout as it was removed
* Fixed links to images (#2569)
* update layouts
* Added deprecation note for PassConfig class (#2593)
* Post-release fixes and installation path changes
* Added pip install documentation (#2465)
* Added pip install documentation
* Change references
* tiny fixes of links
* Update installing-openvino-pip.md
Co-authored-by: Alina Alborova <alina.alborova@intel.com>
* Update OpenVino ONNX CI check (#2599)
* Update OpenVino ONNX CI
* Change parallel execution to single
* Enlarge timeout
* Remove timeout
* Add timeout to test execution
* Added PIP installation and Build from Source to the layout
* Fixed formatting issue, removed broken link
* Renamed section EXAMPLES to RESOURCES according to review comments
* add mo faq navigation by url param
* Skip hanging test case of OpenVino ONNX CI (#2608)
* Update OpenVino ONNX CI
* Change parallel execution to single
* Enlarge timeout
* Remove timeout
* Add timeout to test execution
* Skip hanging test
* Add description to skip issue
* Removed DLDT description
* Replaced wrong links
* MInor fix for path to the cpp samples
* fixes
* Update ops.py
* Fix style
* Improve pip installation guide (#2644)
* Improve pip installation guide
* Updated after comments
* Feature/ntyukaev/separate layout (#2629)
* convert to doxygen comments
* layouts and code comments
* separate layout
* Changed layouts
* Removed FPGA from the documentation
* Updated according to CVS-38225
* some changes
* Made changes to benchmarks according to review comments
* Added logo info to the Legal_Information, updated Ubuntu, CentOS supported versions
* Updated supported Intel® Core™ processors list
* Fixed table formatting
* update api layouts
* Added new index page with overview
* Changed CMake and Python versions
* Fixed links
* some layout changes
* some layout changes
* some layout changes
* COnverted svg images to png
* layouts
* update layout
* Added a label for nGraph_Python_API.md
* fixed links
* Fixed image
* removed links to ../IE_DG/Introduction.md
* Removed links to tools overview page as removed
* some changes
* Remove link to Integrate_your_kernels_into_IE.md
* remove openvino_docs_IE_DG_Graph_debug_capabilities from layout as it was removed
* update layouts
* Post-release fixes and installation path changes
* Added PIP installation and Build from Source to the layout
* Fixed formatting issue, removed broken link
* Renamed section EXAMPLES to RESOURCES according to review comments
* add mo faq navigation by url param
* Removed DLDT description
* Replaced wrong links
* MInor fix for path to the cpp samples
* fixes
* Update ops.py
* Fix style
Co-authored-by: Nikolay Tyukaev <ntyukaev_lo@jenkins.inn.intel.com>
Co-authored-by: Tyukaev <nikolay.tyukaev@intel.com>
Co-authored-by: aalborov <alina.alborova@intel.com>
Co-authored-by: Rafal Blaczkowski <rafal.blaczkowski@intel.com>
Co-authored-by: Alexander Zhogov <alexander.zhogov@intel.com>
* Fixed CVS-35316 (#2072) (#2670)
Co-authored-by: Anastasiya Ageeva <anastasiya.ageeva@intel.com>
* [install_dependencies.sh] install latest cmake if current version is lower 3.13 (#2695) (#2701)
* [install_dependencies.sh] install latest cmake if current version is lower 3.13
* add shellcheck for Ubuntu
* install python 2.7 for Ubuntu
* Removed redundant file
* Exclude files that we didn't changed from merging
Co-authored-by: Sergey Shlyapnikov <sergey.shlyapnikov@intel.com>
Co-authored-by: Denis Orlov <denis.orlov@intel.com>
Co-authored-by: Kamil Magierski <kamil.magierski@intel.com>
Co-authored-by: Anna Alberska <anna.alberska@intel.com>
Co-authored-by: Edward Shogulin <edward.shogulin@intel.com>
Co-authored-by: Artyom Anokhov <artyom.anokhov@intel.com>
Co-authored-by: Tomasz Dołbniak <tomasz.dolbniak@intel.com>
Co-authored-by: Ilya Churaev <ilya.churaev@intel.com>
Co-authored-by: Roman Vyunov (Intel) <roman.vyunov@intel.com>
Co-authored-by: Maksim Doronin <maksim.doronin@intel.com>
Co-authored-by: Svetlana Dolinina <svetlana.a.dolinina@intel.com>
Co-authored-by: Evgeny Talanin <evgeny.talanin@intel.com>
Co-authored-by: Evgenya Stepyreva <evgenya.stepyreva@intel.com>
Co-authored-by: Maxim Kurin <maxim.kurin@intel.com>
Co-authored-by: Nikolay Shchegolev <nikolay.shchegolev@intel.com>
Co-authored-by: Andrew Bakalin <andrew.bakalin@intel.com>
Co-authored-by: Gorokhov Dmitriy <dmitry.gorokhov@intel.com>
Co-authored-by: Evgeny Latkin <evgeny.latkin@intel.com>
Co-authored-by: Maxim Shevtsov <maxim.y.shevtsov@intel.com>
Co-authored-by: Alexey Suhov <alexey.suhov@intel.com>
Co-authored-by: Alexander Novak <sasha-novak@yandex.ru>
Co-authored-by: Vladislav Vinogradov <vlad.vinogradov@intel.com>
Co-authored-by: Vladislav Volkov <vladislav.volkov@intel.com>
Co-authored-by: Vladimir Gavrilov <vladimir.gavrilov@intel.com>
Co-authored-by: Zoe Cayetano <zoe.cayetano@intel.com>
Co-authored-by: Dmitrii Denisov <dmitrii.denisov@intel.com>
Co-authored-by: Irina Efode <irina.efode@intel.com>
Co-authored-by: Evgeny Lazarev <evgeny.lazarev@intel.com>
Co-authored-by: Mikhail Ryzhov <mikhail.ryzhov@intel.com>
Co-authored-by: Vitaliy Urusovskij <vitaliy.urusovskij@intel.com>
Co-authored-by: Nikolay Tyukaev <ntyukaev_lo@jenkins.inn.intel.com>
Co-authored-by: Nikolay Tyukaev <nikolay.tyukaev@intel.com>
Co-authored-by: Gleb Kazantaev <gleb.kazantaev@intel.com>
Co-authored-by: Rafal Blaczkowski <rafal.blaczkowski@intel.com>
Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
Co-authored-by: Anastasiya Ageeva <anastasiya.ageeva@intel.com>
Co-authored-by: Maksim Proshin <mvproshin@gmail.com>
Co-authored-by: Alina Alborova <alina.alborova@intel.com>
Co-authored-by: Maxim Vafin <maxim.vafin@intel.com>
Co-authored-by: azhogov <alexander.zhogov@intel.com>
Co-authored-by: Alina Kladieva <alina.kladieva@intel.com>
Co-authored-by: Michał Karzyński <4430709+postrational@users.noreply.github.com>
Co-authored-by: Anton Romanov <anton.romanov@intel.com>
2020-10-27 00:41:46 +03:00
* Ubuntu* 18.04 LTS 64-bit or CentOS* 7.6 64-bit
* GCC* 7.5.0 (for Ubuntu* 18.04) or GCC* 4.8.5 (for CentOS* 7.6)
* CMake* version 3.10 or higher
2020-11-24 13:12:22 +03:00
> **NOTE**: For building samples from the open-source version of OpenVINO™ toolkit, see the [build instructions on GitHub](https://github.com/openvinotoolkit/openvino/wiki/BuildingCode).
2020-07-20 17:36:08 +03:00
To build the C or C++ sample applications for Linux, go to the `<INSTALL_DIR>/inference_engine/samples/c` or `<INSTALL_DIR>/inference_engine/samples/cpp` directory, respectively, and run the `build_samples.sh` script:
```sh
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`
1. Navigate to a directory that you have write access to and create a samples build directory. This example uses a directory named `build` :
```sh
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_samples_build/`
2. Go to the created directory:
```sh
cd build
```
3. Run CMake to generate the Make files for release or debug configuration. For example, for C++ samples:
- For release configuration:
```sh
cmake -DCMAKE_BUILD_TYPE=Release < INSTALL_DIR > /inference_engine/samples/cpp
```
- For debug configuration:
```sh
cmake -DCMAKE_BUILD_TYPE=Debug < INSTALL_DIR > /inference_engine/samples/cpp
```
4. Run `make` to build the samples:
```sh
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/` .
### <a name="build_samples_windows"></a>Build the Sample Applications on Microsoft Windows* OS
The recommended Windows* build environment is the following:
* Microsoft Windows* 10
2020-08-11 19:10:56 +03:00
* Microsoft Visual Studio* 2017, or 2019
Feature/azaytsev/merge to master (#2786)
* [IE CLDNN] Memory allocation optimizations (#2178)
* [GNA] Safety fixes (#2193)
* LSTMCell test [GNA] LSTMCell fix for GNA (#2216)
* [GNA] fix scale factor calculation for unfused bias after fc (2021.1) (#2195)
* [GNA] fix scale factor calculation for unfused bias after fc
* change check
* add test
* apply requested changes
* cpplint fix
* apply test changes
* modify model for test to match ::op::
* [LPT] Copy constant with several outputs before blob update (#2197)
* [LPT] Copy constant implementation
* [LPT] the same Constant ops as FQ interval boundaries
* [Scripts] Fixing issue with exporting path-like env when it undef (#2164)
* setupvars.sh: Added logic for exporting path env in case if it not defined
* setupvars: Removed duplicated colon
* Kept quotes where they were
* setupvars: updated copyrights
* FakeQuantize + Mul fusion (#2133)
* FQ+Mul fusion transform skeleton
* FQ+Mul fusion transform tests prep
* Basic UT for the transform
* Basic implementation of the transform
* Parametrized UTs for FQMul transform
* Parametrization of FQ+Mul UTs
* Make sure that the shapes of constants match
* Check if the mul constant matches FQ data
* CentOs compilation error fix
* PR feedback and adjusted tests
* NHWC layout of the mul constant
* UT: FQ output limits 4D
* Redundant CF pass removed
* Rewrite the graph in a different way
* Shape checking infrastructure skeleton
* Handle some negative cases
* Check the rt info in the fusion test
* Fuse all Mul nodes detected after FQ node
* Dont cast the original FQ node
* Dont throw if CF fails in new output range calculation
* More UTs
* Accept any type of input to FQ in the transformation
* Test the fusion when all FQ inputs are non-const
* Fusion test when only one output limit is const
* Extend error message (#2174)
* some nGraph KW fixes (#2176)
* Removed redundant methods
* Fixed KW for linux
* Fix QueryNetwork for networks with KSO (#2202)
* Added a test to reproduce QueryNetwork with KSO
* Fixed QueryNetwork for networks with KSO
* Added additional test
* Fixed output names for case with redundant ops before result (#2209)
* [IE][VPU]: Workaround to support parameter Beta for layer Swish (#2207)
* Workaround to full support Swish layer. It is faster than native Swish for now.
* [IE][VPU]: Remove the second call of ngraph::CommonOptimizations (#2221)
* Remove the second call of ngraph::CommonOptimizations in myriad plugin
* Reuse code with vpu ngraph transformations
* Duplicate PR 2167 for release branch: GatherTree description was extended and outdated link fixed (#2235)
* add more alrifications to description
* move clarification to comment
* pseudo code become more accurate
* review changes
* Add exposing function signatures via Cython (#2244)
* [DOC] Reshape feature (#2194)
* [IE][VPU][OpenCL] 2021.1 release compiler (#2189)
* Statically analyzed issues. (#2261)
* [IE][VPU]: Fix K propagation through Reshape (2021.1) (#2180)
* Fix K propagation through Reshape
* Add test cases
* Revert "[IE TESTS] dynavic batch for mvn layer (#1010)" (#2256)
This reverts commit 2e3378c50feb96df2bb8cb719bf0745705e35ad9.
* Fixed KW warning and review issues (#2262)
* [IE][VPU]: update firmware 1381 (#2236)
* Reverting devicePriorities to be vector and respect the order, as opposed to the incorrect (recent?) refactoring that introduced the unordered_map that effectively ignores the priorities (#2251)
* update OpenCV version to 4.5.0 (#2260)
* Add VPUX configuration to compile_tool (#2248)
* [IE][TESTS] Fix compareRawBuffers and compareBlobData methods (#2246)
Use `<=` comparison instead of `<` with thresholds.
This allows to use `0` threshold for bit-exact comparison.
* [IE][VPU]: KW fixes (#2186)
* Some KW fixes
* Fix printTo in vpu ngraph transformations
* Fix for static PartialShape detection algorithm (#2177)
* Fixes for Interpolate-4. (#2281)
* Update get_ov_update_message.py (#2286)
* Clone a specific tag for pybind11 (#2296)
* [Scripts] Fix setting PYTHONPATH logic (#2305)
* setupvars.sh: Added logic for exporting path env in case if it not defined
* setupvars: Removed duplicated colon
* install_openvino_dependencies: Updated copyrights
setupvars.bat: Updated notification about incorrect Python version. Removed checking ICC2019
setupvars.sh: Removed logic with choosing higher version of installed Python. Added dynamic detecting python3 major and minor version for setting path. Add checking minimum required Python version(now 3.6)
* Added python3-gi package and fixed libglib2.0-0 package location. (#2294)
* [IE TESTS] CoreThreading_LoadNetwork tests were disabled for GPU plugin (#2245) (#2283)
* setupvars: Updated notifications, fixed calling python in Windows case (#2318)
* Updated operations specification documents (2021.1) (#2268)
* Updated documentation structure and remove incorrect added files for Acosh-1, Asinh-1 and Atanh-1
* Fixed broken links
* Fixed c samples build (#2278) (#2304)
* Fixed c samples build
fixed CVS-38816 - Failure to build samples in C
* Fixed issue with gflags
* Revert "[IE][VPU]: Fix K propagation through Reshape (2021.1) (#2180)" (#2322)
This reverts commit d604a03ac0e639ba6dff3aa76f2830501a097fab.
* Added ONNX Resize-11 and ONNX Resize-13 to supported frameworks layers list. (#2325)
* Implement `run_executable.py` to run `TimeTests` several times (#2125) (#2188)
CI passed
* install_NEO_OCL_driver: Updated exit codes, messages. Updated way to remove old driver on Ubuntu (#2333)
* Bump cmake version to 3.13 (#2339)
* install_NEO_OCL_driver: Added checking of installed packages before trying to remove them. Added quotes for echo. (#2350)
* convert to doxygen comments
* add doxygen doc build configurations (#2191)
Co-authored-by: Nikolay Tyukaev <ntyukaev_lo@jenkins.inn.intel.com>
* [DOCS] Added an evaluate method for custom operation (#2272)
* Added an evaluate method for custom operation
* Fixed comments
* Downgrade cmake for samples (#2372)
* Downgrade cmake for samples
Downgraded cmake version to default version for Ubuntu 18.04
* Updated supported python version
The minimal python version in 2021.1 is 3.5
* Added notes about cmake requirements for samples and demo
* Install dependency refactoring. (#2381)
* Updated Transformation development doc (#2370)
* Delete xfail for resolved known issue (#2385)
* Fix layout links for dl streamer and c api (#2375)
* fix layouts
* change the dl-streamer link
Co-authored-by: Nikolay Tyukaev <ntyukaev_lo@jenkins.inn.intel.com>
* Added link options for cross-compilation (#2397)
* Added new GSG for macOS, made minor changes in Windows GSG (#2070) (#2405)
* Added new GSG for macOS, made minor changes in Windows GSG
* Update get_started_macos.md
Co-authored-by: Anastasiya Ageeva <anastasiya.ageeva@intel.com>
* Fixed docs build on Windows (#2383)
* layouts and code comments
* Replace absolute links to docs.openvinotoolkit.org by relative ones (#2439)
* Replaced direct links to docs.openvinotoolkit.org with relative links
* Replaced direct links to docs.openvinotoolkit.org with relative links. Added GSGs for Win and macOS
* Minor fixes in GSGs
* Replaced direct links to docs.openvinotoolkit.org with relative links
* Removed links to OpenVINO markdown files that contain anchor - they don't work in the current implementation of the doc process
* Fixed Notes
* Removed links to OpenVINO markdown files that contain anchor - they don't work in the current implementation of the doc process
* fixed link to installing-openvino-linux.md
* Update the menu to align with POT doc headers (#2433)
* Update the menu to align with POT doc headers
It changes the menu to align with Post-training Optimization Toolkit documentation titles.
* Corrected one title
Run Examples => How to Run Examples
* Added closing braсket (#2466)
Fixed syntax error (b4b03b1)
* Remove the deprecation notice (#2314)
* Removed deprecation notice
* Removed the note from other files
* [DOCS] Update Installation Guide - GPU steps (#2308)
* Initial commit
* fixing lists
* Update installing-openvino-linux.md
* Get rid of the note
* Added the scrrenshot
* Update installing-openvino-linux.md
* fixes
* separate layout
* [Docs] Update MO What's new description (#2481)
* Azure CI: Add separated pipelines for Windows, Linux, Mac
* Feature/azaytsev/benchmarks 2021 1 (#2501)
* Initial changes for 2021.1
* Inserted Graphtool scripts, updated configurations info
* Updated FAQ and minor changes to performance_benchmarks.md
* Updated for 2021.1
* Updated
* incorporated review comments
* incorporated review comments for FAQ
* fixed link
* Update build-instruction.md for MacOsX (#2457)
* Update build-instruction.md for MacOsX
* Removed call of install_dependencies.sh from the steps
* Changed layouts
* Feature/azaytsev/cvs-38240 (#2469)
* Updated for 2020 version, replaced Ubuntu 16.04 with Ubuntu 20.04
* Updated the release package numbers
* Removed FPGA from the documentation
* Updated according to the comments in the ticket CVS-37827 (#2448)
* Updated according to CVS-38225
* some changes
* Update docs for speech libs and demos (#2518)
* Made changes to benchmarks according to review comments
* Remove `--collect_results_only` (#2523)
* Remove `--collect_results_only` from MemCheckTests
* Remove CLI keys from README
* Added logo info to the Legal_Information, updated Ubuntu, CentOS supported versions
* Updated supported Intel® Core™ processors list
* Fixed table formatting
* [Jenkinsfile] Bump infra (#2546)
* [GNA] Documentation updates for 2021.1 (#2460)
* [GNA] Documentation updates for 2021.1
* Take Mike's comments into account
* More fixes according to review
* Fix processor generation names
* update api layouts
* Added new index page with overview
* Changed CMake and Python versions
* Fixed links
* some layout changes
* some layout changes
* nGraph Python API tutorial (#2500)
* nGraph Python API tutorial
* Tweaks
* Code review comments
* Code review comments
* some layout changes
* COnverted svg images to png
* layouts
* update layout
* Added a label for nGraph_Python_API.md
* fixed links
* Fixed image
* First draft of nGraph documentation (#2271)
* First draft of nGraph documentation
* updated according to review comments
* Updated
* Reviewed the nGraph Transformation section, added missing images
* Update nGraph_dg.md
* Delete python_api.md
Removed since there is already the nGraph_Python_API.md document with a comprehensive overview.
Co-authored-by: Andrey Zaytsev <andrey.zaytsev@intel.com>
Co-authored-by: CCR\avladimi <anastasiya.ageeva@intel.com>
* Feature/azaytsev/docs 2021 1 (#2560)
* Removed FPGA from the documentation
* Updated according to CVS-38225
* Added logo info to the Legal_Information, updated Ubuntu, CentOS supported versions
* Updated supported Intel® Core™ processors list
* Added new index page with overview
* Changed CMake and Python versions
* Fixed links
* COnverted svg images to png
* Added a label for nGraph_Python_API.md
* fixed links
* Fixed image
* Update SW requirements in build instructions and change latest release to 2021.1 (#2565)
* removed links to ../IE_DG/Introduction.md
* Removed links to tools overview page as removed
* some changes
* Remove link to Integrate_your_kernels_into_IE.md
* remove openvino_docs_IE_DG_Graph_debug_capabilities from layout as it was removed
* Fixed links to images (#2569)
* update layouts
* Added deprecation note for PassConfig class (#2593)
* Post-release fixes and installation path changes
* Added pip install documentation (#2465)
* Added pip install documentation
* Change references
* tiny fixes of links
* Update installing-openvino-pip.md
Co-authored-by: Alina Alborova <alina.alborova@intel.com>
* Update OpenVino ONNX CI check (#2599)
* Update OpenVino ONNX CI
* Change parallel execution to single
* Enlarge timeout
* Remove timeout
* Add timeout to test execution
* Added PIP installation and Build from Source to the layout
* Fixed formatting issue, removed broken link
* Renamed section EXAMPLES to RESOURCES according to review comments
* add mo faq navigation by url param
* Skip hanging test case of OpenVino ONNX CI (#2608)
* Update OpenVino ONNX CI
* Change parallel execution to single
* Enlarge timeout
* Remove timeout
* Add timeout to test execution
* Skip hanging test
* Add description to skip issue
* Removed DLDT description
* Replaced wrong links
* MInor fix for path to the cpp samples
* fixes
* Update ops.py
* Fix style
* Improve pip installation guide (#2644)
* Improve pip installation guide
* Updated after comments
* Feature/ntyukaev/separate layout (#2629)
* convert to doxygen comments
* layouts and code comments
* separate layout
* Changed layouts
* Removed FPGA from the documentation
* Updated according to CVS-38225
* some changes
* Made changes to benchmarks according to review comments
* Added logo info to the Legal_Information, updated Ubuntu, CentOS supported versions
* Updated supported Intel® Core™ processors list
* Fixed table formatting
* update api layouts
* Added new index page with overview
* Changed CMake and Python versions
* Fixed links
* some layout changes
* some layout changes
* some layout changes
* COnverted svg images to png
* layouts
* update layout
* Added a label for nGraph_Python_API.md
* fixed links
* Fixed image
* removed links to ../IE_DG/Introduction.md
* Removed links to tools overview page as removed
* some changes
* Remove link to Integrate_your_kernels_into_IE.md
* remove openvino_docs_IE_DG_Graph_debug_capabilities from layout as it was removed
* update layouts
* Post-release fixes and installation path changes
* Added PIP installation and Build from Source to the layout
* Fixed formatting issue, removed broken link
* Renamed section EXAMPLES to RESOURCES according to review comments
* add mo faq navigation by url param
* Removed DLDT description
* Replaced wrong links
* MInor fix for path to the cpp samples
* fixes
* Update ops.py
* Fix style
Co-authored-by: Nikolay Tyukaev <ntyukaev_lo@jenkins.inn.intel.com>
Co-authored-by: Tyukaev <nikolay.tyukaev@intel.com>
Co-authored-by: aalborov <alina.alborova@intel.com>
Co-authored-by: Rafal Blaczkowski <rafal.blaczkowski@intel.com>
Co-authored-by: Alexander Zhogov <alexander.zhogov@intel.com>
* Fixed CVS-35316 (#2072) (#2670)
Co-authored-by: Anastasiya Ageeva <anastasiya.ageeva@intel.com>
* [install_dependencies.sh] install latest cmake if current version is lower 3.13 (#2695) (#2701)
* [install_dependencies.sh] install latest cmake if current version is lower 3.13
* add shellcheck for Ubuntu
* install python 2.7 for Ubuntu
* Removed redundant file
* Exclude files that we didn't changed from merging
Co-authored-by: Sergey Shlyapnikov <sergey.shlyapnikov@intel.com>
Co-authored-by: Denis Orlov <denis.orlov@intel.com>
Co-authored-by: Kamil Magierski <kamil.magierski@intel.com>
Co-authored-by: Anna Alberska <anna.alberska@intel.com>
Co-authored-by: Edward Shogulin <edward.shogulin@intel.com>
Co-authored-by: Artyom Anokhov <artyom.anokhov@intel.com>
Co-authored-by: Tomasz Dołbniak <tomasz.dolbniak@intel.com>
Co-authored-by: Ilya Churaev <ilya.churaev@intel.com>
Co-authored-by: Roman Vyunov (Intel) <roman.vyunov@intel.com>
Co-authored-by: Maksim Doronin <maksim.doronin@intel.com>
Co-authored-by: Svetlana Dolinina <svetlana.a.dolinina@intel.com>
Co-authored-by: Evgeny Talanin <evgeny.talanin@intel.com>
Co-authored-by: Evgenya Stepyreva <evgenya.stepyreva@intel.com>
Co-authored-by: Maxim Kurin <maxim.kurin@intel.com>
Co-authored-by: Nikolay Shchegolev <nikolay.shchegolev@intel.com>
Co-authored-by: Andrew Bakalin <andrew.bakalin@intel.com>
Co-authored-by: Gorokhov Dmitriy <dmitry.gorokhov@intel.com>
Co-authored-by: Evgeny Latkin <evgeny.latkin@intel.com>
Co-authored-by: Maxim Shevtsov <maxim.y.shevtsov@intel.com>
Co-authored-by: Alexey Suhov <alexey.suhov@intel.com>
Co-authored-by: Alexander Novak <sasha-novak@yandex.ru>
Co-authored-by: Vladislav Vinogradov <vlad.vinogradov@intel.com>
Co-authored-by: Vladislav Volkov <vladislav.volkov@intel.com>
Co-authored-by: Vladimir Gavrilov <vladimir.gavrilov@intel.com>
Co-authored-by: Zoe Cayetano <zoe.cayetano@intel.com>
Co-authored-by: Dmitrii Denisov <dmitrii.denisov@intel.com>
Co-authored-by: Irina Efode <irina.efode@intel.com>
Co-authored-by: Evgeny Lazarev <evgeny.lazarev@intel.com>
Co-authored-by: Mikhail Ryzhov <mikhail.ryzhov@intel.com>
Co-authored-by: Vitaliy Urusovskij <vitaliy.urusovskij@intel.com>
Co-authored-by: Nikolay Tyukaev <ntyukaev_lo@jenkins.inn.intel.com>
Co-authored-by: Nikolay Tyukaev <nikolay.tyukaev@intel.com>
Co-authored-by: Gleb Kazantaev <gleb.kazantaev@intel.com>
Co-authored-by: Rafal Blaczkowski <rafal.blaczkowski@intel.com>
Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
Co-authored-by: Anastasiya Ageeva <anastasiya.ageeva@intel.com>
Co-authored-by: Maksim Proshin <mvproshin@gmail.com>
Co-authored-by: Alina Alborova <alina.alborova@intel.com>
Co-authored-by: Maxim Vafin <maxim.vafin@intel.com>
Co-authored-by: azhogov <alexander.zhogov@intel.com>
Co-authored-by: Alina Kladieva <alina.kladieva@intel.com>
Co-authored-by: Michał Karzyński <4430709+postrational@users.noreply.github.com>
Co-authored-by: Anton Romanov <anton.romanov@intel.com>
2020-10-27 00:41:46 +03:00
* CMake* version 3.10 or higher
2020-07-20 17:36:08 +03:00
> **NOTE**: If you want to use Microsoft Visual Studio 2019, you are required to install CMake 3.14.
To build the C or C++ sample applications on Windows, go to the `<INSTALL_DIR>\inference_engine\samples\c` or `<INSTALL_DIR>\inference_engine\samples\cpp` directory, respectively, and run the `build_samples_msvc.bat` batch file:
```sh
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. Optionally, you can also specify the preferred Microsoft Visual Studio version to be used by the script. Supported
2020-08-11 19:10:56 +03:00
versions are `VS2017` and `VS2019` . For example, to build the C++ samples using the Microsoft Visual Studio 2017, use the following command:
2020-07-20 17:36:08 +03:00
```sh
< INSTALL_DIR > \inference_engine\samples\cpp\build_samples_msvc.bat VS2017
```
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.
## 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
Inference Engine and OpenCV libraries.
Run the `setupvars` script to set all necessary environment variables:
```sh
source < INSTALL_DIR > /bin/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:
1. Open the `.bashrc` file in `<user_home_directory>` :
```sh
vi < user_home_directory > /.bashrc
```
2. Add this line to the end of the file:
```sh
source /opt/intel/openvino/bin/setupvars.sh
```
3. Save and close the file: press the **Esc** key, type `:wq` and press the **Enter** key.
4. 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
Inference Engine and OpenCV libraries.
Use the `setupvars` script, which sets all necessary environment variables:
```sh
< INSTALL_DIR > \bin\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 Inference Engine 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:
```sh
PATH=< INSTALL_DIR > \deployment_tools\inference_engine\bin\intel64\Debug;< INSTALL_DIR > \opencv\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.
## See Also
Feature/azaytsev/merge to master (#2786)
* [IE CLDNN] Memory allocation optimizations (#2178)
* [GNA] Safety fixes (#2193)
* LSTMCell test [GNA] LSTMCell fix for GNA (#2216)
* [GNA] fix scale factor calculation for unfused bias after fc (2021.1) (#2195)
* [GNA] fix scale factor calculation for unfused bias after fc
* change check
* add test
* apply requested changes
* cpplint fix
* apply test changes
* modify model for test to match ::op::
* [LPT] Copy constant with several outputs before blob update (#2197)
* [LPT] Copy constant implementation
* [LPT] the same Constant ops as FQ interval boundaries
* [Scripts] Fixing issue with exporting path-like env when it undef (#2164)
* setupvars.sh: Added logic for exporting path env in case if it not defined
* setupvars: Removed duplicated colon
* Kept quotes where they were
* setupvars: updated copyrights
* FakeQuantize + Mul fusion (#2133)
* FQ+Mul fusion transform skeleton
* FQ+Mul fusion transform tests prep
* Basic UT for the transform
* Basic implementation of the transform
* Parametrized UTs for FQMul transform
* Parametrization of FQ+Mul UTs
* Make sure that the shapes of constants match
* Check if the mul constant matches FQ data
* CentOs compilation error fix
* PR feedback and adjusted tests
* NHWC layout of the mul constant
* UT: FQ output limits 4D
* Redundant CF pass removed
* Rewrite the graph in a different way
* Shape checking infrastructure skeleton
* Handle some negative cases
* Check the rt info in the fusion test
* Fuse all Mul nodes detected after FQ node
* Dont cast the original FQ node
* Dont throw if CF fails in new output range calculation
* More UTs
* Accept any type of input to FQ in the transformation
* Test the fusion when all FQ inputs are non-const
* Fusion test when only one output limit is const
* Extend error message (#2174)
* some nGraph KW fixes (#2176)
* Removed redundant methods
* Fixed KW for linux
* Fix QueryNetwork for networks with KSO (#2202)
* Added a test to reproduce QueryNetwork with KSO
* Fixed QueryNetwork for networks with KSO
* Added additional test
* Fixed output names for case with redundant ops before result (#2209)
* [IE][VPU]: Workaround to support parameter Beta for layer Swish (#2207)
* Workaround to full support Swish layer. It is faster than native Swish for now.
* [IE][VPU]: Remove the second call of ngraph::CommonOptimizations (#2221)
* Remove the second call of ngraph::CommonOptimizations in myriad plugin
* Reuse code with vpu ngraph transformations
* Duplicate PR 2167 for release branch: GatherTree description was extended and outdated link fixed (#2235)
* add more alrifications to description
* move clarification to comment
* pseudo code become more accurate
* review changes
* Add exposing function signatures via Cython (#2244)
* [DOC] Reshape feature (#2194)
* [IE][VPU][OpenCL] 2021.1 release compiler (#2189)
* Statically analyzed issues. (#2261)
* [IE][VPU]: Fix K propagation through Reshape (2021.1) (#2180)
* Fix K propagation through Reshape
* Add test cases
* Revert "[IE TESTS] dynavic batch for mvn layer (#1010)" (#2256)
This reverts commit 2e3378c50feb96df2bb8cb719bf0745705e35ad9.
* Fixed KW warning and review issues (#2262)
* [IE][VPU]: update firmware 1381 (#2236)
* Reverting devicePriorities to be vector and respect the order, as opposed to the incorrect (recent?) refactoring that introduced the unordered_map that effectively ignores the priorities (#2251)
* update OpenCV version to 4.5.0 (#2260)
* Add VPUX configuration to compile_tool (#2248)
* [IE][TESTS] Fix compareRawBuffers and compareBlobData methods (#2246)
Use `<=` comparison instead of `<` with thresholds.
This allows to use `0` threshold for bit-exact comparison.
* [IE][VPU]: KW fixes (#2186)
* Some KW fixes
* Fix printTo in vpu ngraph transformations
* Fix for static PartialShape detection algorithm (#2177)
* Fixes for Interpolate-4. (#2281)
* Update get_ov_update_message.py (#2286)
* Clone a specific tag for pybind11 (#2296)
* [Scripts] Fix setting PYTHONPATH logic (#2305)
* setupvars.sh: Added logic for exporting path env in case if it not defined
* setupvars: Removed duplicated colon
* install_openvino_dependencies: Updated copyrights
setupvars.bat: Updated notification about incorrect Python version. Removed checking ICC2019
setupvars.sh: Removed logic with choosing higher version of installed Python. Added dynamic detecting python3 major and minor version for setting path. Add checking minimum required Python version(now 3.6)
* Added python3-gi package and fixed libglib2.0-0 package location. (#2294)
* [IE TESTS] CoreThreading_LoadNetwork tests were disabled for GPU plugin (#2245) (#2283)
* setupvars: Updated notifications, fixed calling python in Windows case (#2318)
* Updated operations specification documents (2021.1) (#2268)
* Updated documentation structure and remove incorrect added files for Acosh-1, Asinh-1 and Atanh-1
* Fixed broken links
* Fixed c samples build (#2278) (#2304)
* Fixed c samples build
fixed CVS-38816 - Failure to build samples in C
* Fixed issue with gflags
* Revert "[IE][VPU]: Fix K propagation through Reshape (2021.1) (#2180)" (#2322)
This reverts commit d604a03ac0e639ba6dff3aa76f2830501a097fab.
* Added ONNX Resize-11 and ONNX Resize-13 to supported frameworks layers list. (#2325)
* Implement `run_executable.py` to run `TimeTests` several times (#2125) (#2188)
CI passed
* install_NEO_OCL_driver: Updated exit codes, messages. Updated way to remove old driver on Ubuntu (#2333)
* Bump cmake version to 3.13 (#2339)
* install_NEO_OCL_driver: Added checking of installed packages before trying to remove them. Added quotes for echo. (#2350)
* convert to doxygen comments
* add doxygen doc build configurations (#2191)
Co-authored-by: Nikolay Tyukaev <ntyukaev_lo@jenkins.inn.intel.com>
* [DOCS] Added an evaluate method for custom operation (#2272)
* Added an evaluate method for custom operation
* Fixed comments
* Downgrade cmake for samples (#2372)
* Downgrade cmake for samples
Downgraded cmake version to default version for Ubuntu 18.04
* Updated supported python version
The minimal python version in 2021.1 is 3.5
* Added notes about cmake requirements for samples and demo
* Install dependency refactoring. (#2381)
* Updated Transformation development doc (#2370)
* Delete xfail for resolved known issue (#2385)
* Fix layout links for dl streamer and c api (#2375)
* fix layouts
* change the dl-streamer link
Co-authored-by: Nikolay Tyukaev <ntyukaev_lo@jenkins.inn.intel.com>
* Added link options for cross-compilation (#2397)
* Added new GSG for macOS, made minor changes in Windows GSG (#2070) (#2405)
* Added new GSG for macOS, made minor changes in Windows GSG
* Update get_started_macos.md
Co-authored-by: Anastasiya Ageeva <anastasiya.ageeva@intel.com>
* Fixed docs build on Windows (#2383)
* layouts and code comments
* Replace absolute links to docs.openvinotoolkit.org by relative ones (#2439)
* Replaced direct links to docs.openvinotoolkit.org with relative links
* Replaced direct links to docs.openvinotoolkit.org with relative links. Added GSGs for Win and macOS
* Minor fixes in GSGs
* Replaced direct links to docs.openvinotoolkit.org with relative links
* Removed links to OpenVINO markdown files that contain anchor - they don't work in the current implementation of the doc process
* Fixed Notes
* Removed links to OpenVINO markdown files that contain anchor - they don't work in the current implementation of the doc process
* fixed link to installing-openvino-linux.md
* Update the menu to align with POT doc headers (#2433)
* Update the menu to align with POT doc headers
It changes the menu to align with Post-training Optimization Toolkit documentation titles.
* Corrected one title
Run Examples => How to Run Examples
* Added closing braсket (#2466)
Fixed syntax error (b4b03b1)
* Remove the deprecation notice (#2314)
* Removed deprecation notice
* Removed the note from other files
* [DOCS] Update Installation Guide - GPU steps (#2308)
* Initial commit
* fixing lists
* Update installing-openvino-linux.md
* Get rid of the note
* Added the scrrenshot
* Update installing-openvino-linux.md
* fixes
* separate layout
* [Docs] Update MO What's new description (#2481)
* Azure CI: Add separated pipelines for Windows, Linux, Mac
* Feature/azaytsev/benchmarks 2021 1 (#2501)
* Initial changes for 2021.1
* Inserted Graphtool scripts, updated configurations info
* Updated FAQ and minor changes to performance_benchmarks.md
* Updated for 2021.1
* Updated
* incorporated review comments
* incorporated review comments for FAQ
* fixed link
* Update build-instruction.md for MacOsX (#2457)
* Update build-instruction.md for MacOsX
* Removed call of install_dependencies.sh from the steps
* Changed layouts
* Feature/azaytsev/cvs-38240 (#2469)
* Updated for 2020 version, replaced Ubuntu 16.04 with Ubuntu 20.04
* Updated the release package numbers
* Removed FPGA from the documentation
* Updated according to the comments in the ticket CVS-37827 (#2448)
* Updated according to CVS-38225
* some changes
* Update docs for speech libs and demos (#2518)
* Made changes to benchmarks according to review comments
* Remove `--collect_results_only` (#2523)
* Remove `--collect_results_only` from MemCheckTests
* Remove CLI keys from README
* Added logo info to the Legal_Information, updated Ubuntu, CentOS supported versions
* Updated supported Intel® Core™ processors list
* Fixed table formatting
* [Jenkinsfile] Bump infra (#2546)
* [GNA] Documentation updates for 2021.1 (#2460)
* [GNA] Documentation updates for 2021.1
* Take Mike's comments into account
* More fixes according to review
* Fix processor generation names
* update api layouts
* Added new index page with overview
* Changed CMake and Python versions
* Fixed links
* some layout changes
* some layout changes
* nGraph Python API tutorial (#2500)
* nGraph Python API tutorial
* Tweaks
* Code review comments
* Code review comments
* some layout changes
* COnverted svg images to png
* layouts
* update layout
* Added a label for nGraph_Python_API.md
* fixed links
* Fixed image
* First draft of nGraph documentation (#2271)
* First draft of nGraph documentation
* updated according to review comments
* Updated
* Reviewed the nGraph Transformation section, added missing images
* Update nGraph_dg.md
* Delete python_api.md
Removed since there is already the nGraph_Python_API.md document with a comprehensive overview.
Co-authored-by: Andrey Zaytsev <andrey.zaytsev@intel.com>
Co-authored-by: CCR\avladimi <anastasiya.ageeva@intel.com>
* Feature/azaytsev/docs 2021 1 (#2560)
* Removed FPGA from the documentation
* Updated according to CVS-38225
* Added logo info to the Legal_Information, updated Ubuntu, CentOS supported versions
* Updated supported Intel® Core™ processors list
* Added new index page with overview
* Changed CMake and Python versions
* Fixed links
* COnverted svg images to png
* Added a label for nGraph_Python_API.md
* fixed links
* Fixed image
* Update SW requirements in build instructions and change latest release to 2021.1 (#2565)
* removed links to ../IE_DG/Introduction.md
* Removed links to tools overview page as removed
* some changes
* Remove link to Integrate_your_kernels_into_IE.md
* remove openvino_docs_IE_DG_Graph_debug_capabilities from layout as it was removed
* Fixed links to images (#2569)
* update layouts
* Added deprecation note for PassConfig class (#2593)
* Post-release fixes and installation path changes
* Added pip install documentation (#2465)
* Added pip install documentation
* Change references
* tiny fixes of links
* Update installing-openvino-pip.md
Co-authored-by: Alina Alborova <alina.alborova@intel.com>
* Update OpenVino ONNX CI check (#2599)
* Update OpenVino ONNX CI
* Change parallel execution to single
* Enlarge timeout
* Remove timeout
* Add timeout to test execution
* Added PIP installation and Build from Source to the layout
* Fixed formatting issue, removed broken link
* Renamed section EXAMPLES to RESOURCES according to review comments
* add mo faq navigation by url param
* Skip hanging test case of OpenVino ONNX CI (#2608)
* Update OpenVino ONNX CI
* Change parallel execution to single
* Enlarge timeout
* Remove timeout
* Add timeout to test execution
* Skip hanging test
* Add description to skip issue
* Removed DLDT description
* Replaced wrong links
* MInor fix for path to the cpp samples
* fixes
* Update ops.py
* Fix style
* Improve pip installation guide (#2644)
* Improve pip installation guide
* Updated after comments
* Feature/ntyukaev/separate layout (#2629)
* convert to doxygen comments
* layouts and code comments
* separate layout
* Changed layouts
* Removed FPGA from the documentation
* Updated according to CVS-38225
* some changes
* Made changes to benchmarks according to review comments
* Added logo info to the Legal_Information, updated Ubuntu, CentOS supported versions
* Updated supported Intel® Core™ processors list
* Fixed table formatting
* update api layouts
* Added new index page with overview
* Changed CMake and Python versions
* Fixed links
* some layout changes
* some layout changes
* some layout changes
* COnverted svg images to png
* layouts
* update layout
* Added a label for nGraph_Python_API.md
* fixed links
* Fixed image
* removed links to ../IE_DG/Introduction.md
* Removed links to tools overview page as removed
* some changes
* Remove link to Integrate_your_kernels_into_IE.md
* remove openvino_docs_IE_DG_Graph_debug_capabilities from layout as it was removed
* update layouts
* Post-release fixes and installation path changes
* Added PIP installation and Build from Source to the layout
* Fixed formatting issue, removed broken link
* Renamed section EXAMPLES to RESOURCES according to review comments
* add mo faq navigation by url param
* Removed DLDT description
* Replaced wrong links
* MInor fix for path to the cpp samples
* fixes
* Update ops.py
* Fix style
Co-authored-by: Nikolay Tyukaev <ntyukaev_lo@jenkins.inn.intel.com>
Co-authored-by: Tyukaev <nikolay.tyukaev@intel.com>
Co-authored-by: aalborov <alina.alborova@intel.com>
Co-authored-by: Rafal Blaczkowski <rafal.blaczkowski@intel.com>
Co-authored-by: Alexander Zhogov <alexander.zhogov@intel.com>
* Fixed CVS-35316 (#2072) (#2670)
Co-authored-by: Anastasiya Ageeva <anastasiya.ageeva@intel.com>
* [install_dependencies.sh] install latest cmake if current version is lower 3.13 (#2695) (#2701)
* [install_dependencies.sh] install latest cmake if current version is lower 3.13
* add shellcheck for Ubuntu
* install python 2.7 for Ubuntu
* Removed redundant file
* Exclude files that we didn't changed from merging
Co-authored-by: Sergey Shlyapnikov <sergey.shlyapnikov@intel.com>
Co-authored-by: Denis Orlov <denis.orlov@intel.com>
Co-authored-by: Kamil Magierski <kamil.magierski@intel.com>
Co-authored-by: Anna Alberska <anna.alberska@intel.com>
Co-authored-by: Edward Shogulin <edward.shogulin@intel.com>
Co-authored-by: Artyom Anokhov <artyom.anokhov@intel.com>
Co-authored-by: Tomasz Dołbniak <tomasz.dolbniak@intel.com>
Co-authored-by: Ilya Churaev <ilya.churaev@intel.com>
Co-authored-by: Roman Vyunov (Intel) <roman.vyunov@intel.com>
Co-authored-by: Maksim Doronin <maksim.doronin@intel.com>
Co-authored-by: Svetlana Dolinina <svetlana.a.dolinina@intel.com>
Co-authored-by: Evgeny Talanin <evgeny.talanin@intel.com>
Co-authored-by: Evgenya Stepyreva <evgenya.stepyreva@intel.com>
Co-authored-by: Maxim Kurin <maxim.kurin@intel.com>
Co-authored-by: Nikolay Shchegolev <nikolay.shchegolev@intel.com>
Co-authored-by: Andrew Bakalin <andrew.bakalin@intel.com>
Co-authored-by: Gorokhov Dmitriy <dmitry.gorokhov@intel.com>
Co-authored-by: Evgeny Latkin <evgeny.latkin@intel.com>
Co-authored-by: Maxim Shevtsov <maxim.y.shevtsov@intel.com>
Co-authored-by: Alexey Suhov <alexey.suhov@intel.com>
Co-authored-by: Alexander Novak <sasha-novak@yandex.ru>
Co-authored-by: Vladislav Vinogradov <vlad.vinogradov@intel.com>
Co-authored-by: Vladislav Volkov <vladislav.volkov@intel.com>
Co-authored-by: Vladimir Gavrilov <vladimir.gavrilov@intel.com>
Co-authored-by: Zoe Cayetano <zoe.cayetano@intel.com>
Co-authored-by: Dmitrii Denisov <dmitrii.denisov@intel.com>
Co-authored-by: Irina Efode <irina.efode@intel.com>
Co-authored-by: Evgeny Lazarev <evgeny.lazarev@intel.com>
Co-authored-by: Mikhail Ryzhov <mikhail.ryzhov@intel.com>
Co-authored-by: Vitaliy Urusovskij <vitaliy.urusovskij@intel.com>
Co-authored-by: Nikolay Tyukaev <ntyukaev_lo@jenkins.inn.intel.com>
Co-authored-by: Nikolay Tyukaev <nikolay.tyukaev@intel.com>
Co-authored-by: Gleb Kazantaev <gleb.kazantaev@intel.com>
Co-authored-by: Rafal Blaczkowski <rafal.blaczkowski@intel.com>
Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
Co-authored-by: Anastasiya Ageeva <anastasiya.ageeva@intel.com>
Co-authored-by: Maksim Proshin <mvproshin@gmail.com>
Co-authored-by: Alina Alborova <alina.alborova@intel.com>
Co-authored-by: Maxim Vafin <maxim.vafin@intel.com>
Co-authored-by: azhogov <alexander.zhogov@intel.com>
Co-authored-by: Alina Kladieva <alina.kladieva@intel.com>
Co-authored-by: Michał Karzyński <4430709+postrational@users.noreply.github.com>
Co-authored-by: Anton Romanov <anton.romanov@intel.com>
2020-10-27 00:41:46 +03:00
* [Introduction to Inference Engine ](inference_engine_intro.md )