Commit Graph

2063 Commits

Author SHA1 Message Date
Ilya Lavrenov
5da7e8dab8
Fixed tests compilation for Android ARM (#3572)
* Fixed tests compilation for Android ARM

* Added check for size_t
2020-12-15 11:51:17 +03:00
Maksim Shabunin
3fb5f63573
Restored gtk-3 installation (#3587) 2020-12-15 11:49:36 +03:00
Vladislav Vinogradov
61752b806f
[IE][CMAKE] Fix for in-tree generated InferenceEngineConfig.cmake (#3593)
Add `IE::` prefixed aliases for provided targets.
2020-12-15 07:20:56 +03:00
Irina Efode
524b226906
[IE TESTS] Disable sporadic issue 45163 (#3611) 2020-12-14 22:57:24 +03:00
Gabriele Galiero Casay
19154fad2b
Rename AvgPool to attribute exclude-pad to align with MO and layer creator (#3549)
* AvgPool: Bug fix in attribute exclude-pad to align with MO and layer creator

* AvgPool: Change attribute to exclude-pad in python api
2020-12-14 21:46:39 +03:00
Yegor Kruglov
98fffe7f22
Possible fix for GroupConvolution unit test (#2584)
* initial commit

* initial commit

* move fix to tf conv_extractor

* added 3d case

* fix e2e with 3d conv

* remove 3d case

Co-authored-by: yegor.kruglov <ykruglov@nnlvdp-mkaglins.inn.intel.com>
2020-12-14 21:30:26 +03:00
Andrey Sokolov
f1d99b5887
[IE][VPU]: Add GatherElements operation to Myriad plugin(#3483) 2020-12-14 15:49:53 +03:00
Maxim Shevtsov
ee8e9a9e8a
Attempt to put some order to the single general (that differs only by messages) and typed exception, on the example of NOT_IMPLEMENTED (#3537)
NOT_IMPLEMENTED status code correctly translates to the NonImplemented exception (and handled as the correspondingly typed exception)
2020-12-14 10:27:29 +03:00
Dmitrii Ryzhkov
77ecd7e17c
Feature/drizshko/cancellable request (#2635)
Added Cancelability to an Infer Request class (actually implemented for the CPU only, with a stub for other devices)
2020-12-14 09:38:29 +03:00
Anton Potapov
2495eaf56f
[PP] Addded ability to preprocess inputs into plugin (#857)
desired format

changed InferRequestInternal:
 - added _deviceInputs member to store plugin desired perprocessing
   targets
 - added default argument to preProcessingRequired to describe plugin
   specific desired preprocessing target
 - SetBlob and GetBlob to deal with plugin desired preprocessing targets
   (_deviceInputs)
 - added addInputPreProcessingFor helper method to avoid code
   duplication

changed TEMPLATE plugin to use new functionality:
 - removed explicit presicion conversion (to use built-in one of
   InferRequestInternal)
 - _networkInputBlobs to use InferRequestInternal::_deviceInputs
2020-12-11 20:22:25 +03:00
Anton Romanov
544a3e148d
Update PIP package name (#3577) 2020-12-11 15:58:25 +03:00
Tomasz Socha
dbf855b320
[ONNX][Python][Tests] Update ONNX to onnx 1.8 (#3557) 2020-12-11 11:57:50 +01:00
Anton Potapov
8aabcde925
[PP] Altered preprocessing tests to use existin posprocessing as well (#3554)
changed PreprocessingPrecisionConvertTest:
 - to force output precision to be same as input (and not FP32 always)

changed TEMPLATE plugin to allow U8 outputs
2020-12-11 12:49:38 +03:00
Andrew Bakalin
d90c05aab4
[IE][VPU][Tests]: Support DTS for ScatterElementsUpdate (#3559)
* Enable DTS for ScatterElementsUpdate
* Update DTS tests
* Update inference tests
2020-12-11 12:46:26 +03:00
Andrew Bakalin
a0952798ba
[IE][VPU]: Extend StaticShapeBroadcast target shape evaluator (#3561)
Ticket - #-42237
Add Unsqueeze, Equal and Select operations to the StaticShapeBroadcast target shape evaluator, because they are presented in the target shape subgraph evaluator in one of the network, we are currently enabling.
2020-12-11 12:30:15 +03:00
Andrew Bakalin
578ea2fc3c
[IE][VPU]: Support dynamic data in Broadcast DTS (#3548)
Ticket - #-44546
Changes:

* Support dynamic data as broadcast input in Broadcast DTS
* Update DTS tests to support both dynamic and static inputs
* Update inference tests:
  a) Refactor tests to have only one testing class - NonZero_Broadcast
  b) Make DSR_TestsCommon base class to reuse createInputSubgraphWithDSR and inputs generating utils.
  c) Add possibility to add additional results in DSR_TestsCommon, because NonZero doesn't support cases when both its outputs are unused, so we need to add at least one of them to function results.
2020-12-11 12:29:16 +03:00
Ilya Znamenskiy
b6f311b463
[IE CLDNN] Fully connected MMAD simd16 improvements (#3394) 2020-12-11 10:15:11 +03:00
Andrey Somsikov
7fe21dc6ee
Fix windows build for gflags for time_tests (#3504)
GFlags builds multiple targets, require aligning build
options on windows builds.

FetchModule offloads project configuration to cmake. This also allows
to align build configurations and targets across projects:
https://crascit.com/2015/07/25/cmake-gtest/
2020-12-11 09:25:14 +03:00
Patryk Elszkowski
d8f00acd39
StridedSlice : slice and reverse new ref implementations (#3188)
* Create new iterators which allow to iterate over coordinates.

Use new iterators to speedup StridedSlice reference implementation.

* Call memcpy if reverse ref impl has nothing to reverse.

* Add unit tests for coordinate range.

* Change coordinates::RangeIterator to template.

* Yet another slice and reverse implementation.

Remove all stuff connected with ranges.

* Apply review suggestions.

* Back to ranges which base on CoordinateTransform.

* try to fix x84_32 build

* try to fix x84_32 build

* Ranges which return start, no, stride, direction.

* add input validation to coordinate_index

enable coordinate_range validation tests

* add some doxygens

* fix range increament

* add empyt range

* move SliceRange::get_value to cpp file

Co-authored-by: Patryk Elszkowski <patryk.elszkowki@intel.com>
Co-authored-by: ggalieroc <gabriele.galiero.casay@intel.com>
2020-12-10 18:36:12 +03:00
Liubov Batanina
6c0201108f
Added missing headers to MVN ref (#3533) 2020-12-10 18:35:27 +03:00
Maxim Shevtsov
12d2121976
fixed compilation of MYRIAD/GPU only (no MKL_DNN) (#3552) 2020-12-10 17:10:00 +03:00
Ilya Lavrenov
ca08c5b45c
Fixed Plugin API compilation with /WX (#3551)
* Fixed Plugin API compilation with /WX

* Removed generic_ie.hpp from white list

Co-authored-by: lab_ddpqa <lab_ddpqa@intel.com>
2020-12-10 16:49:30 +03:00
Alexey Varyzgin
3bcac1641d
[BF16] BF16 simulator for AVX512 was done (#3424) 2020-12-10 16:25:01 +03:00
Alexander Chaiko
2cfc8ade62
[IE CLDNN] Suppress fsv16 layout if topology has many crop layers (#3445) 2020-12-10 16:23:29 +03:00
Mateusz Tabaka
3db6b54815
[ONNX] Use kernel shape in MaxPool to create default strides/dilations/paddings (#3522) 2020-12-10 12:59:47 +01:00
Bartosz Lesniewski
312db9a713
Remove ops from Layer Creator/ Node Converter - part 4 (#3485)
* remove gather op from layer creator

* remove floormod op from layer creator

* remove minimum op from layer creator

* remove spacetodepth op from layer creator

* remove redundant virtual function specifier
2020-12-10 14:30:43 +03:00
Pavel Esir
5b45299874
Spec for GatherElements-6 (#3304)
* added GatherElement_6.md spec

* corrected typos; updated examples

* moved sentence from spec to description

* ie_docs.xml updated

* made `axis` required

* removed redundant sentences

* added outputs shape info

* added 'the' articles

* removed error info about negative indices; some corrections

* rank correction in examples
2020-12-10 14:26:25 +03:00
Maxim Vafin
5bea1acb13
Specify MVN-6 operation (#3314)
* Specify MVN-6 operation

* Apply review feedback

* Fix typo

* Apply review feedback

* Apply review feedback

* Apply review feedback

* Small fix

* Fix review feedback

* Apply review feedback

* Fix MVN formula
2020-12-10 14:23:11 +03:00
Gleb Kazantaev
4d81bd9e0e
Parametrize NMS5ToLegacy conversion to avoid Convert operatoins insertion that breaks outputs naming (#3480) 2020-12-10 14:07:20 +03:00
Gladilov, Gleb
8213505e24
[IE][VPU]: Enables native gather support (#3502)
* [IE]: Allows plugins to disable Gather -> GatherIE conversion

Gather layer takes axis as 3rd input, not attribute and may
take indices as 0D scalar input

Signed-off-by: Gladilov, Gleb <gleb.gladilov@intel.com>

* [IE][VPU]: Disables Gather -> GatherIE conversion

Gather -> GatherIE conversion may introduce Gather
operation decomposition into Unsqueeze + Gather +
Squeeze in case if indices input is 0D scalar input.

In case of dynamic Gather such decomposition will
break dynamic path. Myriad plugin has to support
Gather operation natively without legacy conversion.

Signed-off-by: Gladilov, Gleb <gleb.gladilov@intel.com>

* [IE][VPU]: Enables native Gather support

Gather layer in contrast with GatherIE takes
axis as 3rd input, not attribute and may take
indices input as 0D scalar input.

0D -> 1D conversion happens automatically at
the beginning of frontend.

Axis as 3rd input is supported for single value
integral scalar only.

Signed-off-by: Gladilov, Gleb <gleb.gladilov@intel.com>

* [IE][VPU][Tests]: Enable new infra single layer Gather tests

* Removes corresponding tests from old infrastructure
* Enables test cases with 0D indices input
* Extracts base test fixture from shared tests fixture.
  Unfortunately, Google Tests supports Combine generator
  for tuples of size up to 10 only. Originally, shared
  tests fixture already has 10 elements in tuple for
  tests parameters. At the same time myriad plugin needs
  to specify configuration option. Since configuration
  option could not be test parameter we are forced to
  use separate class, in order to get rid of code
  duplication base class is used.

Signed-off-by: Gladilov, Gleb <gleb.gladilov@intel.com>

* [IE][VPU]: Updates firmware

Enables native Gather support on device side
2020-12-10 13:23:36 +03:00
Nikolay Tyukaev
cf3213a9c5
cmake build all docs (#3539)
* cmake build all docs

* update doxy log parser

* update build_main_layout.py
2020-12-10 12:11:30 +03:00
Alina Kladieva
0a84b230bd
[Jenkinsfile] Disable failFast & enable propagateStatus (#3503)
Co-authored-by: akladiev <akladiev@nncv-akladieva.inn.intel.com>
2020-12-10 12:05:03 +03:00
Ilya Churaev
9ea24c5b33
Removed reference implementations from tests (#3541) 2020-12-10 12:00:48 +03:00
Ivan Tikhonov
1ac3caf472
fix constant folding for sub graph ops (#3534) 2020-12-10 11:56:16 +03:00
Eugeny Volosenkov
6f512142b6
Re-implement onnx old-style extractors with extractor extensions (#3459)
* add class ConcatFrontExtractor for onnx

* add class ConcatFrontExtractor for onnx

* Delete concat from mo/front/onnx/extractor.py

* Add identity, reshape extractors classes for onnx

* import FrontExtractorOp

* Added BatchNormalizationExtractor

* Added extra line

* Fix import modules

* fix caffe bn.py and bn_test.py

* Fix BatchNormInference

* Modify convert_batch_norm

* Modify convert_batch_norm

* Modify bn_test.py

* Fix old comments BN->batchNormInference
2020-12-10 09:24:24 +03:00
Nikolay Tyukaev
6254b150c3
add animation (#2865) (#3545) 2020-12-10 02:30:10 +03:00
Ilya Lavrenov
e4260cdc3f
Template device testing (#3521)
* Added template plugin testing on public CI

* Updated tests config

* Added DEVICE_TEMPLATE constant to tests

* Updated tests

* Disable template plugin by default

* Fixes

* Fixed HETERO tests
2020-12-09 17:13:32 +03:00
Nikolay Tyukaev
17df09967d
math formula fix (#3512)
Co-authored-by: Nikolay Tyukaev <ntyukaev_lo@jenkins.inn.intel.com>
2020-12-09 17:03:46 +03:00
Anastasiya Ageeva
4a6e153d5a
Added uninstallation instructions (#3446) 2020-12-09 17:02:38 +03:00
Kate Generalova
9d4b778234
[DOC] add Docker on Windows GPU infer instruction (#3492) (#3531)
* odc: add Docker on Windows GPU infer instruction

* Update docs/install_guides/installing-openvino-docker-windows.md

Co-authored-by: Alina Alborova <alina.alborova@intel.com>

* Update docs/install_guides/installing-openvino-docker-windows.md

Co-authored-by: Alina Alborova <alina.alborova@intel.com>

* Update docs/install_guides/installing-openvino-docker-windows.md

Co-authored-by: Alina Alborova <alina.alborova@intel.com>

* Update docs/install_guides/installing-openvino-docker-windows.md

Co-authored-by: Alina Alborova <alina.alborova@intel.com>

* Update docs/install_guides/installing-openvino-docker-windows.md

Co-authored-by: Alina Alborova <alina.alborova@intel.com>

* Update docs/install_guides/installing-openvino-docker-windows.md

Co-authored-by: Alina Alborova <alina.alborova@intel.com>

* Update docs/install_guides/installing-openvino-docker-windows.md

Co-authored-by: Alina Alborova <alina.alborova@intel.com>

* Update docs/install_guides/installing-openvino-docker-windows.md

Co-authored-by: Alina Alborova <alina.alborova@intel.com>

* Update docs/install_guides/installing-openvino-docker-windows.md

Co-authored-by: Alina Alborova <alina.alborova@intel.com>

* Update docs/install_guides/installing-openvino-docker-windows.md

Co-authored-by: Alina Alborova <alina.alborova@intel.com>

* Update docs/install_guides/installing-openvino-docker-windows.md

Co-authored-by: Alina Alborova <alina.alborova@intel.com>

* Update docs/install_guides/installing-openvino-docker-windows.md

Co-authored-by: Alina Alborova <alina.alborova@intel.com>

* Update docs/install_guides/installing-openvino-docker-windows.md

Co-authored-by: Kate Generalova <kate.generalova@intel.com>

* Removed an extra colon

* Update docs/install_guides/installing-openvino-docker-windows.md

Co-authored-by: Alina Alborova <alina.alborova@intel.com>

Co-authored-by: Alina Alborova <alina.alborova@intel.com>
2020-12-09 16:04:12 +03:00
Roman Vyunov (Intel)
76e489a161
[IE][VPU]: Performance fix for efficientnet-b0 (#3515) 2020-12-09 15:31:25 +03:00
Alexey Ershov
521b6f3b97
[IE][VPU]: Eltwise: 'person-detection-retail-0013' performance fix - firmware update (#3497)
* Eltwise: performance fix for 'person-detection-retail-0013' - firmware update
* Eltwise: fix hash values for updated firmware
2020-12-09 11:28:48 +03:00
Maxim Shevtsov
d0eef043fd
[MULTI]Data affinity remote context and blobs (#3342)
* zero-copy (assuming determenistic app-level scheduling) for the multi-device, via "borrowing" the corresponding device-specific blobs and letting the app to implicitly use these

* Optimized Infer Request Scheduling

* remoteblob checks in the conventional SetBlob

* correctly (with status) reporting NOT_IMPLEMENTED

* SetBlob to accomodate for the RemoteBobs

* Tests for remote blobs support via MULTI: creating the shared_test in case the other (closed source) plugins would want to use that (in the private shared_tests instantiations).
Also instantiating the remote blobs tests for the some basic combinations to test the MULTI supports them

* macos compilation (and general plugin platform support) fix

* shuffled files, so that the MULTI tests are now part of the ieFuncTests (and need no separate target). Also brushed the macro that handales the NOT_IMPLEMENTED as bit

* further shuffled files, so that the initial MULTI tests are now part of the IE tests, yet specific instances do need separate targets

* Fixed misprint

* Brushing the code and comments a bit

* further brushing of the ScheduleToWorkerRequest: moving the task execution directly into the loop over devices (avoids pointers and 'else' clause)

* 1) zero-copy (assuming determenistic app-level scheduling) for the multi-device, via "borrowing" the corresponding device-specific blobs and letting the app to implicitly use these

2) Initial MULTI section in the opt guide (primarily to document a tip on helping the MULTI to keep the zero-copy path)

* [MULTI] remote context support and associated scheduling (respecting the remote data affinity)

* fix CentOS (old) gcc issue: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81880
since the intriduced therad_local string is template the bug manifests itself (and the string is not allocated/initialized).
the QA is to wrap the std::string into the function

* further fix for the old gcc versions issue, now with non-trivial thread_local destruction sefault: switching from the std::string to the plain const char*

* additional tests for the MULTI and remote blobs (no remote context and multi GPUs cases)

* fix for the tests (that now can check for more specific NotImplemented exeption).
Alos couple of line endings
2020-12-09 09:52:19 +03:00
Vladimir Paramuzov
8b9feed603
[IE CLDNN] Fixed bias/scales data type in ScaleShift layer (#3477) 2020-12-09 09:38:29 +03:00
Maksim Makridin
7d8144f160
Fixes for Object Detection SSD Python sample (#3518)
* added check so that sample only supports networks with one input
* moved ngraph-realted operations to related segment of the sample
* fix for output image not being saved correcly due
2020-12-08 23:16:59 +03:00
Maksim Makridin
2aec8a610b
Adding Hello Reshape Python sample (#3375)
* Initialized hello_reshape_ssd Python sample

* * removed multiple input images functionality
* added couple of checks whether input topology is supported in sample

* Added readme
* Switched to single-quotes strings style
* Switched to f-strings
* Removed redundant code

* Simplified image original resolution handling
* Simplified some checks and assertions
* Simplified reading inference results and drawing bounding boxes
2020-12-08 22:54:00 +03:00
Mateusz Tabaka
8b90c9e7e2
[ONNX] Set defaults in LSTMSequence even if dimensions are dynamic (#3491)
Ticket: 43221
2020-12-08 14:53:24 +01:00
Gabriele Galiero Casay
6888ffa328
Revise Reference Implementation of Range op (#3409)
* Range: Align operator with spec and add unit tests

* Range: Remove output shape from range ref impl signature

* Range: Exclude backend unit tests for CPU and GPU due to unsupported dynamic ops

* Range: Add single layer test class for Range-4

* Range: Add unit test for shape inference

* Range: Add unit tests for i32 and f32

* Range: Refactor Range v0 backend test and added test for f32 type

* Range: Add floating point tolerance in unit tests to avoid failures due to precision

* Range: Add subgraph tests for Range add element-wise

* Range: Refactor Range class for single layer tests and add range add element-wise test with truncated inputs
2020-12-08 16:05:00 +03:00
Andrew Bakalin
e81201ea35
[VPU][TESTS][GNA] Fix dynamic models import on VPU (#3427)
* [VPU] Fix dynamic networks import

* [IE][GNA][TESTS] Move ImportExport tests from GNA to shared part

* [VPU][Tests] Add ExportImport test for dynamic network

* [VPU] Review fixes

* [VPU][Tests] Review and test fixes

* [VPU][Tests] Move TEST_P to shared part
2020-12-08 15:19:27 +03:00
Bartosz Lesniewski
86347bd909
Remove ops from Layer Creator/ Node Converter - part 3 (#3356)
* remove convert op from layer creator

* remove depthtospace op from layer creator

* remove mvn op from layer creator

* remove normalizel2 op from layer creator

* remove notequal op from layer creator

* remove subtract op from layer creator

* correct mvn op behavior when copied with new input

* fix trying to get precision from empty output of normalize layer

* fix normalize layer not setting output type

* remove trailing whitespace

* add fp64 to possible convert op precision types

* use a function to translate bool string representation

* merge emergency opset changes for mvn and roipooling ops
2020-12-08 06:42:47 +03:00