Updated PyPi documentation (#4423)
* Updated documentation * Added documentation for dev package * Added separate documents for PyPI Co-authored-by: Andrey Zaytsev <andrey.zaytsev@intel.com>
This commit is contained in:
parent
a719534889
commit
aadf4f4da6
@ -1,82 +1,15 @@
|
||||
# Install Intel® Distribution of OpenVINO™ Toolkit from PyPI Repository {#openvino_docs_install_guides_installing_openvino_pip}
|
||||
|
||||
This guide provides installation steps for the Intel® distribution of OpenVINO™ toolkit distributed through the PyPI repository.
|
||||
OpenVINO™ toolkit is a comprehensive toolkit for quickly developing applications and solutions that solve a variety of tasks including emulation of human vision, automatic speech recognition, natural language processing, recommendation systems, and many others. Based on latest generations of artificial neural networks, including Convolutional Neural Networks (CNNs), recurrent and attention-based networks, the toolkit extends computer vision and non-vision workloads across Intel® hardware, maximizing performance. It accelerates applications with high-performance, AI and deep learning inference deployed from edge to cloud.
|
||||
|
||||
## System Requirements
|
||||
Intel® Distribution of OpenVINO™ Toolkit provides the following packages available for installation through the PyPI repository:
|
||||
|
||||
* [Python* distribution](https://www.python.org/) 3.6 or 3.7
|
||||
* Operating Systems:
|
||||
- Ubuntu* 18.04 long-term support (LTS), 64-bit
|
||||
- macOS* 10.15.x versions
|
||||
- Windows 10*, 64-bit Pro, Enterprise or Education (1607 Anniversary Update, Build 14393 or higher) editions
|
||||
- Windows Server* 2016 or higher
|
||||
|
||||
## Install the Runtime Package Using the PyPI Repository
|
||||
|
||||
### Step 1. Set up and update pip to the highest version
|
||||
|
||||
Run the command below:
|
||||
```sh
|
||||
python3 -m pip install --upgrade pip
|
||||
```
|
||||
|
||||
### Step 2. Install the Intel® distribution of OpenVINO™ toolkit
|
||||
|
||||
Run the command below:
|
||||
```sh
|
||||
pip install openvino
|
||||
```
|
||||
|
||||
### Step 3. Add PATH to environment variables
|
||||
|
||||
Run a command for your operating system:
|
||||
- Ubuntu 18.04 and macOS:
|
||||
```sh
|
||||
export LD_LIBRARY_PATH=<library_dir>:${LD_LIBRARY_PATH}
|
||||
```
|
||||
- Windows* 10:
|
||||
```sh
|
||||
set PATH=<library_dir>;%PATH%
|
||||
```
|
||||
To find `library_dir`:
|
||||
**Ubuntu, macOS**:
|
||||
- Standard user:
|
||||
```sh
|
||||
echo $(python3 -m site --user-base)/lib
|
||||
```
|
||||
- Root or sudo user:
|
||||
```sh
|
||||
/usr/local/lib
|
||||
```
|
||||
- Virtual environments or custom Python installations (from sources or tarball):
|
||||
```sh
|
||||
echo $(which python3)/../../lib
|
||||
```
|
||||
**Windows**:
|
||||
- Standard Python:
|
||||
```sh
|
||||
python -c "import os, sys; print((os.path.dirname(sys.executable))+'\Library\\bin')"
|
||||
```
|
||||
- Virtual environments or custom Python installations (from sources or tarball):
|
||||
```sh
|
||||
python -c "import os, sys; print((os.path.dirname(sys.executable))+'\..\Library\\bin')"
|
||||
```
|
||||
|
||||
### Step 4. Verify that the package is installed
|
||||
|
||||
Run the command below:
|
||||
```sh
|
||||
python3 -c "import openvino"
|
||||
```
|
||||
|
||||
Now you are ready to develop and run your application.
|
||||
* Runtime package with the Inference Engine inside: [https://pypi.org/project/openvino/](https://pypi.org/project/openvino/).
|
||||
* Developers package that includes the runtime package as a dependency, Model Optimizer, Accuracy Checker and Post-Training Optimization Tool: [https://pypi.org/project/openvino-dev](https://pypi.org/project/openvino-dev).
|
||||
|
||||
## Additional Resources
|
||||
|
||||
- [Intel® Distribution of OpenVINO™ toolkit](https://software.intel.com/en-us/openvino-toolkit).
|
||||
- [OpenVINO™ toolkit online documentation](https://docs.openvinotoolkit.org).
|
||||
- [Model Optimizer Developer Guide](../MO_DG/Deep_Learning_Model_Optimizer_DevGuide.md).
|
||||
- [Inference Engine Developer Guide](../IE_DG/Deep_Learning_Inference_Engine_DevGuide.md).
|
||||
- For more information on Sample Applications, see the [Inference Engine Samples Overview](../IE_DG/Samples_Overview.md).
|
||||
- [Intel® Distribution of OpenVINO™ toolkit PIP home page](https://pypi.org/project/openvino/)
|
||||
|
||||
- [Inference Engine Samples Overview](../IE_DG/Samples_Overview.md).
|
||||
|
88
docs/install_guides/pypi-openvino-dev.md
Normal file
88
docs/install_guides/pypi-openvino-dev.md
Normal file
@ -0,0 +1,88 @@
|
||||
# Intel® Distribution of OpenVINO™ Toolkit Developer Package
|
||||
|
||||
> **LEGAL NOTICE**: Your use of this software and any required dependent software (the
|
||||
“Software Package”) is subject to the terms and conditions of the [software license agreements](https://software.intel.com/en-us/license/eula-for-intel-software-development-products) for the Software Package, which may also include notices, disclaimers, or
|
||||
license terms for third party or open source software included in or with the Software Package, and your use indicates your acceptance of all such terms. Please refer to the “third-party-programs.txt” or other similarly-named text file included with the Software Package for additional details.
|
||||
|
||||
## Introduction
|
||||
|
||||
OpenVINO™ toolkit is a comprehensive toolkit for quickly developing applications and solutions that solve a variety of tasks including emulation of human vision, automatic speech recognition, natural language processing, recommendation systems, and many others. Based on latest generations of artificial neural networks, including Convolutional Neural Networks (CNNs), recurrent and attention-based networks, the toolkit extends computer vision and non-vision workloads across Intel® hardware, maximizing performance. It accelerates applications with high-performance, AI and deep learning inference deployed from edge to cloud.
|
||||
|
||||
**The Developer Package Includes the Following Components Installed by Default:**
|
||||
|
||||
| Component | Description |
|
||||
|-----------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| [Model Optimizer](https://docs.openvinotoolkit.org/latest/openvino_docs_MO_DG_Deep_Learning_Model_Optimizer_DevGuide.html) | This tool imports, converts, and optimizes models that were trained in popular frameworks to a format usable by Intel tools, especially the Inference Engine. <br>Popular frameworks include Caffe\*, TensorFlow\*, MXNet\*, and ONNX\*. |
|
||||
| Additional Tools | A set of tools to work with your models including [Accuracy Checker utility](https://docs.openvinotoolkit.org/latest/omz_tools_accuracy_checker_README.html), [Post-Training Optimization Tool](https://docs.openvinotoolkit.org/latest/pot_README.html) |
|
||||
|
||||
**The Runtime Package Includes the Following Components Installed by Dependency:**
|
||||
|
||||
| Component | Description |
|
||||
|-----------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| [Inference Engine](https://pypi.org/project/openvino) | This is the engine that runs the deep learning model. It includes a set of libraries for an easy inference integration into your applications. |
|
||||
|
||||
|
||||
## System Requirements
|
||||
|
||||
* [Python* distribution](https://www.python.org/) 3.6, 3.7, 3.8
|
||||
* Supported Operating Systems:
|
||||
- Ubuntu* 18.04 long-term support (LTS), 64-bit (python 3.6 or 3.7)
|
||||
- Ubuntu* 20.04 long-term support (LTS), 64-bit (python 3.6 or 3.7)
|
||||
- macOS* 10.15.x versions
|
||||
- Windows 10*, 64-bit Pro, Enterprise or Education (1607 Anniversary Update, Build 14393 or higher) editions
|
||||
- Windows Server* 2016 or higher
|
||||
> NOTE: This package can be installed on other versions of Linux and Windows OSes, but only the specific versions above are fully validated.
|
||||
|
||||
## Install the Developer Package
|
||||
|
||||
### Step 1. Set Up Python Virtual Environment
|
||||
|
||||
To avoid dependency conflicts, use a virtual environment. Skip this
|
||||
step only if you do want to install all dependencies globally.
|
||||
|
||||
Create virtual environment:
|
||||
```sh
|
||||
python -m pip install --user virtualenv
|
||||
python -m venv openvino_env --system-site-packages
|
||||
```
|
||||
|
||||
Activate virtual environment:<br>
|
||||
On Linux and macOS:
|
||||
```sh
|
||||
source openvino_env/bin/activate
|
||||
```
|
||||
On Windows:
|
||||
```sh
|
||||
openvino_env\Scripts\activate
|
||||
```
|
||||
|
||||
### Step 2. Set Up and Update pip to the Highest Version
|
||||
|
||||
Run the command below:
|
||||
```sh
|
||||
python -m pip install --upgrade pip
|
||||
```
|
||||
|
||||
### Step 3. Install the Package
|
||||
|
||||
Run the command below: <br>
|
||||
|
||||
```sh
|
||||
pip install openvino-dev
|
||||
```
|
||||
|
||||
### Step 4. Verify that the Package is Installed
|
||||
|
||||
Run the command below:
|
||||
```sh
|
||||
python -c "pot -h"
|
||||
```
|
||||
|
||||
You will see the help message for Post-Training Optimization Tool if installation finished successfully.
|
||||
|
||||
## Additional Resources
|
||||
|
||||
- Intel® Distribution of OpenVINO™ toolkit home page: [https://software.intel.com/en-us/openvino-toolkit](https://software.intel.com/en-us/openvino-toolkit)
|
||||
- OpenVINO™ toolkit online documentation: [https://docs.openvinotoolkit.org](https://docs.openvinotoolkit.org)
|
||||
|
||||
|
84
docs/install_guides/pypi-openvino-rt.md
Normal file
84
docs/install_guides/pypi-openvino-rt.md
Normal file
@ -0,0 +1,84 @@
|
||||
# Intel® Distribution of OpenVINO™ Toolkit Runtime Package
|
||||
|
||||
> **LEGAL NOTICE**: Your use of this software and any required dependent software (the
|
||||
“Software Package”) is subject to the terms and conditions of the [software license agreements](https://software.intel.com/en-us/license/eula-for-intel-software-development-products) for the Software Package, which may also include notices, disclaimers, or
|
||||
license terms for third party or open source software included in or with the Software Package, and your use indicates your acceptance of all such terms. Please refer to the “third-party-programs.txt” or other similarly-named text file included with the Software Package for additional details.
|
||||
|
||||
## Introduction
|
||||
|
||||
OpenVINO™ toolkit is a comprehensive toolkit for quickly developing applications and solutions that solve a variety of tasks including emulation of human vision, automatic speech recognition, natural language processing, recommendation systems, and many others. Based on latest generations of artificial neural networks, including Convolutional Neural Networks (CNNs), recurrent and attention-based networks, the toolkit extends computer vision and non-vision workloads across Intel® hardware, maximizing performance. It accelerates applications with high-performance, AI and deep learning inference deployed from edge to cloud.
|
||||
|
||||
The Intel® Distribution of OpenVINO™ toolkit for Linux\*:
|
||||
- Enables CNN-based deep learning inference on the edge
|
||||
- Supports heterogeneous execution across Intel® CPU, Intel® Integrated Graphics, Intel® Neural Compute Stick 2, and Intel® Vision Accelerator Design with Intel® Movidius™ VPUs
|
||||
- Speeds time-to-market via an easy-to-use library of computer vision functions and pre-optimized kernels
|
||||
|
||||
**The Runtime Package Includes the Following Components Installed by Default:**
|
||||
|
||||
| Component | Description |
|
||||
|-----------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| [Inference Engine](https://docs.openvinotoolkit.org/latest/openvino_docs_IE_DG_inference_engine_intro.html) | This is the engine that runs the deep learning model. It includes a set of libraries for an easy inference integration into your applications. |
|
||||
|
||||
## System Requirements
|
||||
|
||||
* [Python* distribution](https://www.python.org/) 3.6, 3.7, 3.8
|
||||
* Supported Operating Systems:
|
||||
- Ubuntu* 18.04 long-term support (LTS), 64-bit (python 3.6 or 3.7)
|
||||
- Ubuntu* 20.04 long-term support (LTS), 64-bit (python 3.6 or 3.7)
|
||||
- macOS* 10.15.x version
|
||||
- Windows 10*, 64-bit Pro, Enterprise or Education (1607 Anniversary Update, Build 14393 or higher) editions
|
||||
- Windows Server* 2016 or higher
|
||||
> NOTE: This package can be installed on other versions of Linux and Windows OSes, but only the specific versions above are fully validated
|
||||
|
||||
## Install the Runtime Package
|
||||
|
||||
### Step 1. Set Up Python Virtual Environment
|
||||
|
||||
To avoid dependency conflicts, use a virtual environment. Skip this
|
||||
step only if you do want to install all dependencies globally.
|
||||
|
||||
Create virtual environment:
|
||||
```sh
|
||||
python -m pip install --user virtualenv
|
||||
python -m venv openvino_env --system-site-packages
|
||||
```
|
||||
|
||||
Activate virtual environment:<br>
|
||||
On Linux and macOS:
|
||||
```sh
|
||||
source openvino_env/bin/activate
|
||||
```
|
||||
On Windows:
|
||||
```sh
|
||||
openvino_env\Scripts\activate
|
||||
```
|
||||
|
||||
### Step 2. Set Up and Update pip to the Highest Version
|
||||
|
||||
Run the command below:
|
||||
```sh
|
||||
python -m pip install --upgrade pip
|
||||
```
|
||||
|
||||
### Step 3. Install the Package
|
||||
|
||||
Run the command below: <br>
|
||||
|
||||
```sh
|
||||
pip install openvino
|
||||
```
|
||||
|
||||
### Step 4. Verify that the Package is Installed
|
||||
|
||||
Run the command below:
|
||||
```sh
|
||||
python -c "from openvino.inference_engine import IECore"
|
||||
```
|
||||
|
||||
You will not see any error messages if installation finished successfully.
|
||||
|
||||
## Additional Resources
|
||||
|
||||
- [Intel® Distribution of OpenVINO™ toolkit](https://software.intel.com/en-us/openvino-toolkit).
|
||||
- [OpenVINO™ toolkit online documentation](https://docs.openvinotoolkit.org).
|
||||
|
Loading…
Reference in New Issue
Block a user