Commit Graph

2504 Commits

Author SHA1 Message Date
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
Ilya Lavrenov
0c39d5b1b6
Added coverage for template plugin (#4234) 2021-02-09 11:03:44 +03:00
Victor Kuznetsov
a6d9842152
mv getBatchSize to cnnNetwork scope (#4231) 2021-02-09 10:47:44 +03:00
Dmitry Navalny
14d3310b32
[MO] pip packaging (#3123)
* [MO] pip packaging

* Use subprocess

* Remove MANIFEST.in

* Fix comments

* Fix requirements.txt duplication

* Add license
2021-02-09 10:47:14 +03:00
Roman Kazantsev
636f5c44b0
[MO] Support TF2 Keras ConvLSTM2D operation (#4197)
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
2021-02-09 10:11:38 +03:00
Kate Generalova
9df13811ff
add libglib2.0-dev dependency for DL Streamer draw_face_attributes sample (#4223) 2021-02-09 10:02:07 +03:00
Ivan Tikhonov
6789c158fd
New versions of Assign/ReadValue ops (#4055)
* new versions of assign/read value, squashed commits

* Assign/ReadValue base classes, code style

* update ie_ir_parser and conversion

* low latency transformation update to support Loop op

* ngraph code style

* fix build, refactoring

* fix unit tests

* fix unit tests again

* fix unit tests

* fix code style

* update comments

* ngraph codestyle

* fix low latency tests

* fix failed unit tests

* fix incorrect version of submodule

* fix review remarks

* ngraph code style

* fix ngraph tests

* fix low latency unit tests
2021-02-09 09:50:55 +03:00
Pavel Esir
7eac2a1452
[MO][TF] Add Tensorflow Pooling V2 (#3911)
* [MO][TF] Add Tensorflow Pooling V2

* corrected extractor

* applied review comments

* remove empty line in PoolV2ToAttributedPool.py

* MaxPool attributes extraction fix
2021-02-09 09:46:32 +03:00
Ilya Churaev
3831a84fbd
Removed redundant code from csv collector (#4225) 2021-02-09 06:39:27 +03:00
Alexander Zhogov
f0d87585c2
Azure CI: Add NFS share for ONNX (#4218)
* Add NFS share

* install nfs-common

* no timeout

* no msft download

* Disable 'Get MSFT models'
2021-02-09 01:22:37 +03:00
Alexander Zhogov
819650b4e1
CI: Add building documentation (#4215)
* Add Build Doc

* Add doxygen

* Add graphviz texlive

* Add lxml

* Add Upload doc

* ubuntu-20.04

* Build doxygen

* Fix

* exit 0

* Add nproc

* Change build dir name
2021-02-08 22:29:49 +03:00
Vladislav Golubev
7aaaa293d5
[LPT] StridedSlice support in ConcatTransformation & ConcatMultiChannelsTransformation (#3950)
* [LPT] ConcatTransformation: supported StridedSlice

* [LPT] Concat with StridedSlice funcional tests
2021-02-08 22:22:44 +03:00
Mikhail Ryzhov
e2c67bd508
Enabled wheel packaging (#3582)
* Added onnx support for C samples

* Added wheel packaging configuration

* ADD cmake option

* Small refactoring

* Fixes for linux env

* Fixed macOS issues

* removed test code

* Added requirements file

* Added myriad plugin

* [PIP] Runtime wheel packaging v2

* Added rpath logic

* Setting rpath for bindings

* Formatting fixes

* Move target project 1 directory above

* Added target dependencies

* Added blacklist for runtime libs

* Corrected blacklist scope

* Added wheel packaging configuration

* ADD cmake option

* Small refactoring

* Fixes for linux env

* Fixed macOS issues

* removed test code

* Added requirements file

* Added myriad plugin

* [PIP] Runtime wheel packaging v2

* Added rpath logic

* Setting rpath for bindings

* Formatting fixes

* Move target project 1 directory above

* Added blacklist for runtime libs

* Changed lib exstention om macOS

* ADD cmake option

* Revert "ADD cmake option"

This reverts commit 36f98c713bb337a160f9af6c7c79c4371fdfc45f.

* Revert "Changed lib exstention om macOS"

This reverts commit 80086fe1230b64fbcf396de82bc731c10f738eae.

* Revert "Merge branch 'feature/wheel_pack' of https://github.com/mryzhov/openvino into feature/wheel_pack"

This reverts commit 7560d9ab55edc1f8877b83821542570060fb13d8, reversing
changes made to c287798f994dcefc074a06ff7c3ef86222674cc7.

* Revert "Added onnx support for C samples"

This reverts commit 26c595ac136d99bd576d307d33ca15feb15f81e4.

* Fixed merge issues

* Fixed typo in mac tool

* Code review fixes

* Simplified deps and added fatal error

code review fixes

* Removed test data

* Fixed setup.py review comments

* Removed apache 2.0 license

* Review fixes

* fixed pylint issues

* Fixed python api install directory

* Using cmake detected python binary

* Changed wheel build directory

* Renamed subdir from install to wheel

* Removed pylint log

* Made license, description and requirements configurable by cmake options

Those files may be changed in CI

* Changed variable name

* Glob instead of os.walk

* Corrected package name in description

* Added wheel building instructions to readme

* small typo fix

* Changes to support CI build

1) Setup.py can be run without cmake build
2) Wheel metadata can be set by environment variables
3) Cmake build uses configuration from .env file

* Removed unused file
2021-02-08 19:16:28 +03:00
Ilya Lavrenov
7626d90f41
Removed remnants of old CPU CC (#4214) 2021-02-08 17:46:03 +03:00
Maxim Vafin
a157cc2a55
Support ":" in node name for mean/scale application (#4082)
* Support ":" in node name for mean/scale application

* Apply review feedback
2021-02-08 16:51:53 +03:00
Vladislav Volkov
2ad7db7b25
Optimizations for precision conversion operations in nGraph reference implementations (#3974)
* FP16->FP32 conversion vectorization

* int8->FP16 conversion vectorization in nGraph
2021-02-08 16:21:45 +03:00
Tomasz Socha
fc30d6e551
[nGraph] Update list of skipped tests (#4185) 2021-02-08 14:18:59 +01:00
Ilya Churaev
0b60ecb2d3
Remove sea collectors (#4191)
* Removed redundant collectors

* Remove isea filter

* Remove the code from IntelSEAPI

* Removed shell=True

* remove asserts

* Refactored command line arguments
2021-02-08 15:26:48 +03:00
Elizaveta Lobanova
42c8d1c45f
[GNA] Support of constant trivial networks (#4169) 2021-02-08 15:25:46 +03:00
Anton Romanov
2db879207f
Change default device in speech_sample to CPU (#4008) 2021-02-08 15:13:11 +03:00
Irina Efode
bd967a1b91
[IE TESTS] Move ROI SLT class to the shared lib (#4198)
* [IE TESTS] Move ROI SLT class to the shared lib

* [IE Tests] Fix Ci

* Fix ci
2021-02-08 13:56:34 +03:00
Jozef Daniecki
0acd153a6c
Group convolution backprop data (#4113)
* GroupConvolutionBackpropData: Added backend unit tests

* GroupConvolutionBackpropData: Refactor SLT and added tests for 1D

* GroupConvolutionBackpropData: Added Serialization tests

* GroupConvolutionBackpropData: Added GroupConvolutionBackpropData reference implementation

* GroupConvolutionBackpropData specification refactoring.

* GroupConvolutionBackpropData: Added validation node checks for the op

* GroupConvolutionBackpropData: Copyright year fixed

* GroupConvolutionBackpropData: Enhanced output shape inference with dynamic shapes

* GroupConvolutionBackpropData: Remove redefinition of helper variables

* Spec refactoring: add ticks to types and layouts.

* Minor refactoring.

* GroupConvolutionBackpropData: Moved backend tests from GroupConvolution to corresponding file

* GroupConvolutionBackpropData: Improved output shape inference for fully dynamic inputs

* GroupConvolutionBackpropData: Clean up type_prop tests

* Fix banner in GroupConvolution shared test class.

Co-authored-by: ggalieroc <gabriele.galiero.casay@intel.com>
2021-02-08 13:38:14 +03:00
Ilya Lavrenov
500df585d1
Fixed github issue #4172 (#4201)
* Fixed github issue #4172

* Simplified tests

* Added instances to HETERO plugin
2021-02-08 12:30:54 +03:00
Jozef Daniecki
f5fb37cc21
DeformableConvolution specification refactoring. (#4101)
* DeformableConvolution specification refactoring.

* Add ticks to types and layouts.

* Removed 1D and 3D Convolution type.

At the current moment CPU plugin and MXnet implemenatations supports
only 2D case.

* Fix examples section.

* Fix offests input layout description.
2021-02-08 12:25:30 +03:00
Maksim Kutakov
7387642a98
[CPU] A new transformation that adds a convert layer if there is no reorders that support the data type conversion. (#3498) 2021-02-08 11:58:48 +03:00
Andrey Somsikov
db065d525e
Fix cond comp artifacts path (#4200) 2021-02-08 11:18:27 +03:00
Gladilov, Gleb
785828d321
[IE][VPU]: Fixes BinaryEltwise DTS on empty input (#3879)
Makes DTS for BinaryEltwise produce empty output tensor in case if at least one input is empty. As criteria for empty tensor ReduceMin is used (assuming all shape's values are non-negative).

Tests are changed accordingly. Trying to add a new test case on inference with empty input, reference version failed, so those tests are left unchanged.
2021-02-08 10:28:57 +03:00
Bartosz Lesniewski
132b47394c
Remove ops from Node Converter- part 1 (#4166)
* remove cropie op from node converter

* remove eltwise from node converter, enable visitor api

* remove ceiling op from node converter

* remove powerie, reluie, fullyconnected from node converter

* remove unused node converters

* join relu and reluie specific creators

* add missing eltwise types to node conversion

* fix eltwise type

* change power ops scale parameter passing for better precision
2021-02-08 07:21:54 +03:00
Ilya Churaev
e7465d329e
Update oneDNN. Added a fix for CC (#4196) 2021-02-08 07:10:10 +03:00
Bartosz Lesniewski
210ad8194a
Proposal reference implementation (#3924)
* Reference implementation for Proposal, enable CPU SLT

* code style fix

* add type prop test for invalid anchor count

* add unit test

* fix shapes in attribute test

* temp workaround- disable maring end of boxes list

* Disable CPU smoke test- spec misalignment

* code style fixes

* add some details to the specification

* disable myriadx proposal slt

* review changes, using usigned int and size_t

* improve proposal op shape inference to cover dynamic too, add unit test coverage

* remove unused variable in test body

* remove batch size in tests where its not used

* add post nms topn initialization in tests where it was missing

* review comments

* style fix

* style fix 2

* add tests, remove unused variables, change shape inference checks

* style fix

* add input tensors type checks and test coverage

* align input type in attribute and ngraphreader tests to match specification

* fix wrong dimension in error message

* proposalv4 ref impl

* enable single layer and unit tests for proposalv4 ref impl

* align output termination with cpu, enable cpu slt

* custom slt compares to detect less-than-predicted number of boxes

* custom slt compares to detect less-than-predicted number of boxes

* Clarify output termination in spec

* review comments

* smaller input data for unit tests

* add check for batch_dim being static

* disable gpu slt for proposal

* test data style fix

* test data style fix 2

* add type section to specification

* shape inference improvement

* multiply expected 1st dim in tests by post_nms_topn

* add checks and testcases for dynamic ranks

* indentation, review comments

* reduce code redundancy in ref implementation

* remove comment

* Fix typo in proposal1 spec

* Fix typo in proposal4 spec
2021-02-08 07:09:54 +03:00
Ryan Loney
56b6e1065b
Update install_prerequisites.bat (#4205)
* Update install_prerequisites.bat

Removed warning language to show that you can optionally install protobuf to speed up model conversion. It should not be a warning.

* Update install_prerequisites.bat
2021-02-07 10:13:44 +03:00
Anastasia Popova
cfc3b563a5
Tensor names in IR (#4089)
* Added attributes save modes

* Added tensor names to IR

* Reformat code

* Unit tests and code refactoring

* Fixed error

* Code refactoring

* Code refactoring

* Code refactoring

* Error fixed

* Error fixed

* Bug fixed

* Bug fixed

* Additional unit tests and comments

* Added dest mode in Fuse Mul
2021-02-06 09:31:47 +03:00