Skip to content
This repository has been archived by the owner on Jul 1, 2024. It is now read-only.

Latest commit

 

History

History
52 lines (35 loc) · 3.07 KB

INSTALL.md

File metadata and controls

52 lines (35 loc) · 3.07 KB

English | 简体中文

Installation using Pre-Built Packages

OpenVINO™ integration with TensorFlow is released for Linux, macOS, and Windows. You can choose one of the following methods based on your requirements.

Linux

Install OpenVINO™ integration with TensorFlow PyPi release

  • Includes pre-built libraries of OpenVINO™ version 2022.3.0. The users do not have to install OpenVINO™ separately

  • Supports Intel® CPUs, Intel® integrated and discrete GPUs

    pip3 install -U pip
    pip3 install tensorflow==2.9.3
    pip3 install openvino-tensorflow==2.3.0
    

    The openvino-tensorflow PyPi package is cross-compatible with PATCH versions of TensorFlow. For example, openvino-tensorflow wheel for TF 2.9.2 would work with any future PATCH versions like TF 2.9.2, and 2.9.3


Install OpenVINO™ integration with TensorFlow PyPi release alongside the Intel® Distribution of OpenVINO™ Toolkit for VAD-M Support

  • Compatible with OpenVINO™ version 2022.3.0
  • Supports it also supports Intel® CPUs, Intel® integrated and discrete GPUs
  • To use it:
    1. Install tensorflow and openvino-tensorflow packages from PyPi as explained in the section above

    2. Download & install Intel® Distribution of OpenVINO™ Toolkit 2022.3.0 release along with its dependencies from (https://software.intel.com/en-us/openvino-toolkit/download).

    3. Initialize the OpenVINO™ environment by running the setupvars.sh located in <openvino_install_directory> using the command below. This step needs to be executed in the same environment which is used for the TensorFlow model inference using openvino-tensorflow.

      source setupvars.sh

macOS

Install OpenVINO™ integration with TensorFlow PyPi release

  • Includes pre-built libraries of OpenVINO™ version 2022.3.0. The users do not have to install OpenVINO™ separately

  • Supports Intel® CPUs, Intel® integrated and discrete GPUs

    pip3 install -U pip
    pip3 install tensorflow==2.9.3
    pip3 install openvino-tensorflow==2.3.0
    

Windows

Install OpenVINO™ integration with TensorFlow PyPi release alongside TensorFlow released in Github

  • TensorFlow wheel for Windows from PyPi does't have all the API symbols enabled which are required for OpenVINO™ integration with TensorFlow. User needs to install the TensorFlow wheel from the assets of the Github release page

  • Includes pre-built libraries of OpenVINO™ version 2022.3.0. The users do not have to install OpenVINO™ separately

  • Supports Intel® CPUs, Intel® integrated and discrete GPUs

    pip3.9 install -U pip
    pip3.9 install https://github.com/openvinotoolkit/openvino_tensorflow/releases/download/v2.2.0/tensorflow-2.9.2-cp39-cp39-win_amd64.whl
    pip3.9 install openvino-tensorflow==2.2.0