openvino/tools
Przemyslaw Wysocki b63e8433b0
Update labeler and numpy (#18136)
2023-06-19 14:21:10 +00:00
..
benchmark_tool [DOCS] `convert_model()` as a default conversion path (#17454) 2023-05-31 17:53:22 +02:00
compile_tool Vcpkg conan fixes (#17765) 2023-05-29 15:40:51 +04:00
deployment_manager Fixes for deployment manager (#17899) 2023-06-08 18:31:55 +04:00
legacy/benchmark_app Deprecate legacy Core and Allocator (#17646) 2023-05-26 07:06:03 +04:00
mo Update labeler and numpy (#18136) 2023-06-19 14:21:10 +00:00
openvino_dev Vcpkg conan fixes (#17765) 2023-05-29 15:40:51 +04:00
pot [DOCS] Fixing formatting issues in articles (#17994) 2023-06-13 07:59:27 +02:00
.gitignore Align folder structure for Benchmark Tool (#6625) 2021-07-19 11:57:51 +03:00
CMakeLists.txt Vcpkg conan fixes (#17765) 2023-05-29 15:40:51 +04:00
README.md fix errors in documentation (#9384) 2022-01-27 19:39:49 +03:00
constraints.txt Update networkx requirement from <=2.8.8 to <3.1.0 in /tools/mo (#15293) 2023-06-01 14:11:05 +02:00

README.md

OpenVINO™ Python* development tools

General

OpenVINO includes following tools:

  • openvino.tools.benchmark

Please, refer to https://docs.openvino.ai for details.

Installation

Prerequisites

Install prerequisites first:

1. Python

Install Python prerequisites:

Run following command to install these prerequisites on Ubuntu*:

sudo apt-get install python3 python3-dev python3-setuptools python3-pip

Python setuptools and python package manager (pip) install packages into system directory by default. There are several options:

  • work inside [virtual environment][virtualenv] (best solution).
  • use --user option for all pip commands.
  • install all dependencies with sudo permissions.

In order to use virtual environment you should install it:

python3 -m pip install virtualenv
python3 -m virtualenv -p `which python3` <directory_for_environment>

Before starting to work inside virtual environment, it should be activated:

source <directory_for_environment>/bin/activate

Virtual environment can be deactivated using command

deactivate

2. Install packages

You can install tools by specifying path to tool with setup.py in pip install command:

python3 -m pip install <tools_folder>/

For example, to install Benchmark Tool, use the following command:

python3 -m pip install benchmark_tool/

Configuration

Each subpackage has specific configuration. Please, refer to specific subpackage documentation for details.