* [MO] Clean-up MO cmd-line options Remove the following Model Optimizer deprecated options that are no longer used for several releases: disable_fusing, disable_gfusing, generate_deprecated_IR_V7, legacy_ir_generation, keep_shape_ops, move_to_preprocess Deprecate through CLI the following options for which functionality triggered from POT or automatically: disable_weights_compression, disable_nhwc_to_nchw, disable_resnet_optimization, finegrain_fusing. Correct and extend description of each MO option to be printed during model conversion. Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com> * Correct documentation about input shapes Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com> * Perform final corrections in documentation Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com> * Remove legacy_ir_generation overall Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com> * Clean-up tests from deprecated options Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com> * Recover disable_fusing option as deprecated Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com> * Fix keys for static_shape and extensions Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com> * Remove extension key that does not work Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com> * Apply feedback: remove disable_gfusing, correct docs Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com> * Recover disable_fusing option for unit-tests Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com> * Apply feedback for documentation Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com> * Apply feedback about parameters use_legacy_frontend and use_new_frontend Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com> * DO minor fixes for indentation of MO logs Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com> * Revert log.error for fallback message Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com> * Revert disable_weights_compression parameter for tests Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
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
--useroption for allpipcommands. - 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.