Commit Graph

35 Commits

Author SHA1 Message Date
Anastasiya(Asya) Pronina
84d35ab6f9 Removed compile_tool and benchmark_app_legacy from OpenVINO repo (#18350) 2023-07-04 19:35:51 +04:00
Anastasiia Pnevskaia
5d399faa64 convert_model() in openvino.runtime. (#18080)
* Used pip wheel to build OpenVINO wheel

* Added convert_model() to openvino.runtime.

* Removed duplication of InputCutInfo, LayoutMap

* Switched Model Conversion API tests to convert_model from openvino.runtime.

* Small correction.

* Format correction.

* Small correction.

* Removed duplication of moc frontend files.

* Small correction.

* Removed duplication of cli_parser, offline_transformations.

* Code corrections.

* Removed code duplications.

* Removed code duplications.

* Updated codeowners.

* Switched layer tests to convert_model().

* Improvements

* Small correction.

* Caffe parser path fix.

* Added python api properly into deb / rpm packages

* Moved implementation to ovc tool.

* Moved implementation to ovc tool.

* Small correction.

* Use cmake -E variant from cmake 3.13

* Namespace fixes.

* Minor fixes.

* Pylint fixes.

* Fixed BOM file.

* Small corrections.

* Minor corrections.

* Minor fix.

* Error fixes.

* Added telemetry requirement.

* Improvements to fix CI

* Some refactoring

* Don't use developer package for scripts projects

* Added exception in case when MO is not imported.

* Removed exception from init.

* Removed changes from cmake.

* Added unit ovc tests, fixed minor errors.

* Added ovc unit tests to azure.

* Corrected imports.

* Fixed path to tests.

* Added missed files.

* Corrected github labels.

* Removed benchmark app from dev package.

* Small fix.

* Small corrections.

* Comment fixed.

* Removed changes from setup.py

* Removed not needed change.

* Removed duplicating unit tests.

* Removed wrong change.

* Removed not needed change.

* Apply suggestions from code review

Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Added ovc tool test, corrected imports.

* Added legacy TF config test.

* Removed not needed files.

---------

Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com>
2023-06-30 18:26:14 +04:00
Ilya Lavrenov
15e69c280a Used pip wheel to build OpenVINO wheel (#18029)
* Used pip wheel to build OpenVINO wheel

* Improvements

* Added python api properly into deb / rpm packages

* Use cmake -E variant from cmake 3.13

* Improvements to fix CI

* Some refactoring

* Don't use developer package for scripts projects

* Final fixes
2023-06-23 09:17:02 +04:00
Ilya Lavrenov
bd0117d648 Vcpkg conan fixes (#17765)
* Small fixes for openvino::pugixml creation for Dev packages

* Flexiable components installation

* Fixed compilation for x86

* Added extra checks for ENABLE_NCC_STYLE

* Fixed typo in RPM
2023-05-29 15:40:51 +04:00
Ilya Lavrenov
a34ef680f2 Made plugins.hpp generation to be CONFIG dependent (#17139) 2023-04-24 14:48:45 +04:00
Ilya Churaev
0c9abf43a9 Updated copyright headers (#15124)
* Updated copyright headers

* Revert "Fixed linker warnings in docs snippets on Windows (#15119)"

This reverts commit 372699ec49.
2023-01-16 11:02:17 +04:00
Ilya Lavrenov
8dd8262b77 Added Debian, Raspbian, Ubuntu 22.10 support to install dependencies (#14226)
* Added Debian, Raspbian, Ubuntu 22.10 support

* Updated dependencies.cmake

* Fixes in script

* Added RHEL 9.1 support

* Added proper comments

* Compilation of rpm packages for aarch64 is fixed

* Proper generation of requirements.txt files when ENABLE_WHEEL=OFF

* samples build improvements

* Proper name for json library

* Proper condtion in samples
2022-11-25 11:13:43 +04:00
Ilya Lavrenov
ce7455ddb0 Added option to disable compile_tool (#13903)
* Updated pugixml

* Added option to disable compile_tool
2022-11-08 15:04:57 +04:00
Ilya Lavrenov
c40d225b6f Removed duplicated files from OpenVINO wheel (#13725) 2022-11-02 07:58:58 +04:00
Ilya Lavrenov
101e1ea5ad simple Windows installer POC (#12308)
* Fixes for cases when TBB_DIR env var is set

* Don't use make in build_samples.sh script

* First version of Windows installer

* WIndows NSIS installer
2022-07-27 14:04:22 +04:00
Ilya Lavrenov
3c0b17f108 Debian packages: base version (#11387) 2022-07-19 09:07:26 +03:00
Ilya Lavrenov
19d0e5ba52 CMAKE: IE_VERSION => OpenVINO_VERSION (#11242)
* IE_VERSION => OpenVINO_VERSION

* Reverted installation of python unconditionally
2022-03-28 19:32:21 +03:00
Ilya Lavrenov
974ae136a6 Enabled old BA only under ENABLE_SAMPLES (#10746) 2022-03-03 09:36:26 +03:00
Fedor Zharinov
f55e69d656 Legacy benchmark_app is added (#10239)
* Legacy benchmark_app is added

* apply fix for supporting multiple -i arguments

* new CMakeLists.txt with OpenCV auto detection

* fixes

* docs

* docs2

* Docs changes

* docs

* CMakeLists.txt modification

* Update tools/legacy/benchmark_app/README.md

Co-authored-by: ivikhrev <ivan.vikhrev@intel.com>
Co-authored-by: Vladimir Dudnik <vladimir.dudnik@intel.com>
2022-02-28 12:26:41 +03:00
Sergey Lyubimtsev
4b35d48283 Add ability to generate requirements.txt files with dev tags (#9986) 2022-01-28 18:23:10 +03:00
Liubov Talamanova
b738983c1f [POT] Change version.txt location (#9715)
* Change POT version.txt location

* Update version

* Added version.txt to wheel

* Fix install requires
2022-01-24 11:22:12 +03:00
Alexey Suhov
a79830cb55 Update year to 2022 in copyright notice (#9755) 2022-01-19 01:07:49 +03:00
Anton Romanov
882f30cd61 Added install wheel on azure for samples tests (#9179)
* Added install wheel on azure for samples tests

* minor change
2021-12-23 11:53:17 +03:00
Liubov Talamanova
a847e1f7fa [POT] Added printing IE, MO and POT versions during POT launch (#8679)
* Add POT version print

* Changed version in setup.py

* Add version to setup.py

* Update imports
2021-12-20 13:09:22 +03:00
Pavel Esir
980904c9ec [MO] Align MO namespaces (#7708)
* Moved and merged mo/ and extensions/ into openvino/tools/mo

* edited imports

* edited docs to use mo script from entry_point

* edited MO transformations list loading and setup.py

* changed full path -> 'mo' entry point in docs (leftovers)

* corrected package_BOM

* updated resolving --transformation_config in cli_parser.py

* pkgutil-style __init__.py, added summarize_graph into entry points

* updated DOCs for the new --transformations_config

* fix select

* updated install instructions, fixed setup.py for windows and python_version < 3.8

* fixed typo in requirements.txt

* resolved conflicts

* removed creating custom __init__.py from setup.py

* corrected folder with caffe proto

* corrected loading user defined extensions

* fix openvino.tools.mo import in serialize.py

* corrected layer tests for new namespace

* fix in get_testdata.py

* moved model-optimizer into tools/

* renamed import in POT

* corrected mo.yml

* correct CMakeLists.txt for the newest tools/mo

* corrected find_ie_version.py

* docs and openvino-dev setup.py update for the newest tools/mo

* miscellaneous leftovers and fixes

* corrected CI files, pybind11_add_module in CMakeLists.txt and use of tools/mo path instead of tools/model_optimizer

* add_subdirectory pybind11 for tools/mo

* POT path fix

* updated setupvars.sh setupvars.bat

* Revert "updated setupvars.sh setupvars.bat"

This reverts commit c011142340.

* removed model-optimizer env variables from setupvars

* updated CMakeLists.txt to pack MO properly with tests component

* corrected left imports, corrected loading requirements for layer tests

* mo doc typo correction

* minor corrections in docs; removed summarize_graph from entry_points

* get_started_windows.md, MonoDepth_how_to.md corrections, mo path corrections
2021-12-08 08:53:53 +03:00
Sergey Lyubimtsev
c11ae2d691 Add requirements files generation for installer (#9019)
* Add requirements files generation for installer (#8940) *

* remove caffe2
2021-12-06 01:15:31 +03:00
Andrey Babushkin
61cae2a401 Revert "Add requirements files generation for installer (#8940)" (#8993)
This reverts commit 1d6d3ebea8.
2021-12-03 09:16:16 +03:00
Sergey Lyubimtsev
1d6d3ebea8 Add requirements files generation for installer (#8940)
* Add requirements files generation for installer

* add line

* fix build

* fix var

Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
2021-12-02 11:54:38 +03:00
Ilya Lavrenov
5a52a8e4a3 Don't install content of openvino-dev; install wheels (#8820)
* Don't install content of openvino-dev

* Install MO in tests

* Install python's BA tool only for tests
2021-12-01 14:34:50 +03:00
Sergey Lyubimtsev
6c3e68a8d1 Add openvino-dev wheel build from opensource (#8174)
* Add openvino-dev wheel build from opensource

* fix path to OMZ tools

* fix for working directory

* change order

* pull out requirements to requirements.txt for snyk scans

* fix patterns

* fix patterns

* fix AttributeError: : 'PosixPath' object has no attribute 'startswith'
2021-11-09 14:37:17 +03:00
Ilya Lavrenov
6f69166f37 Removed cross_check_tool from installation (#7804) 2021-10-01 21:58:12 +03:00
Ilya Lavrenov
0df7dab345 New IRC package structure (#6255)
* OV new package structure

* Fixes

* More fixes

* Fixed code style in ngraph tests

* Fixes

* Paths to setupvars inside demo scripts

* Fixed demo_security_barrier_camera.sh

* Added setupvars.sh to old location as well

* Fixed path

* Fixed MO install path in .co

* Fixed install of public headers

* Fixed frontends installation

* Updated DM config files

* Keep opencv in the root

* Improvements

* Fixes for demo scripts

* Added path to TBB

* Fix for MO unit-tests

* Fixed tests on Windows

* Reverted arch

* Removed arch

* Reverted arch back: second attemp

* System type

* Fix for Windows

* Resolve merge conflicts

* Fixed path

* Path for Windows

* Added debug for Windows

* Added requirements_dev.txt to install

* Fixed wheel's setup.py

* Fixed lin build

* Fixes after merge

* Fix 2

* Fixes

* Frontends path

* Fixed deployment manager

* Fixed Windows

* Added cldnn unit tests installation

* Install samples

* Fix samples

* Fix path for samples

* Proper path

* Try to fix MO hardcodes

* samples binary location

* MO print

* Added install for libopencv_c_wrapper.so

* Added library destination

* Fixed install rule for samples

* Updated demo scripts readme.md

* Samples

* Keep source permissions for Python samples

* Fixed python

* Updated path to fast run scripts

* Fixed C samples tests

* Removed debug output

* Small fixes

* Try to unify prefix
2021-09-15 16:49:11 +03:00
Ilya Lavrenov
72fb7d207c Merge tools and inference_engine/tools folders (#7359)
* Merge tools folders

* Fixed docs

* Moved deployment_manager

* Fixed path to benchmark_tool docs

* python_tools -> python_tools_benchmark
2021-09-07 12:43:33 +03:00
Sergey Lyubimtsev
c771b1e2e0 Merge benchmark tools dirs (#6960)
* add missed __init__.py files

* Update __init__.py

empty line

* Merge infirence_engine/tools/benchmark_tool with tools/benchmark_tool

* Update MD links

* remove benchmark_tool  from package_BOM.txt

* add tools folder to the list of Doxygen files

* fix relative paths

* Update index.md

remove extra line
2021-08-12 11:38:03 +03:00
Sergey Lyubimtsev
6e14890972 Align folder structure for Benchmark Tool (#6625)
* openvino namespace for benchmark tool

* change readme wording

* remove duplicated  README.md
2021-07-19 11:57:51 +03:00
Ilya Lavrenov
fc7f80a34e CVS-34900: updated pugixml to v1.11.4 (#6301)
* Added pugixml as submodule

* CVS-34900: updated pugixml to v1.11.4

* Fixed link with pugixml

* USe pugixml::static

* Try to fix bug

* Removed GITHUB_PULL_REQUEST

* Replaced  OpenVINO_MAIN_SOURCE_DIR -> OpenVINO_SOURCE_DIR

* Removed some usages of IE_MAIN_SOURCE_DIR

* Use ngraph target directly
2021-07-02 11:36:31 +03:00
Ilya Lavrenov
a99343f4eb Python tools (#6067)
* Removed useless lines

* Enable find PythonInterp only if we ENABLE_PYTHON

* Enable docs only if python interp is found
2021-06-08 11:00:02 +03:00
Ilya Lavrenov
1fa225e7bf Python in OpenVINO: improvements (#6027)
* enable make clean to remove ie_wheel artifacts

* ./setup.py:132:1: E302 expected 2 blank lines

* fix CI build issue

* Removed not-needed components from ie_wheel

* Use explicit python3 vresion in ngraph pythpn

* Use python3 everywhere

* Reuse python3 more

* Added function to build with Py_LIMITED_API

* Sync 2 cmake python modules

* Fix for tools

* Fixed typo

* Enable python by default

* Enable python build iff python-dev is found

* More migration to Python3_VERSION

* Install wheel requirements

* Fixed ngraph Python separate build

* Fixed cython compilation

* Revert to old packages

* Added suffix

* Specify python version explicitly

* Don't depend on python interp to build python itself

* More improvements

* Revert offline transformations back to ie_wheel

* Refactoring

* Trying to build wheel independently on C++ runtime

* Build wheel only with main OpenVINO

* Fixed typo in test_utils cmake lists

* Adding link stage

* small fix

* git diff

* Try to fix python tests

Co-authored-by: Sergey Lyubimtsev <sergey.lyubimtsev@intel.com>
2021-06-07 10:52:48 +03:00
Nico Galoppo
3c93548163 Fix python_tools benchmark installation location (#5539)
* Fix python_tools benchmark installation location

Before this fix, when running "make install", the benchmark python files
would be installed under <python_dest_dir>/openvino/tools, instead of
<python_dest_dir>/openvino/tools/benchmark. This commit fixes this.

* Alternative implementation
2021-05-12 14:35:50 +03:00
Sergey Lyubimtsev
5912c983d4 Enable make install for openvino/tools folder (#5326)
* enable make install for openvino/tools folder

* fix component name

* use python_tools as component name

* update ie_cpack_add_component name

* enable CPack for python tools

* use find_package(PythonInterp)
2021-04-26 18:06:39 +03:00