Commit Graph

756 Commits

Author SHA1 Message Date
Roman Kazantsev
42892767f5 [MO, nGraph, transforms., ref., python] Support DetectionOutput-8 (#8853)
* Implement MO part for DetectionOutput-8

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Implement nGraph part for DetectionOutput-8

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Implement deduction of a number of classes method

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Fix build

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Implement nGraph tests to check shape inference for DetectionOutput-8 with deduction of num_classes

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Implement attributes tests for DetectionOutput-8

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Remove DetectionOutput-1 from opset8

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Add python bindings for DetectionOutput-8 and tests

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Implement downgrading and upgrading transformations for DetectionOutput

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Implement tests for downgrading and upgrading transformations for DetectionOutput

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Adopt existing reference for DetectionOutput-8

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Fix DetectionOutput-8 reference

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Add tests for DetectionOutput-8 reference

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Finish resolving merge conflict

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Fix python bindings after re-structuring

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Fix BOM package list

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Fix multibox_detection_test

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Fix python bindings for DetectionOutput-8

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Insert blank line between summary and description for python binding

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Apply review comments: identation, for loop

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Fix formatting in python bindings

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Fix supported_attrs for DetectionOutput from opset1

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Add missed imports for python if_op

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Apply feedback and fix Win build

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Use the same test suite name for test mixture

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Fix transformation tests

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Recover BWDCMP_RTTI for legacy use and remove unused variables in tests

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Remove unused variables in type_prop tests

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Recover legacy referenceDetectionOutput constructor

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Fix python binding for DetectionOutput

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
2021-12-07 01:17:49 +03:00
Mikhail Ryzhov
40691e9cc5 [GNA] Renamed plugin and moved it to new place (#8944)
* Renamed plugin

* Changed plugin source dir

* Fixed tests

* Renamed ENABLE_GNA to ENABLE_INTEL_GNA

* Fixed centos compile error

* One more renaming place

* HF for centos 7

* renamed the name in version api

* Fixed CI configurations

* Disabled GNA plugin for old gcc (<=5.4)

* Fixed Azure Win job
2021-12-06 13:00:35 +03:00
Roman Kazantsev
dcf5be9838 Specify DetectionOutput-8 operation (#8704)
* Specify DetectionOutput-8 operation

The delta is small where we just remove num_classes attribute to support OD models out of the box

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Remove a link to DetectionOutput-1 from opset-8

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Update a list in ie_docs.xml

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
2021-12-06 11:08:50 +03:00
Vladimir Dudnik
355fdeec55 rm C/C++ object_detection_sample_ssd (#9020)
* rm C/C++ object_detection_sample_ssd

* fix link
2021-12-06 10:38:40 +03:00
Wang, Yang
83a7d9bda3 [AUTO Plugin] Rename Multi plugin to ov_multi_plugin and move the src files to new (#8885)
place.

Signed-off-by: Wang, Yang <yang4.wang@intel.com>
2021-12-06 05:58:05 +03:00
Vladimir Dudnik
642bd07ffa rm python style_transfer_sample (#8881) 2021-12-05 18:00:11 +03:00
Vladimir Dudnik
89282e3f36 remove C++ style_transfer_sample, brings nothing new to educate OV2.0 API (#8906) 2021-12-04 15:51:54 +03:00
Vladimir Paramuzov
0f667b90ff [GPU] Renamed GPU plugin to ov_intel_gpu_plugin (#8957) 2021-12-02 11:06:00 +03:00
Vladimir Dudnik
bc8fbf530b rm python object_detection_sample_ssd (#8880)
* remove python object_detection_sample_ssd

* rm refs to deleted python sample
2021-12-02 09:51:36 +03:00
Irina Efode
1cd8156d3d [IE TEMPLATE] Fix operation set in QueryNetwork (#8824)
* [IE TEMPLATE] Fix opeartion set in QueryNetwork

* Apply review comments

* Prepare for review

* Return extra removed

* code style

* Update template_plugin.cpp

* Code style
2021-11-30 23:28:59 +03:00
Ilya Lavrenov
1b0ff2979c Small fixes in extensions docs (#8934) 2021-11-30 22:13:49 +03:00
Vladimir Paramuzov
9b97619687 [GPU] Move plugin to new source dir (#8890) 2021-11-30 17:26:09 +03:00
Mikhail Nosov
e2172cd38a [OV2.0] Preprocessing api cleanup (#8898)
* Removed 'inline' Preprocessing API

Even though this API provided a way to specify all pre/post-processing in one line - it was considered inconvinient
With 'getters' API preprocessing code looks more clear for user, so old' inline' API is removed

* Fix pyopenvino build issues

* Update after merged PR#8717
2021-11-30 12:30:13 +03:00
Maxim Vafin
e4b5c54006 Automatically detect --disable_nhwc_to_nchw option in MO (#8450)
Clean code

Fix Result runtime info

Fix documentation

Fix documentation

Apply suggestions from code review

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

Update docs/MO_DG/prepare_model/customize_model_optimizer/Customize_Model_Optimizer.md

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

Apply review feedback

Apply review feedback

Apply review feedback
2021-11-29 19:58:43 +03:00
Ilya Churaev
7678ab2b18 Move hetero plugin (#8872) 2021-11-29 14:05:08 +03:00
Bo Liu
25b2131d21 priorbox_8 ngraph and inference-engine parts (#8114)
* ngraph and inference-engine parts

* add priorbox_8 python api

* remove 'PriorBoxAttrs' and 'PriorBox' from outside of opset namespace

* add common nGraph transformation 'ConvertPriorBox8To0'

* remove redundant alias of PriorBox::Attributes

* use new Tensor api for evaluate method

* change v0operation back to the former api, pass Attribute structure to the reference implement

* use new Tensor api for constant_fold

* add support for dynamic shapes of constant_fold new Tensor api

* fix Node 'create temp tensors' issue when shape==0'

* revert to 'HostTensor' api for PriorBox8

* Apply suggestions from code review and 'template_plugin reference' testcase replaced 'backend INTERPRETER' testcase

* transformation part Apply suggestions from code review

* python init file updated for opset8

* keep backward compatibility to fix CI issue

* rebase to new structure of OpenVINO repo

* revert 'thirdparty/onednn_gpu' mistake changes
2021-11-29 07:28:49 +03:00
Ilya Churaev
07651aa5c0 Fixed some inference-engine paths (#8878) 2021-11-29 07:17:36 +03:00
Ilya Churaev
77f6a0076b Move core components (#8869)
* Moved openvino to src

* Moved ngraph and frontends to src

* Fixed cmake generation

* Moved inference_engine libs to src

* Moved C API to src

* Fixed CMake generation

* Moved readers to tests, snippets and preprocessing to common

* Fixed CMake

* Moved transformations and lp_transformations

* Fixed transformations cmake

* Fixed build

* Fixed unit-tests and ci paths

* Fixed docs

* Fixed C API build

* Try to fix static build

* More clear order

* Renamed inference_engine_legacy_api to legacy

* Fixed some cmake scripts

* Fixed path to legacy

* Fixed Myriad plugin

* Fixed v7 reader

* Fixed plugin.hpp

* Fixed developer config

* Fixed ie_parallel
2021-11-27 18:53:12 +03:00
Ilya Churaev
b1fba3a675 Rename runtime to src (#8842)
* Renamed runtime to src

* Removed old paths

* Fixed cmake

* Fixed doc
2021-11-27 11:28:25 +03:00
Steve Yoo
42f5034892 Migrate Sort (MatrixNms-8, MulticlassNms-8, NonMaxSuppression-5) (#8394)
* Migrate Sort (MatrixNms-8, MulticlassNms-8, NonMaxSuppression-5)

* Add right multiclass_nms.cpp

* Add struct Attributes to matrix_nms

* Add constructors to opset8::MatrixNms::Attributes

* Fix code format of opset8::MatrixNms::Attributes::Attributes
2021-11-26 22:35:43 +03:00
Anton Pankratov
bd3e4fbe78 Added openvino any (#8288) 2021-11-26 12:23:25 +03:00
Ilya Churaev
afd811890a Added note about Graphviz (#8827)
* Added pp header to util library

* Added note about Graphviz dependency for VisualizeTree pass

* Revert "Added pp header to util library"

This reverts commit a5d16d6236.
2021-11-25 16:44:46 +03:00
mei, yang
0daee96c2c add 2nd batch paddle models in Convert_Model_From_Paddle.md (#8590)
* add 2nd batch paddle models in Convert_Model_From_Paddle.md

* narrow down supported paddle model from MobileNet-SSDLite to MobileNetv3-SSD in Convert_Model_From_Paddle.md
2021-11-24 13:24:08 +03:00
Taylor Yeonbok Lee
abbf0384ae [GPU] Add GetMaxBatchSize functionality (#8226) 2021-11-24 09:30:14 +03:00
Steve Yoo
808323afa8 Migrate Movement 1 (Broadcast-1, Concat-1, Tile-1) (#8388)
* Migrate Movement 1 (Broadcast-1, Concat-1, Tile-1)

* Add Broadcast-3

* Update to namespace opset

* Add broadcast_test_helper
2021-11-24 05:20:41 +03:00
Vitaliy Urusovskij
5198c4644c Convert pad_val to Parameter in ReferencePadTestNonConst... test (#8760) 2021-11-23 16:32:50 +03:00
Mikhail Nosov
c29569ecbd [TemplateFuncTests] RGBX->RGB: Increase image size to avoid test failures on some platforms (#8762)
* Increase image size to avoid test failures on some platforms

There is an assert 'length >= nlanes' and 'nlanes' value depends on machine architecture
Set 320x320 test image to guarantee that image size >= nlanes

Also increased image size for 'plugin shared tests' to ensure the same (even though tests do not work with legacy preprocessing)

* Descreased to 160x160
2021-11-23 15:26:22 +03:00
song, bell
f06aa9955b revise RNN spec (#8081)
* revise RNN spec

Signed-off-by: fishbell <bell.song@intel.com>

* formatting the formula

Signed-off-by: fishbell <bell.song@intel.com>

* Update docs/ops/sequence/RNNSequence_5.md

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>
2021-11-23 12:12:37 +03:00
Steve Yoo
d248bdc91a Migrate Sort (TopK-1) (#8423)
* Migrate Sort (TopK-1)

* Add topk_mode_sort_order

* Skip topk_min_sort_none in Windows

* Add types to tests

* Skip topk_max_sort_none and topk_min_sort_none

* Modify names from 1d to 1dMaxMin and SetUp1 to SetUpSecond

* Add outIdx to run tests one by one

* Set default value 0 to outIdx

* Remove copy_data
2021-11-23 10:29:55 +03:00
Mikhail Nosov
7545af07d0 Preprocessing: convert color RGBX/BGRX -> RGB/BGR implementation (#8755) 2021-11-23 10:29:00 +03:00
Vitaliy Urusovskij
3b88682159 Support NonConst pads_begin and pads_end in Pad op (#8697)
* Support pads_begin & pads_end as dynamic ops in Pad

* Extend Pad template test w/ NonConst PB & PE cases

* Remove xfails for 69443 after issue was fixed
2021-11-23 09:27:37 +03:00
Mikhail Nosov
e34a66d828 Typo fix in I420toRGB specification example (#8705) 2021-11-19 10:47:19 +00:00
Evgeny Talanin
2777820882 Skip Exp test (#8692)
* Skip Exp test

* Fix regexp

* One more attempt...

* Update exp.cpp
2021-11-19 11:08:39 +03:00
Mikhail Nosov
aaac5de2fa [OV2.0] I420 preprocessing color format support (#8680)
* Add I420 preprocessing

Tests:
- Template reference
- OpenCV
- Legacy Preprocessing tests
- Functional shared tests for plugins (CPU)
- Disable i420 preprocessing tests on GPU

* clang-format fix
2021-11-18 23:30:44 +03:00
Andrey Zaytsev
6f1a3acf3c Feature/azaytsev/doc int8 image fix (#8684)
* Added info on DockerHub CI Framework

* Feature/azaytsev/change layout (#3295)

* Changes according to feedback comments

* Replaced @ref's with html links

* Fixed links, added a title page for installing from repos and images, fixed formatting issues

* Added links

* minor fix

* Added DL Streamer to the list of components installed by default

* Link fixes

* Link fixes

* ovms doc fix (#2988)

* added OpenVINO Model Server

* ovms doc fixes

Co-authored-by: Trawinski, Dariusz <dariusz.trawinski@intel.com>

* Updated openvino_docs.xml

* Updated the link to software license agreements

* Revert "Updated the link to software license agreements"

This reverts commit 706dac500e.

* Fixed diagram

Co-authored-by: Trawinski, Dariusz <dariusz.trawinski@intel.com>
2021-11-18 21:37:51 +03:00
Irina Efode
3efd842dd9 [IE TESTS] Skip sporadic failures for ref test (#8685) 2021-11-18 18:52:46 +03:00
Ilya Lavrenov
90e10e369d Configurable G-API preprocessing in static build (#8631)
* Added cmake option todisable G-API preprocessing

* Enabled PDPD, TF on Windows

* Revert "Enabled PDPD, TF on Windows"

This reverts commit 2851cba056.
2021-11-18 16:40:53 +03:00
Andrew Kwangwoong Park
9972410aa3 [GPU] Add IE Core GPU plugin metric to query overall memory statistics for GPU device (#8421) 2021-11-18 14:26:53 +03:00
Ilya Churaev
f639e4e902 Moved inference_engine samples to cpp folder (#8615)
* Moved inference_engine samples to cpp folder

* Fixed documentations links

* Fixed installation

* Fixed scripts

* Fixed cmake script

* Try to fix install

* Fixed samples

* Some fix
2021-11-18 10:08:20 +03:00
Mikhail Nosov
03c8542357 [I420 color conversion] I420toRGB/I420toBGR reference implementation (#8605)
* ngraph part

* Template reference tests
Common plugin tests
CPU compliance tests
Serialization tests

* Clang format fixes

* Remove reference implementation for f16, bf16, f64 types

* Fix ninja build

* Fix opset8_dump test

* Fix opset8_dump test

* Fix CentOS build

* Removed Myriad preprocessing tests (to be added by separate PR)
2021-11-18 09:48:18 +03:00
Mikhail Nosov
2245ea8be2 [FrontEnd] Rename all frontends from "*_ngraph_frontend*" to "_ov_frontend*" (#8645)
* Renaming all frontends from "*_ngraph_frontend*" to "_ov_frontend*"

Also Debug builds on Windows release frontends without "d" suffix will not be loaded

* Fix review comments and add wheels test debug prints

* More debug prints

* Load by absolute path and remove debug prints
2021-11-18 09:26:13 +03:00
Mikhail Nosov
c81e1aef05 [OV20] I420toRGB and I420toBGR operations specification (#8292) 2021-11-17 16:06:27 +03:00
Roman Kazantsev
8e327bd2ff [MO, TF] Support Custom Wide and Deep CTR model by MO (#8505)
* [MO, TF] Support Custom Wide and Deep CTR model by MO

It implements implicit support of EmbeddingSegmentsMean operation through decomposition.
Also, this extends the current transformation to fuse TensorFlow sub-graph (for Wide and Deep model family)
containing SparseSegmentSum and SparseSegmentMean operations into EmbeddingSegmentsSum or EmbeddingSegmentsMean.

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Fix unit-tests after modifications of SparseToDense and EmbeddingSegmentsOperationFusing

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Document SparseSegmentMean support

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Add computation scheme for normalization coeffs and correct documentation

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
2021-11-17 11:44:04 +03:00
Mikhail Nosov
c2d09afab9 PreProcess API change: (#8629)
- PrePostProcessor takes 'function' argument in constructor
- PrePostProcessor::build() doesn't take any function anymore
- PrePostProcessor::input() method to get reference to input
- PrePostProcessor::output() method to get reference to output
- InputInfo - add getters of tensor, preprocess, network
- OutputInfo - add getters of tensor, preprocess, network

Samples:
ClassificationSampleAsync - use new getters

Inference engine:
- Use new getters in ie_network_reader.cpp

TODO: Consider removal of builder-like API in PrePostProcessor, InputInfo, OutputInfo
2021-11-17 00:51:19 +03:00
Anton Chetverikov
4a8554a76d Add links to missed ops in opset_8.md file (#8620) 2021-11-16 15:23:14 +03:00
Anton Chetverikov
d0f16d205a GatherND_8 reference implementation (#8257)
* Add GatherND_8 operation

* Update shape infer function and tests

* Initial commit for nGraph GatherND_8 operation

* Add GatherNDBase class implementation

* Fix base class errors

* Add missrd header

* Update base class

* Update GatherND_8 implementation

* Fix codestyle

* Fix wrong rank

* Implement tests for gatherND_8 shape inference function

* fix codestyle

* Add limitation to doc

* Siplyfy check in shape inference

* Add more test cases

* Update shape inference function

* Add more test cases to cover all case with dynamic input shapes

* Update shape inference function

* Refactor tests

* Initial commit for gatherND_8 reference implementation

* Add visitor tests for gatherND_8 operation

* Add visitor tests for gatherND_8 operation

* Correct comment

* Add additional check is shape inference function

* Update shape inference implementation for gathernd operartion

* Fix codestyle

* Remove restriction for data is fully defined

* Update shape inference functon

* Add gatherND_8 reference to evaluate map

* Add tests for gathernd_8 reference in batch_dims > 1

* Fix codestyle

* Fix codestyle

* Fix missed check for nonetype

* Remove redundant checks for batch_dims

* Use get_shape method instead of get_input_shape in GatherND reference implementation call

* update reference implementation call

* Properly add GatherND_8 to test opset table

* Update GatherND reference implementation for support opset8 version

* Add unit tests for gatherND_8 reference implementation

* Update gatherND reference implementation call in evaluate map

* Mark failed tests for missed plugin gatherND_8 implementations

* Fix codestyle

* Fix codestyle

* Fix codestyle

* Update tests

* Move common methods to base class

* Fix codestyle

* Revert clone_with_new_input function moving

* Add more test for reference

* partially revert API changes
2021-11-16 10:58:06 +03:00
Steve Yoo
90094e8a8a Migrate Sequence (CTCGreedyDecoder-1, CTCGreedyDecoderSeqLen-6, GRUCell-3, LSTMCell-4, OneHot-1, RNNCell-1) and Sort (ExperimentalDetectronTopKROIs-6) (#8314) 2021-11-16 08:46:21 +03:00
song, bell
9ccc308523 Bell/revise lstm cell sequence (#7638)
* revise LSTM spec

Signed-off-by: fishbell <bell.song@intel.com>

* add param check and related test case

Signed-off-by: fishbell <bell.song@intel.com>

* fix clang-format

Signed-off-by: fishbell <bell.song@intel.com>

* use static_cast to replace c style force conversion

Signed-off-by: fishbell <bell.song@intel.com>
2021-11-16 06:13:26 +03:00
Steve Yoo
f66d9216ef Migrate Movement 2 (BatchToSpace-2, DepthToSpace-1, Roll-7, ShuffleCha… (#8158)
* Migrate Movement2 (BatchToSpace-2, DepthToSpace-1, Roll-7, ShuffleChannels-1, SpaceToBatch-2, SpaceToDepth-1)

* Fix typos while copying

* Update to opset namespace and add i4, u4, bf16 tests when available

* Remove i4, u4 tests from BatchToSpace and Roll
2021-11-16 03:32:29 +03:00
Alexandra Sidorova
5352c2b370 commented test (#8596) 2021-11-15 17:01:02 +03:00