Commit Graph

120 Commits

Author SHA1 Message Date
Roman Kazantsev aafabb41b8
[MO, POT] Top up upper bounds for TensorFlow and NumPy modules in all requirement files (#12191) (#12628)
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2022-08-19 19:33:25 +04:00
Sebastian Golebiewski 483f38e6d8
Porting OV Runtime to 2022.2 (#12192)
Porting OV Runtime (PR #11658) to 2022.2

https://github.com/openvinotoolkit/openvino/pull/11658/
2022-07-20 11:14:45 +02:00
Bonhun Koo d5e8d1d968
Nm/outputs quantization scheme (#12035)
* [POT] outputs quantization scheme

* [POT] remove needless blank line

* add a range_estimator config for outputs

* Add fq_config_priority
2022-07-07 16:08:55 +09:00
Bonhun Koo 1901087677
[POT] GNA - prevent an overflow in eltwise layer (#12048) 2022-07-06 16:15:13 +09:00
Wonju Lee 62d5f9a006
[POT] Rename ranger to range_supervision (#11998)
* fix: rename ranger by range_supervision

* ci: dummy commit
2022-06-29 15:27:57 +09:00
Inhyuk Jo 4d741703d1
[POT] Fix dynamic shapes and batchfying data (#11923)
* fix: batchfy data by sampler or data loader

* feat: add batched sampler

* docs: update doc
2022-06-27 15:18:36 +09:00
Bonhun Koo e5ddce54f6
Add an option to store the quantized weights as INT8 on the GNA speech sample (#11838) 2022-06-16 09:51:28 +09:00
Mateusz Tabaka 3a202c2775
Don't install networkx with version 2.8.1 (#11718)
With new networkx release (2.8.1) some of MO tests started to fail
with following error:
```
def __setstate__(self, state):
    self._graph = G = state["_graph"]
    self._adjdict = G._pred if hasattr(G, "pred") else G._adj
    AttributeError: 'Graph' object has no attribute '_adj'
```

Seems like regression that was introduced in
f50fc70b8c
2022-05-24 14:07:36 +02:00
Andrey Zaytsev cad355a03e
Docs labels adjustment (#11227) (#11294)
* Adjusted documentation labels

* Renamed images

* fix doc tests

Co-authored-by: CCR\ntyukaev <nikolay.tyukaev@intel.com>
# Conflicts:
#	docs/IE_PLUGIN_DG/ExecutableNetwork.md
2022-04-01 15:06:55 +03:00
Alexander Kozlov 4b4bd7399c
Fixed conflicts (#11332) 2022-03-30 16:10:03 +03:00
Nikita Malinin 5e3e8d6084
[POT] Update POT with the ResultRenaming flag (#10989)
* Update POT with the ResultRenaming flag

* Update flag

* Update gold
2022-03-25 13:22:20 +03:00
Alexey Lebedev 3de9189d50
[core][python] ov::serialize (#10945)
* add ov::serialize

* create python binding

* update python tools

* use ov::serialize in benchmark app

* remove serialize from python offline_transformations

* fix import

* revert pot

* update docs

* apply review comments

* add const

* make bin path optional

* Add docs

* add compare test
2022-03-23 11:44:00 +03:00
Nikita Malinin eb74afe417
Fix FBC missed spaces (#11091) 2022-03-23 11:17:42 +03:00
Liubov Talamanova 99f0093615
[POT] Fixed bug with out port for nodes with multiple outputs (#10932)
* Fixed bug with out port

* Add test

* Fix test

* Change test model
2022-03-23 11:17:06 +03:00
Liubov Talamanova bdc89b1571
Moved quantization templates to openvino/tools/pot (#10814) 2022-03-21 14:17:55 +03:00
Indira Salyahova 3a8fd7135e
[POT] Method сhange to get bias shape in bc and fbc algoritms (#10463)
* refactoring: get bias shape in bc and fbc algoritms

* use scipy to take most frequent shape

* pylint

* update reference

* pylint

* Update test_sanity.py

* update test_sanity.py

* Update test_sanity.py
2022-03-17 16:46:28 +03:00
Nikita Malinin e103af056e
[POT] References & golds update (#10937)
* Update references

* Update golds & add stats dumping

* Statistics_data upd

* Enable densenet in nightly

* Pylint fixes

* Update try-except WA

* Update simplified gold
2022-03-15 16:55:48 +03:00
Nikita Malinin 4746d0881b
[POT] Update BC with the Parameter nodes connection (#10848)
* Update BC with the Parameter nodes connection

* Update test_sanity with octave
2022-03-10 10:28:47 +03:00
Tatiana Savina d7372d678c
[DOCS] fixes for nightly (#10842)
* fixes for nightly

* modify xfile

* change launcher ref
2022-03-10 09:10:54 +03:00
Ilya Churaev 702f8cf223
Fixed duplicated words (#10827) 2022-03-09 08:06:12 +00:00
Tatiana Savina de47a3b4a4
POT documentation updates (#10578)
* POT changes

* change install

* change img size

* remove cli option
2022-03-06 09:14:39 +03:00
Nikita Malinin 41818a377f
[POT] Update IEEngine with the Dynamic model support (#10717)
* Update IEEngine with the Dynamic models support

* Update with the batch

* Method naming fix

* Update image_loader & tests with dynamic models

* Update test_sanity.py

* Replace custom_mo_config from the model
2022-03-05 15:49:21 +03:00
Andrey Zaytsev 0f8c599ce7
Re-structure Model Optimizer User Guide and Clean-up (#10801)
* Modified the workflow diagram

* Moved supported topology lists to separate topics

* Additional changes

* Removed Supported Topologies list and Deprecated pages

* Created the Model Conversion Tutorials section for instructions for specific models

* Topic names alignment, removed Default_Model_Optimizer_Optimizations.md

* Additional structural changes

* Fixed links

* heading fixes
2022-03-05 12:31:15 +03:00
Nikita Malinin 69ad9e80e1
[POT] Update OverflowCorrection algo for nodes without bias (#10687)
* Update OverflowCorrection algo for nodes without bias

* Pylint line fix

* Update OC with the last add name

* Pylint fix
2022-03-04 14:50:44 +03:00
Ilya Churaev d670e77d97
Docs: Changed OpenVINO Runtime User Guide integration (#10187)
* Changed C++ OpenVINO Runtime User Guide integration

* Remove IE from C++ guide

* Fixed comments

* Additional fix

* Fixed some comments

* Some new documents

* Fixed some comments

* Added Python snippets

* Added sphinx tabs

* Removed tabs

* Removed group-tab

* Added additional lines

* Fixed typo

* Fixed comments and build

* Try to fix complex tabs

* Fixed some typos

* Added python code for model representation

* Added more python code

* Added serialize/visualize python examples

* Simplify integration pipeline

* Fixed typo

* Try to fix tabs

* Extend CompiledModel guide

* Resolve merge conflict

* Added separate infer request guide

* Fixed build

* Added cancel infer request method

* Update docs/snippets/ov_model_snippets.py

Co-authored-by: Jan Iwaszkiewicz <jan.iwaszkiewicz@intel.com>

* Fixed comments

* Fixed typo

* Extend visualize pass

* Fixed comments

* Fixed build

* Fixed typo

* Update docs/snippets/ov_infer_request.py

Co-authored-by: Jan Iwaszkiewicz <jan.iwaszkiewicz@intel.com>

* Update docs/snippets/ov_infer_request.py

Co-authored-by: Jan Iwaszkiewicz <jan.iwaszkiewicz@intel.com>

* Update docs/OV_Runtime_UG/integrate_with_your_application.md

Co-authored-by: Andrey Zaytsev <andrey.zaytsev@intel.com>

* Update docs/OV_Runtime_UG/integrate_with_your_application.md

Co-authored-by: Andrey Zaytsev <andrey.zaytsev@intel.com>

* Update docs/OV_Runtime_UG/integrate_with_your_application.md

Co-authored-by: Andrey Zaytsev <andrey.zaytsev@intel.com>

* Update docs/OV_Runtime_UG/integrate_with_your_application.md

Co-authored-by: Andrey Zaytsev <andrey.zaytsev@intel.com>

* Update docs/OV_Runtime_UG/integrate_with_your_application.md

Co-authored-by: Andrey Zaytsev <andrey.zaytsev@intel.com>

* Update docs/OV_Runtime_UG/integrate_with_your_application.md

Co-authored-by: Andrey Zaytsev <andrey.zaytsev@intel.com>

* Update docs/OV_Runtime_UG/integrate_with_your_application.md

Co-authored-by: Andrey Zaytsev <andrey.zaytsev@intel.com>

* Update docs/OV_Runtime_UG/integrate_with_your_application.md

Co-authored-by: Andrey Zaytsev <andrey.zaytsev@intel.com>

* Update docs/OV_Runtime_UG/integrate_with_your_application.md

Co-authored-by: Andrey Zaytsev <andrey.zaytsev@intel.com>

* Update docs/OV_Runtime_UG/integrate_with_your_application.md

Co-authored-by: Andrey Zaytsev <andrey.zaytsev@intel.com>

* Update docs/OV_Runtime_UG/integrate_with_your_application.md

Co-authored-by: Andrey Zaytsev <andrey.zaytsev@intel.com>

* Update docs/OV_Runtime_UG/integrate_with_your_application.md

Co-authored-by: Andrey Zaytsev <andrey.zaytsev@intel.com>

* Update docs/OV_Runtime_UG/integrate_with_your_application.md

Co-authored-by: Andrey Zaytsev <andrey.zaytsev@intel.com>

* Update docs/OV_Runtime_UG/integrate_with_your_application.md

Co-authored-by: Andrey Zaytsev <andrey.zaytsev@intel.com>

* Update docs/OV_Runtime_UG/integrate_with_your_application.md

Co-authored-by: Andrey Zaytsev <andrey.zaytsev@intel.com>

* Update docs/OV_Runtime_UG/model_representation.md

Co-authored-by: Andrey Zaytsev <andrey.zaytsev@intel.com>

* Update docs/OV_Runtime_UG/model_representation.md

Co-authored-by: Andrey Zaytsev <andrey.zaytsev@intel.com>

* Fixed comments

* Fixed doc

* Fixed merge

Co-authored-by: Jan Iwaszkiewicz <jan.iwaszkiewicz@intel.com>
Co-authored-by: Andrey Zaytsev <andrey.zaytsev@intel.com>
2022-03-02 20:07:52 +03:00
Nikita Malinin 33ad1b96d4
[POT] Update samples and samplers with the new DataLoader format (#10595)
* Update samples and samplers with the new DataLoader format

* Update with utils

* Pylint updates

* Update metric with the exception

* Pylint

* Update with the exception

* Pylint

* Revert index sampler changes

* Update ImageLoader & SimplifiedEngine

* Update with the different solution

* Remove utils

* Pylint

* Remove list wrapping

* Remove list from meta_data
2022-02-28 16:26:07 +03:00
Liubov Talamanova 37923a9183
[POT] Remove DataFreeEngine (#10600) 2022-02-22 18:38:08 +03:00
Indira Salyahova e2df6d149b
[POT] Update face detection sample (#10471)
* support cascade model for sw api

* update mtcnnengine

* delete empty line
2022-02-22 17:46:08 +03:00
Indira Salyahova aced89a655
fix: don't pass parametr inplace_statistic for weights (#10593) 2022-02-22 16:53:53 +03:00
Ilya Lavrenov 991c9db1c1
Config api docs (#10563)
* Renamed hetero md

* Renamed some guides

* Updated OpenVINO_Runtime_User_Guide.md

* Updated plugin's page

* More updates

* Fixed links

* Updated link names

* Fixed links

* Fixed docs build

* Self-review

* Fixed issues in doc snippets
2022-02-22 14:32:57 +03:00
Liubov Talamanova 1891967ad3
[POT] Add quantization templates to wheel (#10557) 2022-02-22 09:11:43 +03:00
Andrey Zaytsev aea0532d76
Fixed POT docs (#10574) 2022-02-22 02:15:58 +03:00
Nikita Malinin a312dd4a9f
[POT] IEEngine output data order (#10527)
* IEEngine fix for multiply-output nets

* Update docstrings and docs

* Codestyle changes

* Update docs

* Update docstring

* Pylint
2022-02-20 09:44:04 +03:00
Alexander Kozlov 5c7be85435
[POT] Documentation update (#10068)
* Updated main README

* Added saturation fix desciption

* Changed Low-precision model representation document

* Added Simplified mode desciption. Updated DefaultQuantization, AccuracyAware, API descriptions.

* Added Data-free model description. Adjusted other Readmes accordingly

* Revised Configuration file description

* Revised AA method description

* Changed Quantization readme

* Cross-links in quantization methods

* Fixed reference

* Fixed the structure

* Removed data-free

* Update tools/pot/docs/CLI.md

Co-authored-by: Nikita Malinin <nikita.malinin@intel.com>

* Update tools/pot/openvino/tools/pot/api/README.md

Co-authored-by: Nikita Malinin <nikita.malinin@intel.com>

* Applied comments

* Fixed comments

* Applied more comment

* Applied comments

* Fixed build errors

* Fixed build errors

* Small changes

* Fixed a typo

Co-authored-by: Nikita Malinin <nikita.malinin@intel.com>
2022-02-20 09:43:14 +03:00
Ilya Churaev a18c8076cc
Removed obsolete documentation (#10504)
* Removed obsolete documentation

* Fixed documentation

* Additional fix
2022-02-18 13:02:55 +03:00
Nikita Malinin a090abbc92
Update remove_converts pass with shape inference (#10474) 2022-02-17 18:17:07 +03:00
Liubov Talamanova be6a3c34f1
[POT] Throw exception for IRv10 (#10345)
* [POT] Throw exception for IRv10

* Update reference models

* Updated AC framework name from dldt to openvino
2022-02-17 10:54:08 +03:00
Nikita Malinin c8ce93290e
[POT] Sync mode only for gna_sample (#10355)
* Sync mode only for gna_sample

* Disable test
2022-02-16 11:00:13 +03:00
Indira Salyahova f1557c06de
[POT] Fix inference sample in fbc when get list prediction (#10159)
* fix: inference sample in fbc when get list prediction

* update reference metrics
2022-02-15 14:42:40 +03:00
Indira Salyahova acf6185bf3
Update load image in sample (#10223) 2022-02-15 10:18:27 +03:00
Indira Salyahova ea00eae922
[POT] Fix for measuring input shape when inference model with batch greater 1 in FBC (#10063)
* fix: diffrent batch shape in prediction and target in ac

* add calculate metric in engine True

* resolve conflicts
2022-02-12 19:12:58 +03:00
Nikita Malinin 8e43987cd7
[POT] Update IEEngine for SW API support (#10304)
* Update IEEngine for SW API support

* Change Engine for GNA sample

* Change stacks into reshape
2022-02-12 18:57:35 +03:00
Indira Salyahova 976a20cedf [POT] Update input pattern (#10220)
* Update special_patterns.py

* Update IgnoredPatterns.md
2022-02-12 18:56:41 +03:00
Liubov Talamanova 4d61600077
[POT] Fix cascade model names (#10112) 2022-02-11 15:54:41 +03:00
Nikita Malinin d758a21d6e
Update gna_sample with API 2.0 features (#10236) 2022-02-11 13:23:02 +03:00
Nikita Malinin 0c855ee8b2
[POT] Renaming NXModel (#10168)
* NXModel -> CompressedModel renaming

* Update references & remove Dicts

* Pylint fixes
2022-02-08 14:07:12 +03:00
Indira Salyahova f17c26506f
Update utils.py (#10186) 2022-02-08 13:51:29 +03:00
Indira Salyahova da02951d67
[POT] Fix get layout from model (#10018)
* fix: layout pot

* layout

* fix: layout

* pylint

* add logger

* Update image_loader.py

* pylint

* repeat layout in data free

* resolve conflicts

* sample

* resolve comments
2022-02-04 11:46:54 +03:00
Liubov Talamanova b4206fe0a1
Supported Simplified mode without provided config (#10049)
* Support Simplified mode without provided config

* Change data-source default location
2022-02-03 10:56:25 +03:00
Eugeny Volosenkov e7d8284e4d
fix pot (#9980) 2022-02-03 10:47:31 +03:00