openvino/tools
Ekaterina Aidova 82ff7e17c9
use input parameter for building example_inputs (#17207)
* use input parameter for building example_inputs

* Update tools/mo/openvino/tools/mo/moc_frontend/pytorch_frontend_utils.py
2023-04-26 17:58:06 +04:00
..
benchmark_tool State single value is uese (#15458) 2023-04-26 14:50:03 +04:00
compile_tool State single value is uese (#15458) 2023-04-26 14:50:03 +04:00
deployment_manager Deployment Manager: updated configs with 2023.0.0 layout and versions (#16633) 2023-03-29 19:34:26 +02:00
legacy/benchmark_app [DOCS] OpenVINO Wiki links update - master (#16219) 2023-03-10 16:16:14 +01:00
mo use input parameter for building example_inputs (#17207) 2023-04-26 17:58:06 +04:00
openvino_dev [PyOV] Move environment markers to `requirements.txt` files (#17113) 2023-04-25 13:25:21 +00:00
pot DOCS shift to rst - Quantizing Models with Accuracy Control, Documentation, Get Started & Learn OpenVINO (#16997) 2023-04-25 16:06:34 +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.