Commit Graph

25 Commits

Author SHA1 Message Date
Ivan Tikhonov b45e1a25a5
LSTM/GRU/RNN Sequences : support for seq_lengths input (#2788)
* sequences to ti transformations, support for seq_lengths input, update reference implemetations, add new tests

* fix python api, update sequences to ti transformation

* fix sequences to ti transformation

* Update sequences to TI transformation: fix reverse sequence support

* update single layer tests, fix TI reference impl, fix Sequences to TI transformations

* ngraph code style

* fix build

* fix ngraph python api

* resolver review comments, refactoring

* Resolve review remarks

* delete xfail
2020-11-17 07:04:20 +03:00
Katarzyna Mitrus 8dbff709fb
ONNX LSTM fix get_shape error (#3033)
* ONNX LSTM get dimension only if required

* Test dynamic onnx lstm model import

* Enable LSTM_Seq_lens_unpacked_model import test

* Disable model zoo execution test "MSFT_opset9_LSTM_Seq_lens_unpacked"

* Add missed comma in xfail list

* Update error messages

* init xfail issue

* test zoo models import xfail issue

* Fix SEQ_LENGTH init

* Comments update

* Fix usage of v0::Add by overloaded operator
2020-11-13 17:31:29 +03:00
Ivan Tikhonov c309bb77d2
Reference implementations for Loop and TensorIterator ops (#2978)
* Loop op ngraph implementation, update IE IR Reader and ngraph to cnn converter

* refactoring SubGraphOp class

* type prop unit tests

* ngraph code style

* update comment

* single layer tests for Loop operation

* fix file name

* Add SpecialBodyPorts attribute in Loop op, update single layer tests

* first debug version

* more tests

* missing test file

* removed not needed shapes from test data

* move test data to new folder

* shape infer tests

* Added execution tests

* add several new tests cases, strict checks in Loop impl, temporary disable single layer tests

* ngraph codestyle, refactoring, clone_new_args test

* resolve review remarks

* fix build

* fix tests

* more execution tests

* add a new constructor of Loop op, resolve review remarks

* execution tests

* synchro with current version

* handle scalars and more tests

* scalar test enabled

* loop reference impl

* bug fixes in tests, onnx importer part and in the ref implementation of the Loop op

* applied remarks

* handle unsupported cases

* rewrite unit tests

* update INTERPRETER manifest

* is_termination_condition_always_true simplification

* [TEST] update python models tests

* review remarks

* added xfail to tiny_yolov3

* missing model test

* revert test data

* fixed numbers of failing tests

* fixed failed test description

* fix test message

* fix xfail test

* reference implementation for ngraph::function

* update loop reference implementation

* Refactor loop reference implementation

* ngraph codestyle

* Refactoring

* Submodule update

* Skip check for Reduce ops in mkl for scalar cases, support for yolov3

* fix ngraph reader tests

* revert ceiling op, renaming

* Add allias(Ceiling) for Ceil op in mkl

* delete xfails

* fix build

* single layer tests for tensor iterarator

* Refactor TensorIterator and Loop ref impls

* revert dynamic tensor creation, disable some dynamic test cases

* fix warning

* Resolve review remarks

* revert Predefined values in Loop tests

Co-authored-by: Mateusz Bencer <mateusz.bencer@intel.com>
2020-11-10 15:49:59 +03:00
Mateusz Bencer 0baad0696c
[ONNX Importer] Resolved problem with incorrect opset version set in subgraph (#2959) 2020-11-10 09:57:06 +01:00
Andrew Bakalin 8d4f8c4edd
[ONNX] Return NMS-5 generation (#3003)
* [ONNX] Return NMS-5 generation

* Disable failed models
2020-11-10 09:45:14 +03:00
Rafal Blaczkowski 935ac543ac
Update ONNX models preprocessing script (#2936)
* Update onnx zoo models

* Update xfail list

* Update xfails
2020-11-05 12:40:48 +03:00
Rafal Blaczkowski fbf7cc70ab
Update xfails (#2979) 2020-11-05 10:12:51 +03:00
Tomasz Socha 7c6794344c
[ONNX][PyTests] Fix result datatype missmatch (#2596) 2020-11-04 12:19:40 +01:00
Michał Karzyński 23188e1b04
Expand ONNX functions to sub-graphs before import (#2733)
Co-authored-by: Bartosz Sledz <bartosz.sledz@intel.com>
2020-11-04 10:48:34 +01:00
Nikolay Shchegolev 50408defba
[CPU] Enable GatherND tests in ONNX. (#2904) 2020-10-29 22:53:26 +03:00
Mateusz Bencer 53b865eb58
ONNX Loop (#2847)
* Loop op ngraph implementation, update IE IR Reader and ngraph to cnn converter

* refactoring SubGraphOp class

* type prop unit tests

* ngraph code style

* update comment

* single layer tests for Loop operation

* fix file name

* Add SpecialBodyPorts attribute in Loop op, update single layer tests

* first debug version

* more tests

* missing test file

* removed not needed shapes from test data

* move test data to new folder

* shape infer tests

* Added execution tests

* add several new tests cases, strict checks in Loop impl, temporary disable single layer tests

* ngraph codestyle, refactoring, clone_new_args test

* resolve review remarks

* fix build

* fix tests

* more execution tests

* add a new constructor of Loop op, resolve review remarks

* execution tests

* synchro with current version

* handle scalars and more tests

* scalar test enabled

* loop reference impl

* bug fixes in tests, onnx importer part and in the ref implementation of the Loop op

* applied remarks

* handle unsupported cases

* rewrite unit tests

* update INTERPRETER manifest

* is_termination_condition_always_true simplification

* [TEST] update python models tests

* review remarks

* added xfail to tiny_yolov3

* missing model test

* revert test data

* fixed numbers of failing tests

* fixed failed test description

* fix test message

* fix xfail test

* zoo models tests clean-up

* missing comma

Co-authored-by: Ivan Tikhonov <ivan.tikhonov@intel.com>
2020-10-29 09:51:51 +03:00
Gorokhov Dmitriy abb8817cf6
[CPU] Generic JIT Eltwise implementation (#1464) 2020-10-28 09:16:28 +03:00
Jan Iwaszkiewicz 77794535ab
[ONNX] WA for I64 images (#2411) 2020-10-22 14:06:23 +02:00
Tomasz Dołbniak 3688ff4c51
Use LogSoftmax-5 in the onnx_importer (#2602) 2020-10-21 10:50:16 +02:00
Mateusz Tabaka 8002b16eb2
[ONNX] Add type conversion for Pow op inputs (#2589)
Co-authored-by: mitruska <katarzyna.mitrus@intel.com>
2020-10-20 11:19:03 +02:00
Mateusz Bencer 6d72110365
Fix using numpy scalars in Python API (#2520)
* fixed numpy scalars

* reverted tests changes

* python style fixed
2020-10-14 11:17:44 +03:00
Rafal Blaczkowski e4875f2a6b
Add MSFT models to OpenVino ONNX CI check (#2377)
* Add MSFT models to OpenVino ONNX CI and update xfails

* Update paths

* Fix typo and update xfails

* Unset xfails to check current behavior

* Update:
* add MSFT models to preprocesing script
* update xfail names

* Final update of xfail test cases

* Update xfail paths

* Update xfails

* Uncomment part of preprocesing script

* Update script

* Add cleaning support for MSFT preprocesing

* Add -e option to script help

* Initilze variables

* Update ngraph/python/tests/test_onnx/model_zoo_preprocess.sh

Fix a mistake

Co-authored-by: Tomasz Socha <tomasz.socha@intel.com>

* Update ngraph/python/tests/test_onnx/model_zoo_preprocess.sh

align spaces

Co-authored-by: Tomasz Socha <tomasz.socha@intel.com>

Co-authored-by: Tomasz Socha <tomasz.socha@intel.com>
2020-09-29 19:05:31 +03:00
Mateusz Tabaka 56a7a67dd2
Remove xfail_issue_36533 from ngraph tests (#2436) 2020-09-28 18:55:50 +03:00
Piotr Szmelczynski ac1a1e3e9f
Bug fix (#2380)
* Change request.infer to use param_names instead of request._input_list because it fix the bug

* remove xfail mark

* remove xfail_issue_35893 form tests/ __init__.py

* Remove xfail_issue_35893. Add OnnxBackendNodeModelTest.test_convtranspose_3d_cpu to xfail_issue_38091

* Remove OnnxBackendNodeModelTest.test_convtranspose_3d_cpu from xfail_issue_38091 in test_backend.py
2020-09-23 17:54:59 +03:00
Tomasz Socha 3f52e64c25
[nGraph] Use additional models logic to run ONNX Model Zoo (#2253) 2020-09-21 13:55:02 +02:00
Rafal Blaczkowski 706d2fe7c8
Add backend tests to ONNX OpenVino CI (#1972) 2020-09-14 13:07:47 +02:00
Ilya Churaev d8133824b3
Deprecate FusedOp class (#1758)
* Deprecate FusedOps

* Try to fix windows

* Added temp headers
2020-08-14 06:27:58 +03:00
Rafal Blaczkowski 054a7cdf8d
Enable ngraph python tests in OpenVINO-ONNX CI (#1603)
* Enable ngraph python tests

* Refactor and unify ngraph with onnx python tests

* Revert deprecated test cases

* Set ngraph and onnx python tests as a one test suite execution

* Change unstrict Xfails to strict ones

* Update after review:
 - add model zoo to onnx tests,
 - improvements of tests

* Revert mounting zoo models dir

Co-authored-by: Michał Karzyński <4430709+postrational@users.noreply.github.com>
2020-08-07 09:58:57 +03:00
Adam Osewski 3a87653483
ONNX Model runner (#1415) 2020-07-29 09:34:35 +02:00
Michał Karzyński bd8a383560
Enable nGraph Python API unit tests using Inference Engine APIs (#1095) 2020-07-03 18:11:39 +02:00