Commit Graph

2183 Commits

Author SHA1 Message Date
Sergey Lyubimtsev
51f3b33a83
Align location to OMZ demos (#3754)
* [MO] Add CMake install for Model Optimizer

* [MO] Update test for version.py

* [MO] Add CMake install for Model Optimizer

* [MO] Update test for version.py

* [MO] Add CMake install for Model Optimizer

* [MO] Update test for version.py

* [MO] fix file permissions for install location

* enable make install for OMZ

* Add option description

* remove OMZ fetching & install
2021-01-12 17:17:47 +03:00
Mateusz Tabaka
9996994b8d
[ONNX] remove dangling Parameters from graph (#3774)
We have models with inputs with no initializer and not connected to any other node.
2021-01-12 14:12:57 +01:00
Dmitry Kurtaev
9ab44f8d5c
[CMake] Add SHA sums for OMP packages (#3801) 2021-01-12 15:59:54 +03:00
Andrew Bakalin
24237863b2
[IE][VPU][TESTS]: Gather: support outer padding for indices (#3665)
* Update firmware
* Add the test case from the network
* Disable fp32 case, because in this case the network has output Convert which receives non-inner stride in its input which is not supported now.
* Support FP16 comparator.
2021-01-12 13:56:52 +03:00
Anton Dudchenko
f90b6e85b8
[IE][VPU]: Move Myriad QueryNetwork to a separate file (#3687)
* Move MyriadQueryNetwork implementation to a separate file
2021-01-12 12:46:52 +03:00
Anton Pankratv
943e511c58
Merged base implementation files (#3699) 2021-01-12 12:04:47 +03:00
Andrey Sokolov
bfd8f1372c
[IE][VPU][TESTS]: add implementation of layer Round to Myriad Plugin (#3667)
* [IE tests] add opset4, opset5 to the opset list
* [IE VPU] add layer Round; support DTS
2021-01-12 11:50:35 +03:00
Ilya Lavrenov
ba08abb388
Set default visibility only for ONNX (#3798) 2021-01-12 07:14:48 +03:00
Bartosz Sledz
f6c2f3cc16
Change failing test ticket number (#3677) 2021-01-12 07:10:48 +03:00
Pavel Esir
d9bd59c7a0
Evaluate, ngraph_reader check and Python nGraph API for GatherElements (#3624)
* add GatherElements evaluate to interpreter backend

* Finally successfully run on backend

* debugged non-typical cases

* added ngraph_reader tests for GatherElements

* added Python API for GatherElements

* apply_style

* corrected python api tests

* applied comments

* style-apply

* finally corrected nGraph Python API for GatherElements

* minor corrections

* style-apply

* replaced quotes

* added blank line

* corrected evaluate and disabled unit-tests for not yet supported plugins

* style-apply

* applied comments: negative tests added and additional checks in evaluate

* added bound check for axis in evaluate

* style-apply

* apply review comments

* fast correct evaluate for GatherElements

* style-apply

* revert changes in interpreter unit_test.manifest for Gather

* 🚀 optimized general solution; added separate calculation for 2D

* 🚀 applied comments

* style-apply
2021-01-11 19:52:47 +03:00
Vladislav Vinogradov
8ec38cf039
[cmake] Fix single config generators handling (#3794)
* Add `USE_BUILD_TYPE_SUBFOLDER` CMake option to append
  `CMAKE_BUILD_TYPE` to output binary directory.
  Initialize it to `ON` for UNIX to keep current behavior.
* Remove forced `CMAKE_CONFIGURATION_TYPES` initialization,
  use user provided value instead.

This will allow to use single config generators (like Ninja) on Windows
with MSVC compilers and get binaries in per-config sub-folders in the same
way as on UNIX.

Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
2021-01-11 18:38:11 +03:00
Daria Mityagina
09a2d2a525
[IE][VPU]: Interpolate improvements (#3508)
* interpolate improvements - new modes in Interp and resample
* interpolate improvements - tests for linear_onnx
* firmware update
2021-01-11 17:39:31 +03:00
Mateusz Tabaka
1e418ca549
Revert PSROIPooling average logic introduced in 305f0056059b091e0290b… (#3765)
* Revert PSROIPooling average logic introduced in 305f005605

* fix computing bin coords in average mode
2021-01-11 17:30:53 +03:00
Ilya Lavrenov
0d22328a25
Partially removed ngraph cmake duplication with IE cmake (#3751)
* Partially removed cmake duplication with IE cmake

* Deprecated API usage: fixed or suppressed

* Fix for TypeRelaxed

* Canonical form for ngraph includes

* Removed extra visibilit settings; removed graphviz find_package

* Removed var_functions module; canonical includes for ngraph::reference

* Fixed deprecated API in ngraph tests

* Re-use standard cmake macro for shared libs

* Trying to fix ONNX importer tests
2021-01-11 14:49:33 +03:00
Ilya Lavrenov
50f9dd8a6b
Enabled CMP0025 as NEW (#3791) 2021-01-11 14:48:27 +03:00
Yury Gaydaychuk
9069781659
CPU implementation for ROIAlign (#3579) 2021-01-11 12:04:45 +03:00
Bartek Szmelczynski
39aa228805
base file for unit-testes for unary operators (#3700)
* Add file containing base tempalte funtions for all unary operators and add example with acos

* fix style-check

* add file for tests for all unary operators

* fix style

* rename unary_base.cpp to unary_ops.cpp

* Update test CMakeList

* fix typo

* style-apply

* Remove code blocks and add test for dynamic rank input
2021-01-11 11:43:57 +03:00
Bartosz Lesniewski
11f1a0f671
Remove ops from Layer Creator/ Node Converter - part 6 (#3620)
* remove deformableconvolution op from layer creator

* remove deformablepsroipooling op from layer creator

* remove maxpool op from layer creator

* remove nonmaxsuppresion from layer creator

* remove groupconvolutionbackpropdata op from layer creator

* remove groupconvolution op from layer creator

* fix code style
2021-01-11 07:55:14 +03:00
Roman Kazantsev
7e8cea672e
[MO] Implement support of TensorFlow 2 Keras Embedding operation in MO (#3766)
* [MO] Implement support of TensorFlow 2 Keras Embedding operation in MO

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

* Update another requirements files

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
2021-01-10 22:05:58 +03:00
Evgenya Stepyreva
511db4724f
[ nG ] opset1::Reshape output shape inference refactoring (#3542)
* [ nG ] opset1::Reshape output shape inference refactoring

* SET_INPUT_IS_RELEVANT_TO_SHAPE

* small refactoring

* brought legacy check back

* style

* Integizer

* stylee

* Apply suggestions from code review

* merge master
2021-01-10 21:37:24 +03:00
Ilya Lavrenov
7f04723d25
Fixed install location for MODULE library type (#3752) 2021-01-10 18:21:13 +03:00
Mateusz Bencer
65b8307c2f
Fixed clone_with_new_inputs for TopK (#3757) 2021-01-08 08:59:26 +01:00
Mateusz Tabaka
b56cf07f0e
[ONNX] remove unnecessary ReduceMax and Subtract in Softmax op (#3717) 2021-01-07 19:02:59 +01:00
Mateusz Tabaka
7be7a8fb30
[ONNX] don't hardcode shapes in Interpolate and Shape operator (#3778) 2021-01-07 16:56:19 +01:00
Vladislav Vinogradov
00d37aaa62
Use find_package instead of include(Find*) in CMake scripts (#3767)
Otherwise CMake produces the following warning:

```
CMake Warning (dev) at /usr/local/share/cmake-3.19/Modules/FindPackageHandleStandardArgs.cmake:426 (message):
  The package name passed to `find_package_handle_standard_args` (Wget) does
  not match the name of the calling package (IEDevScripts).  This can lead to
  problems in calling code that expects `find_package` result variables
  (e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
  /usr/local/share/cmake-3.19/Modules/FindWget.cmake:26 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  cmake/developer_package/download/download_and_check.cmake:5 (include)
  cmake/developer_package/download/download_and_extract.cmake:6 (include)
  cmake/developer_package/download/download.cmake:25 (include)
  cmake/developer_package/download/dependency_solver.cmake:5 (include)
  cmake/developer_package/IEDevScriptsConfig.cmake:208 (include)
  CMakeLists.txt:12 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.
```
2020-12-31 12:48:23 +03:00
Vitaliy Urusovskij
08f54dbac8
Fix metadata_from_manifest() according to new manifest version (#3771) 2020-12-31 09:57:58 +03:00
Anastasia Popova
c6e57ef99f
Fixed regression after mapping bug fix (#3770)
* Fixed regression after mapping bug fix

* Unit test for atribute absence.
2020-12-30 19:41:10 +03:00
Vitaliy Urusovskij
fe229ba19d
Move time_tests to new manifest version (#3759) 2020-12-30 17:28:22 +03:00
Polina Brzezinskaya
0850479b54
[IE][VPU][TESTS]: Fix myriad tests on MacOS (#3681)
* fix sorting ref for myriadTestsTopK_smoke on macOS and chenged dynamic_pointer_cast to ngraph::is_type at dynamic_to_static_shape_squeeze.cpp
* disable accuracy/myriadLayersTestsExpGenerateProposals_smoke.ExpGenerateProposals tests for macOS
2020-12-30 12:37:07 +03:00
Maxim Shevtsov
4fa7575d2e
Adding MYRIAD_THROUGHPUT_STREAMS support (#3723)
* Adding MYRIAD_THROUGHPUT_STREAMS to the list of plugin's supported config vals (omitted incorrectly) and enabing streams for the myriad devices in the benchmark_app

* docs update and python benchmark_app
2020-12-29 19:02:57 +03:00
Anton Romanov
1c3848a96f
Added info about hello classification sample (#3583) 2020-12-29 16:55:29 +03:00
Vladislav Golubev
6326eb348a
[LPT] reshape 4D->4D per-tensor quantization fix (#3644) 2020-12-29 12:40:31 +03:00
Anastasia Popova
631d452258
Fixed mapping of input name (#3737)
* Fixed mapping of input name

* Fixed unit tests

* Fixed mapping of input name

* Fixed unit tests

* attributes check fix

* PEP8 code format

* code duplicate removal

* variable rename
2020-12-28 22:43:54 +03:00
Gorokhov Dmitriy
37b6e75730
[CPU] Fixed Divide operation support for I32 precision (#3721)
* [CPU] Fixed Divide operation support for I32 precision
2020-12-28 19:18:19 +03:00
Anton Pankratv
a8daab3377
Fixed some tbb issues (#3735) 2020-12-28 13:41:44 +03:00
Ilya Churaev
72cd81305c
Fixed headers for doxygen genration (#3746) 2020-12-28 13:33:26 +03:00
Alexandra Sidorova
e82257d021
[CPU] Improvements for Pad implementation (#3267) 2020-12-28 13:28:56 +03:00
Vladislav Golubev
5943e1be73
[LPT] issue #37332: tests unification (#3277)
* [LPT] ieFuncTests unification

* [LPT] plugin tests unification

* [LPT] added removeStandaloneCleanup && removeTransforamtions refactoring
2020-12-28 12:06:38 +03:00
Rafal Blaczkowski
eac33e1b0e
OpenVino ONNX CI update (#3750)
* Enlarge timeouts for OpenVino ONNX CI

* Enlarge a lot timeouts

* Update processing script
2020-12-28 11:03:38 +03:00
Yegor Kruglov
870a6c061a
Fix of ascii decode problem in TF Const with string value (#3672)
* added try/except to tf_tensor_content

* code refactoring

* added unittest

* update test
2020-12-27 22:15:17 +03:00
Ilya Lavrenov
278b662e56
Removed global CMAKE_MODULE_PATH in IE DevPackage (#3747)
* Cleanup

* Added CMAKE_MODULE_LINKER_FLAGS for onecoreuap toolchain

* Fixed ENABLE_FASTER_BUILD mode on Android

* Cosmetic fix

* Fixed fuzzing

* Enabled fuzzing
2020-12-27 00:02:50 +03:00
Ilya Churaev
6f77c72fc7
Small cosmetic fixes (#3748) 2020-12-25 19:42:33 +03:00
Dmitry Budnikov
0547934c24
fluid update WW52 2020 OCV 4.5.1 - attempt#2 (#3698)
* fluid update WW52 2020 OCV 4.5.1 - attempt#2

* fluid update WW52 2020 OCV 4.5.1 - attempt#3 with build fixes

* fluid update WW52 2020 OCV 4.5.1 - attempt#3
2020-12-25 18:25:20 +03:00
Evgeny Lazarev
a66ab37455
Set fixed version of the urllib3 package in the requirements because of the security issue in urllib3==1.25.8 (#3740)
* Set fixed version of the urllib3 package in the requirements because of the security issue in 1.25.8

* Set lower bound version of the urllib3 package in the requirements because of the security issue in 1.25.8
2020-12-25 18:02:23 +03:00
Alexander Perepelkin
dedd5a51e8
Allow multiple output shapes testing (#3728) 2020-12-25 17:37:16 +03:00
Ilya Churaev
d6721c395b
Added CC macros to validate, clone and visit (#3730)
* Added CC macros to validate, clone and visit

* Fixed names

* Fixed code style

* Add exceptions

* Revert "Add exceptions"

This reverts commit 0489ba376f.

* Update ngraph macros, throw an exception if code is disable for nGraph op

* Fixed code style

* Simplified NGRAPH_OP_SCOPE

* Changed TYPE_CASE macros

* Fixed compilation

* Fixed code style

* Fixed build
2020-12-25 17:20:48 +03:00
Roman Kazantsev
55f1f9606f
[MO] Implement transformation to avoid RandomUniform in dropout (#3678)
* [MO] Implement transformation to avoid RandomUniform in a particular drop-out block

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

* Remove old RandomUniform transformation and correct const values

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

* Fix atol value

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

* Move DropoutWithRandomUniform transformation to the front

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

* Change just RandomUniform to Broadcast in the transformation

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

* Correct comment for the transformation

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

* Remove redundant line

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
2020-12-25 16:59:15 +03:00
Rafal Blaczkowski
27fbb4cfb1
Enlarge timeouts for OpenVino ONNX CI (#3745) 2020-12-25 14:09:32 +03:00
Rafal Blaczkowski
6d45a9c041
ONNX CI improvement (#3673)
* Improve corner-case resistance

* small improvements
2020-12-25 07:46:55 +03:00
Mateusz Tabaka
1aee9f9ffe
[ONNX] don't hardcode shape in Softmax operator (#3676)
* [ONNX] don't hardcode shape in Softmax operator

* use named constant for special zero param in reshape
2020-12-25 07:41:46 +03:00