Commit Graph

48 Commits

Author SHA1 Message Date
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
Alexandra Sidorova
5596c7c841 [CPU] Added eltwise Round-5 (#2347) 2020-11-02 18:44:50 +03:00
Alexander Peskov
6fe05ecda7 Unmark passed ONNX test
Signed-off-by: Alexander Peskov <alexander.peskov@intel.com>
2020-11-02 12:37:48 +03:00
Nikolay Shchegolev
50408defba [CPU] Enable GatherND tests in ONNX. (#2904) 2020-10-29 22:53:26 +03:00
Maxim Andronov
fdbfab8546 [CPU] Add tests for SetBlob + I64 (#2402) 2020-10-29 11:34:29 +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
Tomasz Dołbniak
d5cd8673f4 Fix the model downloader script (#2784) 2020-10-23 09:58:12 +03:00
Jan Iwaszkiewicz
77794535ab [ONNX] WA for I64 images (#2411) 2020-10-22 14:06:23 +02:00
Mateusz Tabaka
d901bbfce3 Use MVN in GroupNorm/InstanceNorm in ONNX importer (#2711)
* Use MVN in GroupNorm/InstanceNorm in ONNX importer

* Remove mosaic_8 model from xfail list
2020-10-21 13:48:53 +03: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
Michał Karzyński
2b5ed2e9eb Tweaks for ONNX scoreboard (#2697) 2020-10-18 17:08:06 +02:00
azhogov
5501f2c66d Set chmod +x for model_zoo_preprocess.sh 2020-10-16 08:19:46 +03:00
Mateusz Tabaka
dda71338dd Update test_shufflenetv2 tolerance values (#2674)
* Update test_shufflenetv2 tolerance values

* Update model path

* Update models xfails

* Update mounting volumes to container

Co-authored-by: rblaczko <rafal.blaczkowski@intel.com>
2020-10-15 16:47:20 +03:00
Mateusz Bencer
c0d71900fd Provide ONNX external data mechanism to ReadNetwork (#2588)
* added unit test

* added python test

* using pword approach

* Added passing path to onnx reader

* support for wstring

* Added more tests

* Apply suggestions from code review

Co-authored-by: Michał Karzyński <4430709+postrational@users.noreply.github.com>

* fix build for Windows

* styles applied

* Fixed Windows tests

* styles applied

* fixed styles in tests

* review remarks

* cmake order

* Used target_compile_definitions instead of add_definitions

* Move ONNX_TEST_MODELS to other scope

Co-authored-by: Michał Karzyński <4430709+postrational@users.noreply.github.com>
2020-10-14 12:30:53 +03: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
Ilya Lavrenov
da625b995e Shellcheck update (#2557)
* Fixed SC2236 rules

* Fixed SC2086 rule

* Small fixes in other scripts
2020-10-09 13:25:53 +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
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
Katarzyna Mitrus
ba86f23dd6 Relaxed tolerance for fp16_inception_v1 model (#2129) 2020-09-09 15:47:53 +02:00
Mateusz Tabaka
6fb9bfac2a Update tolerance for candy model (#1967) 2020-09-08 16:04:08 +02:00
Jan Iwaszkiewicz
757b1f0d9e [nGraph] Python tests - move to int32 (#1966) 2020-09-01 15:11:58 +02:00
Ilya Churaev
c9820a9588 Do not remove convert after the topK (#1950)
* Do not remove convert after the topK

* Added debug message

* Removed xFail

* Revert "Added debug message"

This reverts commit a01ace4ade88d73e2797b47c58db33943b0f508d.

* Added test
2020-09-01 14:36:30 +03:00
Bartosz Lesniewski
d3682417bb Add support for ReduceL1 and ReduceL2 to ONNX Importer (#1838) 2020-08-27 15:47:04 +02:00
Mateusz Tabaka
7b79db8cc8 Adjust tolerance values in ModelImportRunner to the ones onnxruntime … (#1894) 2020-08-25 16:12:55 +02:00
Mateusz Bencer
ea80bc3d6f Add ONNX Round op (#1605) 2020-08-18 12:10:23 +02:00
Rafal Blaczkowski
0721761492 Enable Model Zoo in OpenVINO-ONNX CI (#1660) 2020-08-11 09:28:55 +02: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
Rafal Blaczkowski
4f96ea684a Update xfail status of onnx python tests (#1639) 2020-08-05 12:20:07 +03:00
Rafal Blaczkowski
d14d09e796 Update ONNX Python tests (#1514) 2020-08-04 12:26:32 +02:00
Jan Iwaszkiewicz
136dccf905 [nGraph] Public Py API to get function from cnnnetwork (#1567) 2020-08-04 09:39:37 +02:00
Tomasz Socha
91c71b81e0 [nG][Python]Make model runner compatibile with python 3.5 (#1578) 2020-08-03 12:56:59 +02:00
Adam Osewski
1c22023a8e Fix typo. (#1571) 2020-07-31 15:05:53 +03:00
Adam Osewski
fc5d8c75d3 Fix false positives in ModelRunner. (#1541) 2020-07-30 13:26:19 +02:00
Adam Osewski
3a87653483 ONNX Model runner (#1415) 2020-07-29 09:34:35 +02:00
Adam Osewski
093a02fcef Test fix import of ONNX model in serialized Protobuf binary format. (#1355)
* Try fix parsing error.

* Small exception refinements during importing model.

* More exception refinements.

* Skip segfaulting tests.

* More clear error types and messages. Func rename.

* Fix typo.

* Check on CI whether test_onnx will work.

* Add only those file which pass tests or have failing ones skipped.
2020-07-22 13:52:53 +03:00
Tomasz Socha
28227dcd9f [nGraph][Py][Tests] Remove backup of old models (#1349) 2020-07-17 15:12:11 +02:00
Michał Karzyński
cc23e6043a Add nGraph-ONNX tests (#1215) 2020-07-10 11:53:56 +02:00