Commit Graph

437 Commits

Author SHA1 Message Date
Ilya Lavrenov
1fa225e7bf Python in OpenVINO: improvements (#6027)
* enable make clean to remove ie_wheel artifacts

* ./setup.py:132:1: E302 expected 2 blank lines

* fix CI build issue

* Removed not-needed components from ie_wheel

* Use explicit python3 vresion in ngraph pythpn

* Use python3 everywhere

* Reuse python3 more

* Added function to build with Py_LIMITED_API

* Sync 2 cmake python modules

* Fix for tools

* Fixed typo

* Enable python by default

* Enable python build iff python-dev is found

* More migration to Python3_VERSION

* Install wheel requirements

* Fixed ngraph Python separate build

* Fixed cython compilation

* Revert to old packages

* Added suffix

* Specify python version explicitly

* Don't depend on python interp to build python itself

* More improvements

* Revert offline transformations back to ie_wheel

* Refactoring

* Trying to build wheel independently on C++ runtime

* Build wheel only with main OpenVINO

* Fixed typo in test_utils cmake lists

* Adding link stage

* small fix

* git diff

* Try to fix python tests

Co-authored-by: Sergey Lyubimtsev <sergey.lyubimtsev@intel.com>
2021-06-07 10:52:48 +03:00
Evgeny Lazarev
0db9d3e2c5 Added extractor for ONNX operation Size (#6031)
* Added extractor for ONNX operation Size

* Moved transformation of Size operation from TF specific to generic front phase

* Updated list of supported ONNX operation

* Moved unit test for Size decomposition to a new location
2021-06-04 17:18:01 +03:00
Denis Orlov
9de75d9cf1 [Doc] Update the driver link to storage.openvinotoolkit.org (#6021) 2021-06-03 17:28:27 +03:00
Bartosz Lesniewski
9384cfefc6 Revise NonZero op - specification (#5804)
* Revise spec for nonzero op

* Applying suggestions from review comments

* Change naming in detailed description, using tuple instead of column.

* add missing newlines in attributes section

* Remove trailing space from line 7
2021-06-03 14:18:01 +03:00
Kate Generalova
968888b510 doc: add link to docker tutorials (#5960) 2021-06-03 11:10:42 +02:00
Maxim Vafin
565e5cfb2b Fix QuartzNet documentation (#5987)
* Fix QuartzNet documentation

* Update Convert_QuartzNet.md

* Update Convert_QuartzNet.md
2021-06-02 19:00:36 +03:00
Maxim Vafin
9fe28706d0 Fix YOLACT documentation (#5990)
* Fix YOLACT documentation

* Update Convert_YOLACT.md
2021-06-02 18:58:25 +03:00
Katarzyna Mitrus
5f54ec559a [Spec] Prelu - Remove 1D slope restriction and update broadcast info (#5951)
* Remove 1D restriction and update broadcast info

* Add link to Broadcast Rules description
2021-06-02 14:30:15 +02:00
Jozef Daniecki
9970f5b248 Interpolate operation specification refactoring. (#5928)
* Interpolate  spec refactored against explicit type indication.

* Chnaged types names.
2021-06-02 08:22:20 +03:00
Yury Gaydaychuk
1264376173 [CPU] Extended preprocessing for CPU (#5750) 2021-06-01 17:03:24 +03:00
Ilya Lavrenov
eff9f00320 Refactored ie_plugin_config.hpp (#5899) 2021-06-01 16:31:29 +03:00
Jozef Daniecki
45ce06c57c CTCGreedyDecoder operation specification refactoring (#5885)
* CTCGreedyDecoder spec refactored against explicit type indication.

* Add backticks to output tensor description.
2021-06-01 13:58:45 +03:00
Dmitry Pigasin
b2abf25218 Python speech sample (#5322)
* Upload python speech sample draft

* Add function doc strings

* Add the ability to save results to a file

* Add a plugin configuration for GNA to get better accuracy

* Add errors calculation (comparison with a reference)

* Fix flake8 issues

* Add ability to run in hetero mode

* Add ability to load and save numpy format files (.npz)

* Add an error for wrong file extensions & update help message

* Add import and export GNA model options

* Add -we option to export embedded gna model

* Add readme

* Add -oname command line option (Layer names for output blobs)

* Add -iname command line option (Layer names for input blobs)

* Add info about -iname option to README.md

* doc: update readme, fix style

* Add a state reset between inferences

* add reset API to speech README

* doc: remove extra output from README

* remove onnx and TODO, format output

* Add an else branch to the if statement that checks a utterance data type

* Add dummy data for inference if a number of vectors < batch size

* Split the sample into separte files

Co-authored-by: Kate Generalova <kate.generalova@intel.com>
2021-06-01 12:48:02 +03:00
Jozef Daniecki
d40636f835 LRN operation specification refactoring (#5890)
* LRN spec refactored against explicit type indication.

* Fix spelling.
2021-06-01 12:01:43 +03:00
Pavel Esir
7a239c3856 [docs] corrected link in one billion convert doc, added DEPRECATED to dlrm (#5931)
* DEPRECATED dlrm convert instructions, corrected link in one billion model

* added DEPRECATED to dlrm title
2021-06-01 09:50:23 +02:00
Ilya Churaev
e803d1aa43 Moved CC macros to public API (#5929)
* Moved CC macros for transformations to public API (to reuse their in plugin transformations)

* Added CC to template plugin

* Moved itt.h from nGraph to openvino/cc

* Fixed build
2021-06-01 10:05:17 +03:00
Ivan Tikhonov
0350dfe886 delete wrong spec for RNNCell (#5117) 2021-06-01 09:53:05 +03:00
Xie Zhengtian
f58f636ba9 Fix wrong word in multi-device doc (#5930)
Signed-off-by: Zhengtian Xie <zhengtian.xie@intel.com>
2021-05-31 19:10:15 +03:00
Sergey Lyubimtsev
9a86cbffa7 PyPi install guides improvements (#5756)
* Update for install guides:

  - Human rights notice
  - Components descriptions update & console scripts
  - Extras requirements definition
  - Change verification step to Model Optimizer call

* Update docs/install_guides/pypi-openvino-dev.md

Co-authored-by: Helena Kloosterman <helena.kloosterman@intel.com>

* Update docs/install_guides/pypi-openvino-dev.md

Co-authored-by: Roman Donchenko <roman.donchenko@intel.com>

* Update docs/install_guides/pypi-openvino-dev.md

Co-authored-by: Roman Donchenko <roman.donchenko@intel.com>

* Update docs/install_guides/pypi-openvino-dev.md

Co-authored-by: Roman Donchenko <roman.donchenko@intel.com>

* Update docs/install_guides/pypi-openvino-dev.md

Co-authored-by: Roman Donchenko <roman.donchenko@intel.com>

* order

* fix grammar

* Update according to recommendations from InfoDev

* high-quality

* Caffe2*

* Update document style

Add additional verification step

* specify Ubuntu version for troubleshooting

* Add reference  to POT API.

Co-authored-by: Helena Kloosterman <helena.kloosterman@intel.com>
Co-authored-by: Roman Donchenko <roman.donchenko@intel.com>
2021-05-31 14:15:51 +03:00
Ilya Lavrenov
a0ce93639d Fixed klockwork issue (#5898) 2021-05-31 13:21:20 +03:00
Eunsoo Sheen
d05c3c63b5 [IE CLDNN] Add an initial loop primitive for fixed length sequence (#4954) 2021-05-28 11:55:48 +03:00
Tomasz Socha
87a47aa117 🦒Nonzero-adjustment (#5863) 2021-05-27 17:42:52 +03:00
Gabriele Galiero Casay
6b66f8f47f Reduction operations specification refactoring (#5612)
* Reduction operations specification refactoring

* Change axes input element type to any supported integer

* Address review comments related to wording
2021-05-27 16:38:51 +03:00
Anton Pankratv
d899606493 Merged plugin and exec network internal implementation (#4923)
Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
2021-05-27 13:33:09 +03:00
Sergey Lyubimtsev
5adf2ee80e [DOCS] Inconsistence between Python versions supported in OpenVINO (#5790)
* [DOCS] Inconsistence between Python versions supported in OpenVINO and Anaconda

* colon

* split
2021-05-26 19:19:03 +03:00
Ilya Lavrenov
26bfa6f0ac Tests for dynamic preprocessing in SetBlob (#5798)
* Corrected tests to match CVS-53713

* Fixed tests configs

* Skip tests on GPU

* Commented condition inside main SetBlob because of MYRIAD

* Adopted tests
2021-05-26 18:07:08 +03:00
Maxim Shevtsov
fa48c91cc8 Additional images to explain streams. also brushed the media referenc… (#5775)
* Additional images to explain streams. also brushed the media references/example

* Update dldt_optimization_guide.md

* Update dldt_optimization_guide.md

Co-authored-by: Andrey Zaytsev <andrey.zaytsev@intel.com>
2021-05-26 14:12:17 +03:00
Evgenya Stepyreva
74c8bd272b Low Precision IR documentation (#5791)
* Low Precision IR documentation

* Apply suggestions from code review

Co-authored-by: Anastasiya Ageeva <anastasiya.ageeva@intel.com>

Co-authored-by: Anastasiya Ageeva <anastasiya.ageeva@intel.com>
2021-05-25 16:43:42 +02:00
Ilya Churaev
7a31e29517 Fixed typo in snippets (#5781) 2021-05-25 11:45:10 +03:00
Ilya Churaev
cc810297f4 Align style doc with samples (#5709)
* Added clang-format config

* Fixed style

* Fixed code-style for snippets and fixed build

* Disable clang-format for snippets

* Fixed comments
2021-05-25 10:32:48 +03:00
Anastasiya Ageeva
52f1e8ced5 Fixed CVS-52338 (#5445)
* Fixed CVS-52338

* Minor fixes
2021-05-24 16:45:46 +03:00
Ilya Churaev
25999222b4 Added has_evauate to Node API (#5708) 2021-05-24 14:57:27 +03:00
Alexandra Sidorova
a74ba7b18e Fixed Softplus ref (#5755) 2021-05-24 14:34:12 +03:00
Piotr Szmelczynski
4b860890ed Revise floor (#5618)
* create type_prop tests

* add visitors test

* fix bug in visitor test

* add RTTI macro

* fix bug in visitors test

* add newline

* update spec

* update spec

* update RTTI definition

* move RTTI definitioion to the top of he file

* Remove broadcast from attribute tests.

* Add Floor-1 to summarize.py report.

Co-authored-by: jdanieck <jozef.daniecki@intel.com>
2021-05-21 07:55:26 +03:00
Ilya Lavrenov
0a629716de Follow up for PR #5645 (#5702) 2021-05-20 07:31:34 +03:00
Ilya Lavrenov
bc15656a32 Template set precision for output (#5693) 2021-05-19 22:58:03 +03:00
Anton Chetverikov
538f407829 Fix errors for VariadicSplit layer restored from serialized IR (#5613)
* Fix errors in VariadicSplit layer restored from serialized IR

* Update VariadicSplit specification and error message to allow 1D tensors on 1st input

* Update spec

* Resolve comments

* Apply comments, add unit tests

* Update unit tests
2021-05-19 19:03:58 +03:00
Ilya Lavrenov
181ad06668 Auto (#5645)
* Added LoadNetwork(filename) to AUTO

* Added more files

* So pointer can be used without loading

* Changed InferencePlugin, ICore to return internal interfaces

* Added SoPointers for InferRequest, ExecutableNetwork

* Fixed Windows

* Fixed KMB

* Fixes for KMB

* Removed dereference operator

* Play with include files

* Fixed compilation with older compilers

* Fixed comments

* Fixed win build

* Try  to fix Windows

* Try  to fix Windows 2

* Fixed windows

* Fixed windows

* Removed SOPointer as a base class

* Reverted back SOPointer split

* Code review

Co-authored-by: apankratovantonp <anton.pankratov@intel.com>
2021-05-19 13:18:58 +03:00
Sergey Lyubimtsev
b835c6e60a Added Troubleshooting section (#5625)
* Added Troubleshooting section

* correct gamma
2021-05-18 12:28:42 +03:00
Sergey Lyubimtsev
bcbc3fe8cd Update EULA link for PyPI install guides (#5452) 2021-05-18 12:25:37 +03:00
Gabriele Galiero Casay
6a8f8a0761 Enable zero epsilon attribute in BatchNormInference operation (#5657) 2021-05-18 07:30:10 +03:00
Patryk Elszkowski
8300e9d5a1 update reshape spec (#5575)
* update reshape spec

* fix input description

* use T_SHAPE instead T_INT

Co-authored-by: Patryk Elszkowski <patryk.elszkowki@intel.com>
2021-05-17 13:44:31 +03:00
Szymon Durawa
d5a8861475 Update specification for ConvolutionBackpropData. (#4679)
* Update specification for ConvolutionBackpropData.

* Add backticks to attribute types, changed layout description for input, filter and output.

* Correct xml example.

* Add new examples.

* Add link with convolution backprop description.

* Repleace additional link with argxiv website.

* Insert enumeration for examples.

* Fix example with output_shape input.
2021-05-17 09:21:07 +03:00
Ilya Naumov
3e076a88aa Align MO pip requirements (#5171)
* Align MO pip requirements

* fix missing mxnet on platforms other than Windows or Linux

* remove spaces near environment markers
2021-05-14 16:05:25 +03:00
Vladislav Volkov
d2c9bddff1 Convert operation optimization for FP16 -> INT8 and FP32 -> INT8 (#5275)
Improvements for ConvertPrecision transformation pass
2021-05-14 13:48:02 +03:00
Pavel Esir
5fa899a39e [nG] Gather-7 update for negative batch_dims (#5522)
* corrected negative batch_dims normalization, some improvements in dynamism for Gather_7

* corrected transformation

* added batch_dims and axis normalization for reference

* updated INTERPRETER backend tests; replaced sizet_t -> int64_t in Gather evaluate

* returned back size_t in reference

* made Gather-1 source compatible with previous ngraph library versions

* added unittest for v7->v1, with nonzero batch_dims transformation should not be executed

* fix axis validation error message

* fix batch_dims gettter

* fixed v7->v1 unittest for nonzero batch_dims
2021-05-14 10:31:36 +03:00
Ilya Lavrenov
07a49184c0 Fixed typo in length (#5611) 2021-05-13 07:52:55 +03:00
Pavel Esir
0383b44776 added RNN-t conversion doc (#5139)
* added RNN-t conversion doc

* applied review comments

* a couple of corrections

* added pip3 everywhere

* fixed a typo

* applied review comments

* title name fix

* applied Tatiana's comments round 2

* fixed a typo for 'inference'

* fixed typo in MLCommons name

* moved to PyTorch* specific, applied comments

* pytorch_specific typo

* froze MLCommons revision to r1.0; fixed typo in MLCommons relative path
2021-05-12 22:49:40 +03:00
Taylor Yeonbok Lee
6ecadc1548 [IE CLDNN] Add description for new CLDNN plugin configuration MAX_NUM_THREADS (#5582) 2021-05-12 12:33:24 +03:00
Vladimir Paramuzov
0dc161ad82 [IE CLDNN] Added CACHE_DIR option into docs (#5592) 2021-05-11 16:55:33 +03:00