Files
openvino/docs/install_guides/installing-model-dev-tools.md
Yuan Xu 3b24ed032a Yuan install guide 22/1 (#10786)
* Add Overview page

* Revert "Add Overview page"

* fix errors & formatting

* fix article usage according to the styles

* fix errors

* update according to PXT comments
2022-03-04 19:32:10 +03:00

3.5 KiB

Install OpenVINO™ Development Tools

If you want to download, convert, optimize and tune pre-trained deep learning models, install OpenVINO™ Development Tools, which provides the following tools:

  • Model Optimizer
  • Benchmark Tool
  • Accuracy Checker and Annotation Converter
  • Post-Training Optimization Tool
  • Model Downloader and other Open Model Zoo tools

Note

: From the 2022.1 release, the OpenVINO™ Development Tools can only be installed via PyPI.

For C++ Developers

Note the following things:

  • To install OpenVINO Development Tools, you must have OpenVINO Runtime installed first. You can install OpenVINO Runtime through an installer (Linux, Windows, or macOS), APT for Linux or YUM for Linux.
  • Ensure that the version of OpenVINO Development Tools you are installing matches that of OpenVINO Runtime.

Use either of the following ways to install OpenVINO Development Tools:

  1. After you have installed OpenVINO Runtime from an installer, APT or YUM repository, you can find a set of requirements files in the <INSTALLDIR>\tools\ directory. Select the most suitable ones to use.
  2. Install the same version of OpenVINO Development Tools by using the requirements files. To install mandatory requirements only, use the following command:
    pip install -r <INSTALLDIR>\tools\requirements.txt
    
  3. Make sure that you also install your additional frameworks with the corresponding requirements files. For example, if you are using a TensorFlow model, use the following command to install requirements for TensorFlow:
pip install -r <INSTALLDIR>\tools\requirements_tensorflow2.txt

Alternative: Install from the openvino-dev Package

You can also use the following command to install the latest package version available in the index:

pip install openvino-dev[EXTRAS]

where the EXTRAS parameter specifies one or more deep learning frameworks via these values: caffe, kaldi, mxnet, onnx, pytorch, tensorflow, tensorflow2. Make sure that you install the corresponding frameworks for your models.

If you have installed OpenVINO Runtime via the installer, to avoid version conflicts, specify your version in the command. For example:

pip install openvino-dev[tensorflow2,mxnet,caffe]==2022.1

Note

: For TensorFlow, use the tensorflow2 value as much as possible. The tensorflow value is provided only for compatibility reasons.

For more details, see https://pypi.org/project/openvino-dev/.

For Python Developers

You can use the following command to install the latest package version available in the index:

pip install openvino-dev[EXTRAS]

where the EXTRAS parameter specifies one or more deep learning frameworks via these values: caffe, kaldi, mxnet, onnx, pytorch, tensorflow, tensorflow2. Make sure that you install the corresponding frameworks for your models.

For example, to install and configure the components for working with TensorFlow 2.x, MXNet and Caffe, use the following command:

pip install openvino-dev[tensorflow2,mxnet,caffe]

Note

: For TensorFlow, use the tensorflow2 value as much as possible. The tensorflow value is provided only for compatibility reasons.

For more details, see https://pypi.org/project/openvino-dev/.