openvino/tools
Anastasiia Pnevskaia b630bffa14
Switch telemetry to opt-out approach. (#20290)
* Switch telemetry to opt-out approach.

* Minor correction.

* Small correction.
2023-10-10 13:14:45 +04:00
..
benchmark_tool Changing file structure of Learn Openvino section (#20337) 2023-10-10 08:34:53 +02:00
deployment_manager [PyOV] Drop Python 3.7 in OpenVINO Runtime (#19534) 2023-10-06 08:28:27 +00:00
mo Switch telemetry to opt-out approach. (#20290) 2023-10-10 13:14:45 +04:00
openvino_dev Moved cmake functions, variables to API 2.0 naming style (#20281) 2023-10-09 22:30:32 +04:00
ovc Switch telemetry to opt-out approach. (#20290) 2023-10-10 13:14:45 +04:00
pot Changing file structure of POT Tool Examples section (#20213) 2023-10-03 14:41:37 +02:00
.gitignore Align folder structure for Benchmark Tool (#6625) 2021-07-19 11:57:51 +03:00
CMakeLists.txt Removed compile_tool and benchmark_app_legacy from OpenVINO repo (#18350) 2023-07-04 19:35:51 +04:00
README.md fix errors in documentation (#9384) 2022-01-27 19:39:49 +03:00
constraints.txt Switch telemetry to opt-out approach. (#20290) 2023-10-10 13:14:45 +04: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.