Commit Graph

2785 Commits

Author SHA1 Message Date
Piotr Rozen
3f6dbb8a00
[GNA] 4D StridedSlice, Clamp, InsertIdentityLayerPass, SubstituteScaleShiftBroadCastPass fixes (#4061)
* fixed: StrideSlice/Crop was broken when crop axis != dim.size() - 1 & added support for tensor dim > 2
fixed: clamp had hard coded upper & lower boundary to -50/50
fixed: InsertIdentityLayerPass was adding not necessary identities that was leading to exception when 2 identities was added to convolution output
fixed: SubstituteScaleShiftBroadCastPass caused invalid input tensor dimension overwrite - instead of overwrite currently reshape is injected

* updated copyright header dates

* updated copyright date

* fixed braces not at the end of line

* fixed braces in if else sequence

* shortened line length

* fixed issues reported in review

* fixed test - model in test assumed clamped range <-5,5> however code had hard coded value <-50,50>, which test assumed as correct result

* fixed smoke_MemoryEltwiseReshapeConcatTest/MemoryEltwiseReshapeConcatTest

* [GNA] Added test for crop 4d

Co-authored-by: Andrey Dmitriev <andrey.dmitriev@intel.com>
2021-02-12 12:27:00 +03:00
Maxim Kurin
f29da36b1b
[IE][VPU][TESTS]: CTCGreedyDecoderSeqLen myriad test & fixes (#4177)
* Implements test for CTCGreedyDecoderSeqLen layer in Myriad plugin.
* Changes the way CTCSeqLen operation is generated. Moved random generation of SeqLen input from makeCTC function to the test. Made test to clamp test's parameters to be in valid range.
2021-02-12 11:50:26 +03:00
Ilya Lavrenov
5fe882e550
CVS-48367: Enable HoldersTestOnImportedNetwork test on GNA (#4230) 2021-02-12 11:45:51 +03:00
Patryk Elszkowski
0e4650399c
ref_impl - Concat: buffer calculation of shape sizes (#4240)
* ref_impl - Concat: buffer calculation of shape sizes

* Update ngraph/core/reference/src/runtime/reference/concat.cpp

Co-authored-by: Gleb Kazantaev <gleb.nnstu@gmail.com>

Co-authored-by: Patryk Elszkowski <patryk.elszkowki@intel.com>
Co-authored-by: Gleb Kazantaev <gleb.nnstu@gmail.com>
2021-02-12 08:14:18 +03:00
Maxim Vafin
d91b9fd8da
Fix backward compatibility of MVN in MO (#4289) 2021-02-11 22:36:31 +03:00
iliya mironov
3db73ec552
Update mobilenetv3 doc support (#4256)
* Update mobilenetv3 doc support

* Fix doc layout
2021-02-11 22:33:36 +03:00
Nikolay Tyukaev
5c6970b6e5
update layouts (#4301)
Co-authored-by: Nikolay Tyukaev <ntyukaev_lo@jenkins.inn.intel.com>
2021-02-11 21:30:52 +03:00
Andrey Somsikov
9d57d4f52c
Fix cond comp environment setup (#4290)
source command may not be available in sh.
2021-02-11 21:29:46 +03:00
Rafal Blaczkowski
3eb0b5c90d
Add visible export (#4222)
Co-authored-by: Alexander Zhogov <alexander.zhogov@intel.com>
2021-02-11 19:02:58 +03:00
Jan Iwaszkiewicz
7ff8f8eba4
WA for GCC 7.5 pybind warning (#4277)
* WA for GCC 7.5 pybind warning

* Move compiler flag to ngraph/python
2021-02-11 18:41:23 +03:00
Maksim Makridin
f8d36c55a8
Fixes for Object Detection SSD samples docs (C++ and Python) (#4286)
* Fixes for Object Detection SSD samples docs (C++ and Python)

* fixes from code review

* Fixes for Object Detection SSD samples docs (C++ and Python)

* fixes from code review

* fixes from code review
2021-02-11 17:51:53 +03:00
Evgenya Stepyreva
08ac8d9af9
Reverse input channels fusion (#4276)
* Side fix found while working on Windows machine.

* Fix for non-fused Reverse Input Channels subgraph
2021-02-11 14:27:08 +03:00
Nadezhda Ageeva
4e3d7d23fc
Adds support of user layouts to benchmark_app (#4002)
* Adds support of user layouts to benchmark_app

* Keep snake_case for python

Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
2021-02-11 12:57:05 +03:00
Ilya Lavrenov
2a2ef7d989
Removed ngraph-specific variable with flags (#4232) 2021-02-11 12:14:14 +03:00
Victor Kuznetsov
1da8f65b45
Add removing of statistics file in time_tests (#4275) 2021-02-11 12:02:39 +03:00
Evgenya Stepyreva
851d090117
Dynamism leftovers (#4165)
* SubGraphOp shape inference and cloning fixed. WAs deleted

* Fix naming in OneHot->IE transformation

* Check for number of incomming/outcommit HostTensors and check for nullptrs in evaluates and bound evaluators

* move validate_host_tensor_vector into ngraph namespace

* RT propagation

* style
2021-02-11 11:37:44 +03:00
Andrew Bakalin
51b62921e8
[VPU] Fix PR #4140 (#4251) 2021-02-11 10:57:50 +03:00
Andrey Somsikov
8da7f22f1d
Activate OV environment from cond comp test_infer (#4244) 2021-02-11 09:59:37 +03:00
Roman Vyunov (Intel)
b7212b9f34
[IE][VPU]: MVN-6 native partial support (#4238)
* Adding of partial support of MVN-6 operation to VPU Plugin (support restricted by MVN-1 interface)
* Disabling of MVN-6 decomposition for VPU Plugin
* Enabling of test cases for this operation
* Disabling of deprecated MVN tests while investigation is go on
2021-02-10 21:31:13 +03:00
Alexander Zhogov
7f60c3f82d
Actions CI: Remove unused requirements 2021-02-10 19:44:45 +03:00
azhogov
a0db6bc660 Azure CI: Set max timeout for Mac 2021-02-10 18:15:51 +03:00
iliya mironov
0341edcfa0
Update mxnet version (#4081) 2021-02-10 17:19:06 +03:00
Evgenya Stepyreva
a313c0c3ee
Dequantize (Sub, Mul) to FakeQuantize (#4189)
* Dequantize (Sub, Mul) to FakeQuantize

* disable for CPU/GPU
2021-02-10 17:08:11 +03:00
Ilya Churaev
a327b72481
Removed redundant memcpy calls. Share weights from original blob (#4259)
* Removed redundant calls of memcpy. Share weights from original blob

* Fixed nGraph tests
2021-02-10 16:39:15 +03:00
Jan Iwaszkiewicz
63f3a5d99c
Change class member init (#4266) 2021-02-10 14:13:16 +01:00
Jan Iwaszkiewicz
7af2959bd0
[ONNX] Convert to integral type in OneHot op (#4229)
Co-authored-by: Tomasz Dołbniak <tomasz.dolbniak@intel.com>
2021-02-10 14:03:54 +01:00
Gabriele Galiero Casay
73e29c61d8
Refactor GroupConvolutionBackpropData to inherit from Op (#4226)
* Refactor GroupConvolutionBackpropData to inherit from Op

* Remove nGraph suppress deprecated macros
2021-02-10 14:41:21 +03:00
Evgeny Latkin
44c05a71c9
[IE][VPU]: ConvND: fix errmsg of groups > 1 (#4199)
Fix error message if attempting grouped 3D convolution (groups > 1 is not supported for 3D conv)
2021-02-10 12:24:10 +03:00
Jozef Daniecki
4a7c81e09b
Add opset6 to serialization. (#4247)
* Add opset6 to serialization.

* Add MVN Serialization SLT.
2021-02-10 12:04:37 +03:00
Evgeny Lazarev
66f4c69b90
Telemetry sender and MO instrumentation (#3804)
* Draft implementation of the telemetry sender utility

* Examples of sending telemetry from the MO

* More statistic about the model.

* Intentional broken file to fail Mask-RCNN ONNX model conversion

* Added joined list of ops used

* Added requests to the requrements file and update BOM to include necessary files related to telemetry

* Send telemetry alwasys

* Refactored usage of GUID usage in the telemetry

* Enabled sending telemetry always

* Simplified function "TelemetryBackend.send"

* Use other approach to send information about session to GA

* Added automatic registration of the telemetry backends and allow to choose it during the telemetry class instantiation

* Added "requests" as a requirement. Wrapped usage of requests module to not crash the app

* Added timeout for sending data to GA. Increased the queue size to 1000

* Finalize Telemetry class implementation

* Do not fail MO if non-critical component is not installed and updated Telemetry GA with the default property

* Added sending version to a separate event

* Use default TID to send the data

* Set lower bound for the requests module which does not contain vulnerabilities

Co-authored-by: Evgeny Lazarev <elazarev.nnov@gmail.com>
2021-02-10 10:51:31 +03:00
Victor Kuznetsov
73f846648c
change tempfile usage (#4245) 2021-02-10 10:23:31 +03:00
azhogov
c508a8d035 Azure CI: Increase timeout for Mac to 300 min 2021-02-10 09:31:43 +03:00
Vitaliy Urusovskij
ba5da4231f
Remove use of -f key which isn't defined in openvino/**/sea_runtool.py (#4257) 2021-02-10 08:53:11 +03:00
Evgeny Lazarev
48aa1c35b3
Removed legacy IE shape infer (#4211)
* Removed legacy IE shape infer

* Removed legacy shape infer tests

* Updated tests and make IR Reader to load old experimenal and extension ops as opset6

* Change opset of some ops only if they are currently experimental/extension to avoid situation like opset1::Proposal -> opset6::Proposal

Co-authored-by: Evgeny Lazarev <elazarev.nnov@gmail.com>
2021-02-10 07:55:48 +03:00
Maxim Kurin
929fa26e2e
[TESTS] Behavior test check input layout propagation (#4239) 2021-02-10 01:12:18 +03:00
Bartek Szmelczynski
78c045b7ae
Remove ops from Node Converter- part 2 (#4181)
* remove NodeConverter for Interpolate and ScaleShiftIE

* add SpecificCreators for Interpolate and ScaleShiftIE

* add commented lines to check if tests will pass

* remove comments to check if tests will pass

* checking if tests are avaiable for ResampleV2

* remove NodeConvertor for ExecutionNode

* remove nodeCovnertor for ResampleV2 and add SLT for serialization

* remove shufflechannels op from node converter

* enable visitor api for resamplev2

* remove nodeconverter class

* add missing newline

* remove interpolate sslt- sporadic fails

* remove unnecessary interpolate specific creator

* Add interpolate specific creator

Co-authored-by: blesniewski <bartosz.lesniewski@intel.com>
2021-02-09 22:13:08 +03:00
Ilya Churaev
91f05008db
Remove v0 multiply (#4221)
* Remove v0 multiply

* Fixed code style
2021-02-09 22:09:44 +03:00
Andrey Zaytsev
8da9d17059
Feature/azaytsev/compile tool doc updates (#4237)
* 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 Compile tool documentation, added extra description, removed FPGA related info

* Integrated review comments

Co-authored-by: Trawinski, Dariusz <dariusz.trawinski@intel.com>
2021-02-09 18:34:16 +03:00
Vladimir Paramuzov
aeff338c2f
[IE CLDNN] Fixed performance of grouped convolutions (#4210) 2021-02-09 18:20:50 +03:00
Nikolay Tyukaev
f65a6f5424
Fix Doc CI (#4246)
* fix doc ci

* update

* fix
2021-02-09 18:03:00 +03:00
Andrew Bakalin
61c72fe1d6
[VPU][Benchmark app] Support trivial networks (#4060)
* [BENCHMARK APP] Support I64 input filling

* [VPU] Support trivial networks

* [VPU] Add test cases

* [VPU][Samples] Review fixes

* [Benchmark] Support scalar generating in python benchmark app

* [VPU] Allocate shape for unused inputs robustly

* [VPU] Make processing trivial cases more efficient

* [VPU] Rename isUsed->isConsumed

* [VPU][Tests][Samples] Review fixes

* [VPU] Process trivial cases at the very beginning

* [VPU] Review fixes
2021-02-09 16:00:41 +03:00
Vladimir Gavrilov
2c4c3a777a
Implement reference nGraph implementation for "Interpolate-4" with 5D tensor support in the "linear_onnx" mode (#3948)
* Commit.

* Written the structure InfoForLinearONNXMode5D that contains info to perform interpolation in 'linear_onnx' mode for 5D tensors.

* Started to write the method get_info_for_linear_onnx_mode5D() that returns info for calculations of 'linear_onnx' mode in 5D case.

* Written the method InterpolateEvalHelper::get_info_for_linear_onnx_mode5D().

* Code style fix.

* Started to write calculation of 5D case of 'linear_onnx' mode.

* Written the method void InterpolateEval<T>::linear_onnx5D_func(const T* input_data, T* out).

* Added dispatching of 4D/5D cases of the mode 'linear_onnx'.

* Fixed code style.

* Some fixes.

* Code style fixes.

* Now linear_onnx_func throws an exception for incorrect input rank.

* Code style fix.

* Started to write tests for evaluation of 'linear_onnx' mode in the 5D case.

* Added first test for linear_onnx 5D.

* Small fixes.

* Written tests for evaluation of Interpolate-4 in linear_onnx 5D case.

* Some code style fixes.

* Small fix.

* Corrected documentation.

* Started to write generic implementation of 'linear_onnx' mode, for any ranks.

* Written the draft of a generic (for all ranks) implementation of 'linear_onnx' mode.

* Small fixes.

* Small fix.

* Small fix.

* Small fix.

* Code style fix.

* Small fix.

* Code style fix.

* Some fixes.

* Some fix.

* Small fix.

* Small fix.

* Code style fix.

* Added check for axes correctness into a generic implementation of the 'linear_onnx' mode.

* Now 5D case of the 'linear_onnx' mode is calculated using generic function.

* Code style fix.

* Deleted unused variable.

* Added debug prints.

* Small fix.

* Some fixes.

* Code style fix.

* Now all ranks are processed by a generic implementation in the 'linear_onnx' mode.

* Deleted name of missed test.

* Deleted 4D case implementation of the 'linear_onnx' mode.

* Reverted change in tests.

* Added needed 'const' modifiers and added a comment about the variable 'axis_idx_offset'.

* Small fixes.
2021-02-09 14:23:50 +03:00
Maxim Vafin
deca4fc443
Fix wrong attributes for Pad (#4216) 2021-02-09 14:11:39 +03:00
Anton Chetverikov
c1a606d507
Update L2NormToNorm transformation (#4154)
* Removechanges added by mistake

* Update transformation

* Refactor tests, add more cases

* Rename variable

* Refactor and rename transformation

* Update tests, add more cases
2021-02-09 14:07:08 +03:00
Nikita Kudriavtsev
14cd2d52dd
[IE Myriad] Fix for myriadInferTests_nightly.NCHW_Input (#4141) 2021-02-09 13:03:56 +03:00
Anton Pankratv
91dcb515a3
Simplified cancel behavior (#4224) 2021-02-09 12:55:24 +03:00
Michał Karzyński
751ac1aef4
Add support for custom ExperimentalDetectron ops to ONNX Importer (#4030) 2021-02-09 10:31:32 +01:00
Alexander Zhogov
8be170a02a
Azure CI: Set ONNX timeout 90 2021-02-09 12:18:37 +03:00
Andrew Bakalin
9d0c02dbd7
[VPU][NGraph][Tests] Merge Gather & GatherElements (#4140)
* [VPU] Introduce ExpGatherElements operation

* [VPU] Enable DTS for ExpGatherElements

* [VPU] Introduce MergeGatherGatherElements transformation

* [IE TESTS] Generate inputs in parameters order

* [NGRAPH] Support dynamic output tensor case in Squeeze evaluate

* [VPU] Fix allocator for dynamic input

* [VPU] Add test on inference

* [VPU] Add test on function compare

* [VPU][NGraph][Tests] Review fixes

* [VPU][NGraph] Fix tests

* [VPU] Review fixes
2021-02-09 11:55:57 +03:00
Andrew Bakalin
2d560d465f
[IE][VPU]: Support negative strides for StridedSlice (#4178)
* Remove asserts on negative stride
* Update firmware
* Add test cases
2021-02-09 11:21:15 +03:00