openvino/tools
Ilya Churaev a72f17dec0
Fixed compile_tool install (#17666)
2023-05-23 10:53:22 +04:00
..
benchmark_tool benchmark_app/py fill batch dim correctly (#17417) 2023-05-10 10:45:19 +00:00
compile_tool Fixed compile_tool install (#17666) 2023-05-23 10:53:22 +04:00
deployment_manager Upgrade vresions to 2023.1 in packaging (#17626) 2023-05-19 18:07:05 +04:00
legacy/benchmark_app Put mingw on gcc code path (#16101) 2023-05-17 00:47:55 +04:00
mo Build wheel arm64 packages using cross-compilation (#17635) 2023-05-23 00:31:35 +04:00
openvino_dev [PyOV] Move environment markers to `requirements.txt` files (#17113) 2023-04-25 13:25:21 +00:00
pot [DOCS] Update Interactive Tutorials (#17598) 2023-05-22 14:45:54 +02:00
.gitignore Align folder structure for Benchmark Tool (#6625) 2021-07-19 11:57:51 +03:00
CMakeLists.txt Made plugins.hpp generation to be CONFIG dependent (#17139) 2023-04-24 14:48:45 +04:00
README.md fix errors in documentation (#9384) 2022-01-27 19:39:49 +03:00
constraints.txt [PyOV] Move environment markers to `requirements.txt` files (#17113) 2023-04-25 13:25:21 +00: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.