Commit Graph

30 Commits

Author SHA1 Message Date
Dmitry Pigasin c28cebb2a6
[CPP Speech Sample] Fix result saving when batch size is not 1 (#10714)
* Fix result saving when batch size is not 1

* Remove useless if statement

* improved processing scores for model with more than one outputs

* added checking on count of model outputs

* improve if statements

* divide fix for model with several outputs to other PR

Co-authored-by: Maxim Gordeev <maxim.gordeev@intel.com>
2022-03-04 15:41:47 +03:00
Maxim Gordeev f81f819ecd
[IE Samples] Improved processing outputs for model with more than one output (#10737)
* Improved processing outputs for model with more than one output

* fixed condition

* added checking count of output/reference files
2022-03-03 16:35:41 +03:00
Maxim Gordeev b9ef57112e
[IE Samples] Fixed memory allocation problem for speech sample (#10671) 2022-02-28 12:31:01 +03:00
Dmitry Pigasin bacf597516
[CPP Speech Sample] Improve `-o` and `-oname` flags (#10321)
* Improve `-o` and `-oname` flags

* Apply clang-format tool

* fix saving output files

* Apply clang-format

* Fix error when `-oname` not specified

* apply clang format

* Fix error `-oname`

* Use output name with port to find model output

* fix comment line breaking

* fix comparison with reference for multiple outputs

* Fix output name printing  error

* try to fix clang format

* fix problem with bs > 1

* minimal change to rerun test pipeline

* clang format

* Revert "Fix error `-oname`"

This reverts commit c33d5f16e8.
2022-02-25 11:25:35 +03:00
Anton Romanov c80a872f73
Fix Coverity in samples (#10583)
* Fix coverity samples

* Fixed coverity issue in speech sample
2022-02-22 14:49:35 +03:00
Maxim Gordeev e7145bd343
[IE Samples] Changed input's tensor preprocessing for speech sample (#10552)
* Changed input's tensor preprocessing

* improved processing
2022-02-21 23:29:38 +03:00
Maxim Gordeev 3144c5fab8
Added processing of layout for speech sample (#10254)
* Added processing of layout for speech sample

* fixed notes

* some improvements

* Code style format

* changed NCC value for NullStatement

* improved batch processing

* added loading batch for imported model

* fixed notes

* fixed notes

* added layout parameter to azure tests
2022-02-17 16:11:57 +03:00
Nadezhda Ageeva fc5a416423
[SAMPLES][GNA] Update C++ speech sample with new config API (#10357)
* [SAMPLES][GNA] Update speech sample with new cofig API

* Review comments

* Some additional checks
2022-02-16 13:23:50 +03:00
Anton Pankratov ced90de0a5
PERF_COUNT replaced with ov::enable_profiling (#10118)
* String conversions in any

* Fixed chaching tests

* Fixed tests

* fixed build

* PERF_COUNT replaced with ov::enable_profiling

* fixed format

* fixed format

* fixed optimal config

* merge fix

* fix build

* format fix

Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
2022-02-05 13:27:46 +03:00
Krzysztof Bruniecki 6677079821
Set proper precision for added output (#9496) 2022-02-03 18:34:55 +03:00
Maxim Gordeev f0e2a2e811
Speech sample improvements (#9985) 2022-01-28 16:13:51 +03:00
Maxim Gordeev 0627fe857e
[IE Samples] Export and Import of model, fixed (#9776)
* [IE Samples] Export and Import of model, fixed https://jira.devtools.intel.com/browse/CVS-76225

* Added IE_SUPPRESS_DEPRECATED

* [IE Samples] Export and Import of model, fixed 76225

* Added IE_SUPPRESS_DEPRECATED

* fixed notes

* Update samples/cpp/speech_sample/main.cpp

Co-authored-by: Mikhail Ryzhov <mikhail.ryzhov@intel.com>

* Update samples/cpp/speech_sample/main.cpp

Co-authored-by: Mikhail Ryzhov <mikhail.ryzhov@intel.com>

* fixed formatting

* changed processing of inputs

* working export

Co-authored-by: Mikhail Ryzhov <mikhail.ryzhov@intel.com>
2022-01-27 14:46:02 +03:00
Anton Pankratov f45991bd64
OV 2.0 c++ configuration API (#9870)
* New configuration API

* Review fix

* review coments

* fixed device name map

* fixed header

* code stile

* fixed optimization capabilities

* flatten properties

* dox fix

* doc

* merge conflicts

* fixed merge conflicts

* Fixed subobject linkage warning

* foramt fix

* Fixed unity test build

* Merge conflict fixes

* Fixed variadic
2022-01-25 12:43:56 +03:00
Alexander Zhogov 6c2d1e923c
Revert "OV2.0 c++ configuration API (#9829)" (#9860)
This reverts commit 50da8c4aed.
2022-01-24 11:29:09 +03:00
Anton Pankratov 50da8c4aed
OV2.0 c++ configuration API (#9829)
* New configuration API

* Review fix

* review coments

* fixed device name map

* fixed header

* code stile

* fixed optimization capabilities

* flatten properties

* dox fix

* doc

* merge conflicts

* fixed merge conflicts

* Fixed subobject linkage warning

* foramt fix
2022-01-21 18:44:41 +03:00
Alexander Zhogov 79ff926b6d
Revert "OpenVINO runtime Configuration API (#7750)" (#9828)
This reverts commit 400e9ad916.
2022-01-21 13:30:39 +03:00
Anton Pankratov 400e9ad916
OpenVINO runtime Configuration API (#7750)
* New configuration API

* Review fix

* review coments

* fixed device name map

* fixed header

* code stile

* fixed optimization capabilities

* flatten properties

* dox fix

* doc

* merge conflicts

* fixed merge conflicts
2022-01-21 10:32:57 +03:00
Ilya Lavrenov 8f3d030d79
Removed ov::runtime namespace (#9781)
* Removed ov::runtime namespace

* clang-format

* Fixes

* template reference

* Fixes
2022-01-20 16:17:57 +03:00
Maxim Gordeev ec3283ebe1
[IE SAMPLES] activated NCC tool for c++ samples (#9600)
* [IE SAMPLES] activated NCC tool for c++ samples

* exclude ov_ncc_naming_style for tests

* fixed NCC hit

* Added support for source files in samples

* changed style of methods for benchmark

* changed style for speech sample

* changed code style

* changed code style for shared_tensor

* benchmark changes

* changed remote_tensors_filling

* fixed notes

* rebase of branch
2022-01-19 01:08:07 +03:00
Alexey Suhov a79830cb55
Update year to 2022 in copyright notice (#9755) 2022-01-19 01:07:49 +03:00
Krzysztof Bruniecki 97df59a4ab
[GNA] Restore deprecated options for GNA Plugin (#9611)
* Restore deprecatet options for GNA Plugin

* Apply review use INFERENCE_ENGINE_DEPRECATED macro

* Deprecate PWL_UNIFORM_DESIGN and PWL_MAX_ERROR_PERCENT

* Add doxygen deprecation message

* Use string for deprecated config keys to avoid compile time errors

* Use IE_SUPPRESS_DEPRECATED_START

* Fixup lint

* Fix indentation

* Usue future release instead 2022.2 in deprecated message, supress deprecation error in tests

* Fix test
2022-01-17 10:32:02 +03:00
Nadezhda Ageeva 12ab842970
[GNA] Deprecate GNA_LIB_N_THREADS and SINGLE_THREAD parameters + sample update (#9637)
* Deprecate GNA_LIB_N_THREADS and SINGLE_THREAD parameters

* Remove deprecated options from sample

* Fix speech sample test

* Adds doxy deprecated comment
2022-01-14 12:20:36 +03:00
Maxim Gordeev 39a1b98799
changed C++ samples due to OpenVINO style (#9463)
I'll merge this. We need to talk with someone who know openvino build system better than we to "use cmake function ov_ncc_style_check to perform such check automatically". As far as I can see, currently it used only in one place, so it is not common approach for openvino components
2021-12-29 15:36:33 +03:00
Elizaveta Lobanova c4ce6c5430
[IE SAMPLE] Fixed inputs and outputs element type initialization (#9375) 2021-12-23 12:06:23 +03:00
Krzysztof Bruniecki 6c92ce48c1
Remove non official code (#9315)
- feature to export for embedded GNA3 which is not in fact supported.
    - SW emulation modes like SSE etc, which are not useful and are undocumented.
2021-12-21 09:44:06 +03:00
Maxim Gordeev abcd7486a9
Moving of C++ speech sample to OpenVINO API 2.0 (#9027)
* Moved Speech sample to OpenVINO 2.0

* improved samples's score

* changed code style

* added GNA configs

* renamed function due to new API

* added dynamic batch

* reordered includes

* speech_sample has more than 1 input

* added oname processing

* added multi input

* fixed notes

* removed getFullDeviceName with old api

* getFullDeviceName for benchmark
2021-12-19 20:56:40 +03:00
Szymon Irzabek 1c6c7bac2d
[GNA] Detect unsupported concat layers (#7599)
* [GNA] Detect unsupported concat layers

* [GNA] Add support for 3D transposes around convolutions and replace exception with user warning
2021-12-10 11:17:29 +03:00
Anton Romanov b5134dc459
Fixed part coverity issues in samples (#8744) 2021-11-24 13:17:33 +03:00
Ilya Lavrenov 7c10998cf8
Removed pointer from ov::get_openvino_version (#8687)
* Removed pointer from ov::get_openvino_version

* Fixed issues with version print

* Clang-format
2021-11-22 15:21:09 +03:00
Ilya Churaev f639e4e902
Moved inference_engine samples to cpp folder (#8615)
* Moved inference_engine samples to cpp folder

* Fixed documentations links

* Fixed installation

* Fixed scripts

* Fixed cmake script

* Try to fix install

* Fixed samples

* Some fix
2021-11-18 10:08:20 +03:00