Commit Graph

5913 Commits

Author SHA1 Message Date
Wilson Seok
9faf661250
Add slt in template plugin/experimental detectron grid generator (#8923)
* Remove fp16 of Convert layer test from skip_tests.config.cpp as it works now

* update repo

* add op reference test of ExperimentalDetectronPriorGridGenerator

* implement actual_comparision_size for compare

* update slt for actual comparison size and add visitor api test

* fixed clang error
2021-12-08 19:07:40 +03:00
Alexandra Sidorova
92760949bf
Added TransposeReshapeEliminationForMatmul Transformation (#7938) 2021-12-08 17:45:40 +03:00
Svetlana Dolinina
672565a8ed
deprecate mean_file option in Caffe (#8707)
* deprecate mean_file option

* add deprecation warning even if error happens

* removed Suppress for now deprecated options

* review fixes

* added dot
2021-12-08 17:38:46 +03:00
Ilya Lavrenov
64367fbca2
Export frontend_common as dev target (#9003) 2021-12-08 17:18:44 +03:00
Alexey Lebedev
ebba28a3e3
[tools] correct options for dynamic models (#9010)
* process dynamic model with one data_shape as static

* static reshaped to dynamic with one data shape can't be mesuared as static
2021-12-08 16:53:52 +03:00
Evgenya Stepyreva
86383d07e3
Revert "OpShapeInfer (#8310)" (#9086)
This reverts commit ee4643d97e.
2021-12-08 16:31:29 +03:00
Victor Kuznetsov
55f64a505a
Expand time tests to cover CPU caching feature (#8938)
* add performance hint to time infer

* add options for vpu, cpu cache, perf hint

* change VPUX condition

* add perf hint verify

* upd perf hint usage. set as non required
2021-12-08 15:22:44 +03:00
Krzysztof Bruniecki
893dd4531e
[GNA] Move to GNA Lib 3.0.0.1455 with extended CNN2D capabilities for GNA HW 3.0 (#8901)
* Switch to GNA Lib 3.0.0.1455, Adapt to new GNA 3.0 (ADL) limitations

   Apply limitations for GNA 3.0 CNN2D as in 22013786746
   Add new CNN2D tests for GNA 3.0 and update negative tests
   Switch download of 1455 to 01.org
   Fix weight reducer

* Apply review

	Increase max kernel number to 1024
	Update negative test
2021-12-08 14:55:20 +03:00
Anton Romanov
18d6fd3296
Fix tests after update archive with models (#9063) 2021-12-08 14:53:18 +03:00
Orest Chura
f734e7679b
Update fluid (#9007) 2021-12-08 14:43:31 +03:00
Alexander Zhogov
97f6dbf1f2
Update CODEOWNERS 2021-12-08 14:24:15 +03:00
Daria Mityagina
af5fba787f
[VPU] Add new operation "GatherND-8" (#8745)
In the MyriadX plugin, GatherND-5 will be called instead of GatherND-8, since the non-default batch_dims parameter values ​​are not plugin use cases.
2021-12-08 13:44:06 +03:00
Dmitry Pigasin
7fa6c42a8c
[IE Python Speech Sample] Enable -we option (#8750)
* Enable `-we` option

* Update readme
2021-12-08 13:05:22 +03:00
Sergey Lyubimtsev
01236619b5
Update TPP files for wheels (#8935)
* Update TPP files for wheels

* Remove myriad plugin and update `openvino` package description

* Update for product names
2021-12-08 12:50:30 +03:00
Szymon Irzabek
36b4dfedae
Gna matmul fix (#9026)
* [GNA] Handle additional case of matmul transpose with POT

* [GNA] Fix MVN decomposition initialization issue
2021-12-08 12:47:41 +03:00
Vladislav Golubev
55955f7ae9
[CPU] ROIAlign tests enabled (#8910) 2021-12-08 12:07:58 +03:00
Vladislav Golubev
07b6489524
[LPT] Security fixes (#9006) 2021-12-08 12:07:05 +03:00
Milana Shhanukova
38600949fa
[POT] Remove tpe algo (#8929)
* remove tpe

* delete unused object_dump.py

* delete tpe reference

* tpe removal in optimization

* deleted benchmark

* docs changes

* tunable quantization changes

* mistype in sentence
2021-12-08 11:43:39 +03:00
Artur Kulikowski
bc08878e91
Extend ONNX FE for operation DetectionOutput-8 (#9055) 2021-12-08 09:34:57 +01:00
Artur Kulikowski
64c6ca05ed
[Python API] Binding ov::Any (#8996) 2021-12-08 09:34:31 +01:00
Artur Kulikowski
6bbb2c86e5
Extend ONNX FE for operation PriorBox-8 (#9028) 2021-12-08 09:34:10 +01:00
Alexander Zhogov
d89d88ecf4
Azure CI: Disable MO based tests due to regressions 2021-12-08 11:27:17 +03:00
Egor Shulman
69b81be14e
[CPU] Fixed NormalizeL2 on SSE4.2 for blocked layout (#9071) 2021-12-08 11:20:33 +03:00
Vladimir Paramuzov
e04ca1516d
[GPU] Plugin refactoring (#9068)
* [GPU] Plugin files renaming

* [GPU] Updated plugin namespace to ov::runtime::intel_gpu

* [GPU] Renamed plugin classes to get rid of cldnn prefix
2021-12-08 11:03:24 +03:00
Zhang Yi
ee4643d97e
OpShapeInfer (#8310)
* [ShapeInfer]impl assign/read_value

* [ShapeInfer]impl tile

* [ShapeInfer]impl LSTM cell

* [ShapeInfer]Impl PriorGrid

* [ShapeInfer]remove useless friend function

* [ShapeInfer]apply review comments

* [ShapeInfer]revise code

* [ShapeInfer]impl copy_shape

* [ShapeInfer]fix tile ci

* fix onnx ci test

* remove test_compatibility fail_issue_39658

* [ShapeInfer]fix reviews

* [ShapeInfer]restore rnn_cell_base

* [ShapeInfer]fix win build

* [ShapeInfer]fix win type conversion

* [ShapeInfer]fix merging

* [ShapeInfer]move shape_infer to src/core

* [ShapeInfer]apply review comments

* [ShapeInfer]use shape_infer in tile evaluate

* [ShapeInfer]fix tile ci

* [ShapeInfer]enable shape_infer in mkldnn

* [ShapeInfer]use shape_inference in tests

* [ShapeInfer]remove useless in tile evaluate
2021-12-08 11:00:24 +03:00
Alexander Zhogov
82415f00d8
Azure CI: Fix Layer Tests 2021-12-08 10:38:55 +03:00
Alexander Zhogov
e29342325d
Update linux.yml
Azure CI: Fix Model Optimizer UT run
2021-12-08 10:30:32 +03:00
Taylor Yeonbok Lee
0704c08555
Fix lint error (#9067) 2021-12-08 09:43:02 +03:00
Mikhail Nosov
c45a8f1e18
Fix conflict with PR 9054 (#9074) 2021-12-08 09:40:52 +03:00
Mikhail Nosov
757b757a20
Preprocessing - added test for dynamic spatial shapes (resize) (#8980)
* Preprocessing - added test for dynamic spatial shapes (resize)

* Applied review comments

* Remove unnecessary change

* Revert signature to keep compatibility with kmb plugin

* Try fix centos
2021-12-08 09:21:07 +03:00
Pavel Esir
980904c9ec
[MO] Align MO namespaces (#7708)
* Moved and merged mo/ and extensions/ into openvino/tools/mo

* edited imports

* edited docs to use mo script from entry_point

* edited MO transformations list loading and setup.py

* changed full path -> 'mo' entry point in docs (leftovers)

* corrected package_BOM

* updated resolving --transformation_config in cli_parser.py

* pkgutil-style __init__.py, added summarize_graph into entry points

* updated DOCs for the new --transformations_config

* fix select

* updated install instructions, fixed setup.py for windows and python_version < 3.8

* fixed typo in requirements.txt

* resolved conflicts

* removed creating custom __init__.py from setup.py

* corrected folder with caffe proto

* corrected loading user defined extensions

* fix openvino.tools.mo import in serialize.py

* corrected layer tests for new namespace

* fix in get_testdata.py

* moved model-optimizer into tools/

* renamed import in POT

* corrected mo.yml

* correct CMakeLists.txt for the newest tools/mo

* corrected find_ie_version.py

* docs and openvino-dev setup.py update for the newest tools/mo

* miscellaneous leftovers and fixes

* corrected CI files, pybind11_add_module in CMakeLists.txt and use of tools/mo path instead of tools/model_optimizer

* add_subdirectory pybind11 for tools/mo

* POT path fix

* updated setupvars.sh setupvars.bat

* Revert "updated setupvars.sh setupvars.bat"

This reverts commit c011142340.

* removed model-optimizer env variables from setupvars

* updated CMakeLists.txt to pack MO properly with tests component

* corrected left imports, corrected loading requirements for layer tests

* mo doc typo correction

* minor corrections in docs; removed summarize_graph from entry_points

* get_started_windows.md, MonoDepth_how_to.md corrections, mo path corrections
2021-12-08 08:53:53 +03:00
Ilya Churaev
d502208f6e
Remove ngraph options (#9016)
* Renamed options

* Fixed configs

* Renamed unit tests

* Fixed cmake generation

* Fixed comments

* Fixed comments
2021-12-08 08:17:31 +03:00
Nikita Demashov
524491c170
[LPT] Remove legacy usage from LPT tests (#8985)
* delete convert_mul_or_add_finally_with_dequantization_function & mul_add_to_scaleshift_or_power_function.cpp

* delte reshape_fully_connected

* delete legacy layer_transformation.cpp & fix CMakeLists

* move createParams()
2021-12-07 23:22:58 +03:00
Pavel Esir
b6a5532c27
[IE][nGraph] resolve division by zero for FP16 (#8676)
* initial solution

* changed namespaces from ngraph -> ov; completed unit-tests

* added Power with negative exponent into the pattern

* division to -> division by; aligned with OV new folder structure; some minor corrections

* corrected pattern

* changed get_pattern_value_map -> get_pattern_map
2021-12-07 22:53:12 +03:00
Irina Efode
d55e67736b
[IE TESTS][IE CONFORMANCE] Implement infra to check operation implementation status in plugin (#8606)
* Init

* ini2

* init 3

* s

* Link error

* Init run

* Provide BinaryEltwiseExamples

* Report

* Update merge script

* Remove extra

* Filter + interface

* sssd

* Statistic

* Fix Win

* Update summary.cpp
2021-12-07 22:17:00 +03:00
cecilia peng
d5d85dae90
fix to pass sr_stridedslice_squeeze (#8977)
* 1. add test case to duplicate issue CVS-71981.

2. fix CVS-71981

* code clean.
2021-12-07 20:07:21 +03:00
Mikhail Nosov
20bf5fcc4a
Rename "network" to "model" in preprocessing API (#9054) 2021-12-07 19:26:27 +03:00
Mikhail Nosov
70b5e28979
[OV20] InputTensorInfo::set_shape (#9059)
* InputTensorInfo::set_shape

* Fix clang-format
2021-12-07 19:13:38 +03:00
Vladimir Paramuzov
f0e570b30a
[GPU] Prepare cldnn lib for further merge with plugin (#8932) 2021-12-07 17:40:04 +03:00
Polina Brzezinskaya
a77f92e785
[VPU] Changes logic for MyriadMetrics::DeviceArchitecture
Since all of the supported devices can use the same cache there is no need to change the logic in DeviceArchitecture.
2021-12-07 16:41:39 +03:00
Mikhail Nosov
4abaef6702
[OV20] ov::Function - get/set batch size (#8955)
* Initial version (no tests)

* Added tests

* Fix centos

* Applied review comments

* Renamed 'ov::util::get_batch_size' to 'ov::pass::get_batch'. For set_batch_size update is the same

* Changed to ov::get_batch and ov::set_batch
2021-12-07 16:40:48 +03:00
Mikhail Nosov
92bdddbfc9
Fix for reverse-input-channels - semi-dynamic case (#8936)
In case of partially-dynamic shape, e.g. {?,3,?,?} shape inference
for gathering channels and reverse operations can't infer final shape to {?,3,?,?} and it becomes {?,?,?,?}

Added 'static' version of reverse-channels to preserve output shape for such cases
It can be changed in future if operations will be able to calculate shape on 'validate' phase
2021-12-07 16:39:24 +03:00
Artyom Anokhov
19cda304cf
install_NEO_OCL_driver: Aligned with 2021.4 LTS release - added possibility to install 21.29.20389 (#9062) 2021-12-07 16:22:14 +03:00
Dawid Kożykowski
f8d7df8e28
update gathernd to use opset8 (#9001) 2021-12-07 16:04:09 +03:00
Anastasia Popova
5f91a49c68
Added telemetry event with FAQ question number. (#9024) 2021-12-07 15:58:01 +03:00
Mikhail Nosov
b30adc7abd
Fix build for conflicting PRs (8520 vs 9038) (#9061) 2021-12-07 14:50:56 +03:00
Mikhail Nosov
6ef59ce3e4
[OV2.0] Model Optimizer: mean/scale/reverse_input_channels/layout for new frontends (#8751)
* Preprocessing API - base classes

Includes API definition for trivial mean/scale operations (which don't require layout)

Mean/scale with 'layout' support will be done under separate task together
 with Layout

Current test code coverage: 100%

* Python bindings for base preprocessing API

* remove pre_post_process directory from ngraph/core

* remove files from ngraph/python dir

* move pyngraph pre_post_process files from ngraph/python to runtime

* remove pre_post_process test from CMakeList

* move include to the header

* update include path for pre_post_process

* style fix

* bind InputTensorInfo::set_layout

* cleaned test_preprocess

* fix test expected output

* remove duplicate test

* update description of set_element_type

* fix style

* move preprocess from pyngraph to pyopenvino/graph

* update test_preprocess imports and remove unnecessary test

* remove duplicate import

* update custom method

* update test

* update test

* create decorator that changes Node into Output<Node>

* create function that cast Node to Output<Node>

* update test_preprocess to use decorator for custom function

* change _cast_to_output -> _from_node

* move frontend folder to pyopenvino

* rename includes and add compile options

* include frontend to pyopenvino

* move __init__.py

* move tests

* remove mock from tests_compatibility

* rename import module

* Fix code style cpp

* refactor a few lines

* style fix

* update few lines in mo

* add tests fro scale and mean with vector input

* style fix

* add docstring for custom_preprocess_function

* bind InputInfo network method

* style fix

* Add pyopenvino to dependencies

* bind OutputInfo

* fix description of preprocess submodule

* fix style

* update copyright year

* Fix mock

* update docstring

* bind OutputTensorInfo

* bind OutputNetworkInfo and InputNetworkInfo

* bind ColorFormat and ResizeAlgorithm

* clean imports

* fix typo

* add PostProcessSteps to init

* bind PreProcessSteps

* create additional tests

* Fix mo test

* remove module local

* fix code style

* update comment

* fix return type

* update docs

* fix code style

* change ngraph.Type to ov.Type

* fix typo

* move _from_node to node_output.hpp

* add read_model from buffer

* update imports

* add new line

* remove bad quotes

* update imports

* style fix

* add new line

* rename functin args

* remove Type import

* update tests

* style fix

* test clean

* remove blank line

* update PrePostProcessor init and build methods

* create test with model update tests with new PrePostProcessor init and build

* # Conflicts:
#	inference-engine/ie_bridges/python/src/openvino/offline_transformations/offline_transformations_api.pyx
#	inference-engine/ie_bridges/python/src/openvino/offline_transformations/offline_transformations_api_impl.cpp
#	inference-engine/ie_bridges/python/src/openvino/offline_transformations/offline_transformations_api_impl.hpp
#	inference-engine/ie_bridges/python/src/openvino/offline_transformations/offline_transformations_api_impl_defs.pxd
#	inference-engine/tests/ie_test_utils/common_test_utils/ngraph_test_utils.cpp
#	inference-engine/tests/ie_test_utils/common_test_utils/ngraph_test_utils.hpp
#	model-optimizer/mo/moc_frontend/serialize.py
#	thirdparty/gflags/gflags
#	thirdparty/gtest/gtest

* Stash

* move preprocess module from openvino.impl to openvino

* fix building

* fix code style

* try to move MO to use new api

* Intermediate commit

* try to move MO to use new api

* Test pybind11 custom holder for Preprocessing types (InputInfo and PreProcessingSteps)

* Initial code for source_target layout handling for preprocessing
Initial implementation of reverse input channels

* Use input's tensor names instead of friendly names

* Skeleton for guessing layouts and clearing it after preprocessing

* updated package_BOM.txt

* Use reference_wrapper for preprocess bindings

* Update tests

* Layout::find_permutation - support of dynamic layouts
Covered case for 'trivial convert' where no permutation is needed
It is needed for Model Optimizer for logic which will guess model's layout, like "?c??"

* Stash

* add bindings to I420_SINGLE_PLANE and I420_THREE_PLANES

* remove init from all classes except PrePostProcessor and add RGBX and BGRX to ColorFormat enum

* Guess layout so that existing mean/scale tests passed

* update test name

* Draft to guess layout for 'reverse_input_channels'

* More unit tests (error cases)

* pylint & flake8

* pylint - ignore import error

* Stash

* Moved preprocessing to 'back' folder

* More tests

* Update package_BOM

* Support layout_values with no names
Support layout set for 'outputs'
Tests

* Export more enum names from nrgaph

* Basic --layout parsing

* removed debug prints

* Further updates after rebase

* Update imports

* Removed part from 8829

* Fix imports in test code

* Minor cosmetics

* Don't guess 'C' if layout is already set by model
Expose 'Layout::empty' method

* Style fix

* Apply review comments
Restricted 'heuristics'

C++: Added 'fp16', 'fp64' support to mean/scale

* Applied review comments

* Added some dynamic test cases

* Move call of 'apply_preprocessing' to 'serialize.py'

* Unnecessary change

* Added more comments to code

Co-authored-by: pszmel <piotr.szmelczynski@intel.com>
Co-authored-by: Alexey Lebedev <alexey.lebedev@intel.com>
Co-authored-by: bszmelcz <bartosz.szmelczynski@intel.com>
Co-authored-by: Anastasia Kuporosova <anastasia.kuporosova@intel.com>
Co-authored-by: y <ilya.lavrenov@intel.com>
Co-authored-by: Vafin, Maxim <maxim.vafin@intel.com>
2021-12-07 14:31:55 +03:00
Edward Shogulin
2c71cb4804
[CPU] Dynamism support for experimental detectron: DetectionOutput & GenerateProposalsSingleImage & PriorGridGenerator nodes (#8937) 2021-12-07 13:40:13 +03:00
Alexander Zhogov
b1d3be7eea
Revert "Move back temp frolder to the CMAKE_SOURCE_DIR (#8945)" (#9058)
This reverts commit 2e290a6e72.
2021-12-07 13:27:34 +03:00
Taylor Yeonbok Lee
746e55a330
[GPU] Fix bfyx conv degradation for gen9 (#8911)
* Fix for bfyx conv performance issue.
PR 6399 was for wide palne + shallow featuremap cases.
If the plane is too small so that the increased computation due toe the alignment for block_size is relatively large, performance drops.

* Fix for bfyx conv performance issue. Use subgroup size 16 when output feature size is >= 8 instead of > 8

* Set bfyx convolution subgroup size to be 16 when output_feature size is 8 and the dtype is fp16
2021-12-07 13:10:52 +03:00