Commit Graph

2149 Commits

Author SHA1 Message Date
Anton Potapov
977c3dda23
[PP] Removed old (non GAPI) preprocessing code (#3664) 2020-12-22 07:52:04 +03:00
George Zlobin
e490dfc161
[IE][VPU][GT] Add pass to reshape convolution by parameter from IR (#3038) 2020-12-21 17:39:19 +03:00
Krzysztof Bruniecki
a497153dcd
Gna fix mt with iterations (#3297)
* Enable CoreThreadingTestsWithIterations tests for GNA

  Sync rest of GNA Lib API,
  Sync Config for MT tests
  Change models in CoreThreadingTestsWithIterations to be compat with GNA

* Use parameter for model set selection

* Fix style

* Disable HETERO CoreThreadingTestsWithIterations tests and create issue 45658
2020-12-21 16:10:05 +03:00
Pavel Esir
d2a23680f2
nGraph 'shell' implementation for GatherElements-6 and MO 'shell' implementation (#3467)
* Initial support of GatherElements in MO and nGraph

* apply_style

* added lost extractor for GatherElements

* Corrected GatherElements::validate_and_infer_types

* updated package_BOM.txt

* Type_t added

* started to implement ngraph shape_type_infer unit-tests

* finally implemented all ngraph shape_inference unit-tests

* updated Supported_Frameworks_Layers.md

* added correct handling of dynamic shapes in nGraph, added unit-tests for dynamic cases, fixed dump typos in MO, replaced axis type from int -> int64_t

* implemented shape infer for dynamic shapes with intervals

* finalized MO implementation

* applied comment from review

* style-apply

* spec correction

* removed conflict

* fixed typos

* removed obsolete comments form type_prop

* significant corrections in validate_and_infer_types

* style-apply

* data_rank check for axis
2020-12-21 15:45:15 +03:00
George Zlobin
935549035e
[IE][VPU]: Shape compression (#3500)
* This change prevents saving the same shapes in a blob. If more than one data have the same shapes, only one will be saved in the blob.
2020-12-21 15:21:19 +03:00
Ilya Churaev
b2399ce0d9
Enable Conditional Compilation for nGraph evaluate methods (#3666)
* Added CC macro to nGraph

* Add CC to evaluate methods

* Fixed tests

* Fixed comments

* Add private evaluates

* Fixed code style and names

* Fixed code style

* Fixed build
2020-12-21 14:32:40 +03:00
Mateusz Bencer
0b05653d7a
Resolved problems with ssd_resnet34_mlperf_opset10 (#3487)
* Resolved problems with ssd_resnet34_1200

* removed debug code

* Added correct handling onnx nodes from parent graph scope

* removed unnecessary include

* fixed calcution index to replace

* fixed LoopParentParametersUsedInBody test

* added set_friendly_name

* apply Unsqueeze for each concatenated Loop output

* added handling trip count with value max_int

* merge from upstream/master

* update xfail list

* added checking is trip_count is constant
2020-12-21 14:32:15 +03:00
Evgeny Lazarev
c6bfac6e05
Enable TF 2.0 Object Detection API models (#3556)
* Config for TF 2.0 Faster R-CNN models, refactored subgraph_between_nodes to use graph API

* Added support for new type of Preprocessing block in the TF 2.0 OD API models. Various fixes to enable the Faster R-CNN ResNet 50

* Updated text comments

* Fixed sub_graph_between_nodes for TensorIteratorMerge. Added support for the TF 2.X EfficientDet models (not yet reshape-able)

* Fixed unit tests

* Fixed regression for TF 1.X OD API SSD model, enabled TF 2.0 OD API SSD models

* Code clean up

* Switched TF 2.0 OD API Faster R-CNN to preprocessor replacement type 2

* Refactored ObjectDetectionAPIPreprocessorReplacement and ObjectDetectionAPIPreprocessor2Replacement

* Fixed bug in the Div transformation to Mul when input is integer.

* Added support for the TF 2.0 OD API Mask R-CNN

* Added unit tests for Div operation. Updated incorrectly modified mask_rcnn_support_api_v1.14.json

* Updated document with list of supported configuration files for TF OD API models

* Review comments

* Added tests for control flow edges for the sub_graph_between_nodes function

* Two more tests
2020-12-21 14:21:39 +03:00
Anton Chetverikov
129a6553fa
soft_get fix (#3662) 2020-12-21 14:05:41 +03:00
Anton Chetverikov
a788c02c3d
Actualize operations attributes (#3613)
* Fix missed/redundant attrs for some operations

* Align auto_pad attr values in spec

* Update MO IR Reader extenders for appropriate operations

* Allign auto_pad attr values for appropriate operations

* Remove changes in extenders

* Update backend_attrs for some operations

* Changes in shape_infer functions to correct work with explicit mode

* Apply offline comments
2020-12-18 11:47:41 +03:00
Bartosz Sledz
29f1c38ba0
Remove doubled Reshape operator tests and revise unittest.manifest (#3642)
* Remove doubled reshape tests

* Clean manifest and enable unblocked tests
2020-12-18 04:30:40 +03:00
Katarzyna Mitrus
6d89a96d9e
Ramove LSTM_Seq_lens model xfail declaration (#3635) 2020-12-17 16:20:01 +03:00
Rafal Blaczkowski
be69a4de2f
Enable automatic update of ONNX Model Zoo for ONNX CI (#3511) 2020-12-17 14:12:47 +01:00
Mateusz Tabaka
55f58a6e23
Fix checking input/output size in hello_reshape_ssd (#3636) 2020-12-17 16:01:18 +03:00
Andrew Bakalin
66883d5905
[IE COMMON] Fix FP32 to FP16 positive infinity conversion (#3647)
* [IE COMMON] Fix FP32 to FP16 positive infinity conversion

* [TESTS] Unit tests

* [TOOLS] Use fixed convert in VPU perfcheck
2020-12-17 15:00:47 +03:00
iliya mironov
da54a40fa1
Add spec for CTCGreedyDecoderSecLen (#3250)
* Add spec for CTCGreedyDecoder

* Update spec

* Fix spec according to code rewiev

* Update spec

* Update spec

* Update spec according to review

* Update spec

* Update spec

* Update spec

* Update example spec

* Fix space in spec

* Fix spec

* Fix spec according to review

* fix spec

* update spec

* Update spec

* Change format outputs in spec

* Hot fix

* Minor fixes

* Add new attribute for op in spec

* change input

* Add precision to outputs

* Fix input in spec

* Update spec

* Update CTCGreedyDecoderSeqLen_6.md

fix mistakes

* Change first input layout

* fix example

Co-authored-by: Your Name <you@example.com>
2020-12-17 14:05:24 +03:00
Lukasz Debski
b91047e9fe
[IE CLDNN] Fully Connected layer 3d support (#2709) 2020-12-17 12:15:59 +03:00
Andrew Bakalin
f2f5e99f9f
[IE][VPU][Tests] Support DTS for Select (#3604)
* Support DTS + binary eltwise tests refactoring (avoid code duplication)
2020-12-17 12:08:22 +03:00
Bartosz Lesniewski
5f9ef0cf26
Remove ops from Layer Creator/ Node Converter - part 5 (#3493)
* remove avgpool op from layer creator

* remove binaryconvolution op from layer creator

* remove broadcast op from layer creator

* remove ctcgreedydecoder op from layer creator

* remove stridedslice op from layer creator

* remove convolutionbackpropdata op from layer creator

* adjust broadcast op to deduce broadcast mode

* add default strides if not provided when creating stridedslice

* code review comments
2020-12-16 19:51:28 +03:00
Mateusz Bencer
261cb6ecf8
Enable yolo v3 test, added post-processing step (#3510) 2020-12-16 16:52:08 +01:00
Junya Hayashi
c80e3c3a82
gna_plugin: include cmath library to avoid call of overloaded ‘abs(float)’ is ambiguous error (#3622) 2020-12-16 18:48:38 +03:00
Irina Efode
f511f77894
[IE TESTS] Disable CancellationTests.*canResetAfterCancelAsyncRequest tests (#3645) 2020-12-16 18:16:16 +03:00
Anastasia Kuporosova
676bd8a861
[Python API] requirements (#1804)
* [Python API] requirements

* add setuptools

* revert commit
2020-12-16 17:06:32 +03:00
Maksim Kutakov
95f531e9e0
[CPU] Improved Split layer (#3449)
* [CPU] Added more optimal Split implementation
2020-12-16 16:51:01 +03:00
Gladilov, Gleb
9509244729
[IE][VPU]: Enables check on split by dynamic dimension for VariadicSplit (#3571)
Signed-off-by: Gladilov, Gleb <gleb.gladilov@intel.com>
2020-12-16 15:47:25 +03:00
Vladislav Volkov
fd1522d9a7
Fixes for external ITT API library (#3603) 2020-12-16 14:26:56 +03:00
Alexey Suhov
859559a6dc
[README.md] change latest release to 2021.2 (#3638) 2020-12-16 14:13:51 +03:00
Katarzyna Mitrus
9376f78994
[ONNX] Dynamic version of ONNX Size op (#3553) 2020-12-16 11:16:06 +01:00
Irina Efode
679e4ae4d7
[IE TESTS] Move multi base test class (#3623) 2020-12-16 13:10:27 +03:00
Ilya Lavrenov
8685c20baf
Fixed HETERO + Template cases (#3580)
* Fixed tests compilation for Android ARM

* Small fixes

* Fixed issues CVS-44775, CVS-34206, CVS-34349

* Disabled KSO tests for Template

* Eliminated invalid subgraphs

* Enabled KSO QueryNetwork tests for Template

* Fixed other plugins as well

* Used NodeTypeInfo instead of std::string

Co-authored-by: apankratovantonp <anton.pankratov@intel.com>
2020-12-16 12:17:29 +03:00
Mateusz Tabaka
47485646bb
Revise DetectionOutput reference implementation (#3448)
* Revice DetectionOutput reference implementation

Ticket: 37433

* fix test_create_op

* fix test_dyn_attributes

* apply code format

* fix crash on Windows when variance_encoded_in_target == 1

* add more checks for DetectionOutput inputs

* Fix single layer tests

* apply code format

* fix ssd_vgg16_300 inference with batch size > 1

* update types in docs

* fix crash on windows

* apply code style

* fix python tests

* fix setting output type

* change False to false and True to true in docs

* Allow prior boxes to have different type than box logits

Some models work that way

* simplify output shape calculation

* fixes to docs
2020-12-16 11:02:12 +03:00
Irina Efode
602f8f2e08
[IE TESTS] Move SLT classes to SharedTestClasses lib & add serialization functionality to the common class (#3431)
* [IE TESTS] Changing functional test utils structure

* Example

* Remove extra

* Apply comments

* fixes

* [IE TESTS] Change the structure

* Continue

* step 3

* [IE TESTS] Complete transition single layer test classes

* [IE TESTS] Transition Subgraph

* Fix subgraph namespaces

* fix

* Apply comments

* latm fix
2020-12-15 22:32:00 +03:00
Anton Chetverikov
ab996da912
Update port renumbering logic for constants (#3578)
* Update port renumbering logic for constants

* Resolve comments
2020-12-15 21:39:56 +03:00
Maxim Vafin
ab974e4f2e
Add MVN-6 support to ngraph (#3464)
* Add MVN-6 to ngraph

* Apply review feedback

* Fix max opset number

* Fix code style

* Fix shape test

* Disable reader test

* Apply review feedback and remove reader test

* Fix code style

* Fix build

* Apply review feedback

* Fix build problem

* Fix code style

* Fix build
2020-12-15 21:36:44 +03:00
Alexey Suhov
a569a0b529
[cmake] retry after hash mismatch error (#3612)
* [cmake] retry after hash mismatch error
2020-12-15 19:56:42 +03:00
Andrey Sokolov
fedd736913
[IE][VPU]: support DTS for Ceiling (#3562) 2020-12-15 12:32:17 +03:00
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