Commit Graph

33 Commits

Author SHA1 Message Date
Krzysztof Bruniecki 1048e6f69b
[GNA] Introduce an option to invoke the QoS feature (#5827)
* [GNA] [WIP] Introduce an option to invoke the QoS feature 56759

* Apply remaining revew (typos) for PR 5741

* Introduce HW_WITH_SW_FBACK

* Add unit test for HW_WITH_SW_FBACK

* Enable HW_WITH_SW_FBACK in speech_sample cpp

* Use perf counters to report number of HW delivered frames to the user (eg speech_sample)

* Update speech_sample.hpp

based on review

* Update gna_config.hpp

Describe special perf counter

* lint fix

* Apply review

  * Remove special performance counter
  * Add GNA frequency for 6/151 CPU family/model

* Update inference-engine/samples/speech_sample/main.cpp

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

* Update main.cpp

Co-authored-by: Mikhail Ryzhov <mikhail.ryzhov@intel.com>
2021-06-18 12:42:18 +03:00
Anton Romanov 63a335f0b3
[Speech sample] Added numpy array support (#5479)
* [Speech sample] Added numpy array support

* Added zlib library submodule to thirdparty

* Added cnpy library original version

* Changed cnpy library: some methods and fixed Klocwork issues

* Change cmakelists and documentation

* Added license information in TPP

* Added support make install to thirdparty components
2021-06-03 12:22:06 +03:00
Dmitry Pigasin b2abf25218
Python speech sample (#5322)
* Upload python speech sample draft

* Add function doc strings

* Add the ability to save results to a file

* Add a plugin configuration for GNA to get better accuracy

* Add errors calculation (comparison with a reference)

* Fix flake8 issues

* Add ability to run in hetero mode

* Add ability to load and save numpy format files (.npz)

* Add an error for wrong file extensions & update help message

* Add import and export GNA model options

* Add -we option to export embedded gna model

* Add readme

* Add -oname command line option (Layer names for output blobs)

* Add -iname command line option (Layer names for input blobs)

* Add info about -iname option to README.md

* doc: update readme, fix style

* Add a state reset between inferences

* add reset API to speech README

* doc: remove extra output from README

* remove onnx and TODO, format output

* Add an else branch to the if statement that checks a utterance data type

* Add dummy data for inference if a number of vectors < batch size

* Split the sample into separte files

Co-authored-by: Kate Generalova <kate.generalova@intel.com>
2021-06-01 12:48:02 +03:00
Anton Romanov 67c75740bd
Fixed printPerfomanceCounters in speech sample (#5850) 2021-05-28 19:20:36 +03:00
Kate Generalova 3e303f016b
samples: hide -we_gen and remove -l options for C++ speech (#5840)
* samples: hide and remove options for C++ speech

* sample: revert -we option
2021-05-28 13:32:58 +03:00
Krzysztof Bruniecki 7c07c6154b
[GNA] New flags to select GNA target generation (#5429)
* New flags for GNA trget

* Add new flags to configuration

* Update utest

* Update speech_Sample

* Add unit tests

* Guard for wrong values

* Use gna execution target as consistent device

* Apply review
2021-05-07 13:02:49 +03:00
Kate Generalova 99df448669
refactor: add clang style check for samples (#5306)
* refactor: add clang style check for samples

* fix: add .clang-format for ie

* fix: style check for missing headers

* refactor: remove cpplint for IE samples

* fix: setw is not a member of std for classification_results.hpp

* feat: add indent after ifdefine

* feat: set up google style for IE samples

* fix indents for w_dirent headers

* fix: include issues for utils.cpp due to clang-format
2021-04-22 14:02:54 +03:00
Ilya Lavrenov 02bc98a03f
Removed suppressions for IInferRequest deprecation (#5310)
* Removed suppressions for IInferRequest deprecation

* Fixed Windows

* More fixes for Windows

* Fixed compilation on Windows

* Fixed comment in documentatipn

* Fixes for Andorid

* Fixes for old gcc 4.8

* WA for cross-compilations

* Fixed compilation

* Fixed HETERO plugin compilation for old compilers

* Flags

Co-authored-by: lab_ddpqa <lab_ddpqa@intel.com>
2021-04-21 16:05:30 +03:00
Kate Generalova 78076656fd
[DOC] Update README for C++ samples, add comments (#5019)
* update hello_classification README

* update hello_nv12_input_classification README

* add docstrings to common C++ samples functions

* update obj detection sample README

* update hello_reshape README

* fix cpplint in reshape ssd sample

* update classification_sample_async README

* fix classification_sample_async/README.md doc tag

* update hello_query_device README

* update style_transfer_sample README

* update ngraph_function_creation_sample README

* fix doc gen ngraph_function_creation_sample/README.md

* fix wrong link in ngraph_function_creation_sample/README.md

* doc: update speech_sample README and add docstrings

* refactor: constant number of output files

* fix: comparison of integer expressions
2021-04-15 13:42:46 +03:00
Anton Romanov d30740af66
Added more comments into speech sample (#5049) 2021-04-08 14:00:22 +03:00
Alexey Suhov a748c26fee
Align copyright notice in cpp and cmake source files (CVS-51320) (#4950) 2021-03-25 02:40:09 +03:00
Andrey Dmitriev 9d69c0e0ec
[GNA] Multithread speech sample with iname (#4774) 2021-03-22 17:14:15 +03:00
Bartosz Sochacki 3daacb5e09
[GNA] POT enabling (#4358)
* POT enabling for GNA

* POT enabling for GNA

* POT enabling for GNA - accuracy improvements
2021-03-04 16:10:01 +03:00
Andrey Dmitriev f38666ac19
[GNA][SPEECH SAMPLE] Fix problem with calculate bitesize output frame (#4122) 2021-02-18 18:31:40 +03:00
Ilya Lavrenov 685bf830d5
Fixed cldnn compilation with static runtime (#4070) 2021-02-02 20:11:40 +03:00
Andrey Dmitriev 9817b22295
[GNA] Fix ParseBlobName and message for output layer names (#3527) 2021-01-26 14:23:36 +03:00
Svetlana Dolinina 7bd76dc12b
Move QueryState from ExecutableNetwork to InferRequest (#2818)
* QueryState moved to InferRequest

* deprecate ExecutableNetwork::QueryState,chaged tests (without any check yet)

* fix build

* review fixes + build fix

* build fix + review changes

* remove blank line

* style fixes

* test build fixes

* style fix

* style fix

* fixed build of tests

* fix

* mac build fix

* hddl plugin build fix

* clean up unneeded implementation for method

* fixed tests build

* add implementation for getstate, correct getName for MklDNN

* fixed description of state API in comments

* lint fixes

* Rename MemoryState to VariableState

* added tests for cpu for VariableStates, several small fixes in tests and code

* merge fix

* lint fix

* remove whitespaces

* spaces fix

* fix in test to make it workable for all plugins

* fix typo

* fix test for gna

* remove extra comment

* fix test for gna
2020-11-12 12:40:43 +03:00
Andrey Dmitriev 12bb8abe5c
[GNA] Added fix for export scores (#3009) 2020-11-10 16:33:41 +03:00
Ilya Lavrenov 258c51bd1f
Openvino extra module adding - refactored (#2754)
* Rename plugin to module

* Added openvino_contrib handling

* Moved NEON flags to common place

* Fixed -Werror=catch-value= gcc-9 error
2020-10-23 08:54:48 +03:00
Andrey Dmitriev aff7a66082
[GNA][Speech sample] Add option to specify blob names (#1529)
* Added output names

* Add input, output, ref names

* Added zero scale factor

* Adding support for multiple reference files
2020-10-16 15:34:22 +03:00
Anna Alberska 1cfa47cde8
[GNA] clear input scale factor from configuration for imported model (#2172)
* [GNA] clear input scale factor from configuration for imported model

* add test

* [GNA] add warning for using imported scale factors
2020-09-29 18:32:09 +03:00
Mikhail Ryzhov 7859aab4b0
Modified samples to support ONNX models (#1680)
* Modified samples to support ONNX models

- Removed manual loading of IR .bin files (hello_classification, object_detection_sample_ssd)
- Corrected comments
- Added Note in README files

* Modified samples to support ONNX models

- Removed manual loading of IR .bin files (hello_classification, object_detection_sample_ssd)
- Corrected comments
- Added Note in README files
2020-08-26 18:53:24 +03:00
Anna Alberska 0b9987f5e9
[GNA] fix custom scale factors when importing a model (#1096) 2020-06-25 12:43:47 +03:00
Denis Orlov ef8a8dd309
add support for multiple scale factors in speech sample (#835)
Co-authored-by: Anna Alberska <anna.alberska@intel.com>
2020-06-09 14:36:28 +03:00
Denis Orlov 67e3e06bee
Fix hetero mode in speech sample - set config when loading network (#786) 2020-06-05 11:54:03 +03:00
Alexey Suhov 127cbac5bc publish master branch snapshot, revision cdcab9d7ab48ffb0ee5629fabbfa06cb45debd9b 2020-04-15 19:01:57 +03:00
Alexey Suhov 95a57795dc Publishing 2020.2 content 2020-04-13 21:17:23 +03:00
Alexey Suhov b2140c083a Publishing 2020.1 content 2020-02-11 22:48:49 +03:00
Alexey Suhov 0923303e02 Publishing 2019 R3 content 2019-10-04 19:26:43 +03:00
Alexey Suhov ba6e22b1b5 Publishing 2019 R2 content (#223) 2019-08-09 19:02:42 +03:00
Alexey Suhov 0ef92871b6 Publishing 2019 R1.1 content and Myriad plugin sources (#162)
* Publishing 2019 R1.1 content and Myriad plugin sources
2019-05-27 21:18:32 +03:00
Alexey Suhov 72660e9a4d Publishing 2019 R1 content 2019-04-12 18:25:53 +03:00
Alexey Suhov 9de27f16bc Publishing R5 content (#72)
* Publishing R5 content

* Updated ade revision

* updated readme

* add possibility to build CPU plugin with Intel MKL package
2019-01-21 21:31:31 +03:00