永久設定 OpenVINO™ Windows 環境變數工具組® 10

文件

安裝與設定

000033440

2021 年 07 月 30 日

您可以以手動方式在 Windows OpenVINO™ 10 中永久設定®環境變數。在 Windows® 10 系統中,請前往 控制台 > 系統與安全性 >系統>進>系統設定 。在 系統變數下新增 以下為 變數,其對應 如下:

變數名稱變數值筆記
INTEL_OPENVINO_DIRC:\Program Files (x86)\Intel\openvino_2021.4.582您的工具OpenVINO™工具集安裝途徑
GNA_DIR%INTEL_OPENVINO_DIR%\deployment_tools\inference_engine\external\gna\lib 
INTEL_CVSDK_DIR%INTEL_OPENVINO_DIR% 
ngraph_DIR%INTEL_OPENVINO_DIR%\deployment_tools\ngraph\cmake 
OpenCV_DIR%INTEL_OPENVINO_DIR%\opencv\cmake 
OPENMP_DIR%INTEL_OPENVINO_DIR%\deployment_tools\inference_engine\external\omp\lib 
OPENVINO_LIB_PATHS%INTEL_OPENVINO_DIR%\deployment_tools\ngraph\lib
%INTEL_OPENVINO_DIR%\deployment_tools\inference_engine\external\tbb\bin
%INTEL_OPENVINO_DIR%\deployment_tools\inference_engine\bin\intel64\發行版本
%INTEL_OPENVINO_DIR%\deployment_tools\inference_engine\bin\intel64\Debug
%INTEL_OPENVINO_DIR%\deployment_tools\inference_engine\external\hddl\bin
%INTEL_OPENVINO_DIR%\deployment_tools\inference_engine\external\omp\lib
%INTEL_OPENVINO_DIR%\deployment_tools\inference_engine\external\gna\lib
輸入至 OPENVINO_LIB_PATHS
InferenceEngine_DIR%INTEL_OPENVINO_DIR%\deployment_tools\inference_engine\share 
HDDL_INSTALL_DIR %INTEL_OPENVINO_DIR%\deployment_tools\inference_engine\external\hddl 
PYTHONPATH%INTEL_OPENVINO_DIR%\deployment_tools\tools\post_training_optimization_toolkit
%INTEL_OPENVINO_DIR%\deployment_tools\open_model_zoo\tools\accuracy_checker
%INTEL_OPENVINO_DIR%\python\python3.8
%INTEL_OPENVINO_DIR%\python\python3
%INTEL_OPENVINO_DIR%\deployment_tools\model_optimizer
檢查 您的 Python* 版本並 調整 專案
%INTEL_OPENVINO_DIR% 
SCRIPT_NAMEsetupvars.bat 
TBB_DIR%INTEL_OPENVINO_DIR%\deployment_tools\inference_engine\external\tbb\cmake
 
 

您還需要在系統變數下編輯 Path 變數新增 下列專案:

%INTEL_OPENVINO_DIR%\deployment_tools\ngraph\lib
%INTEL_OPENVINO_DIR%\deployment_tools\inference_engine\external\tbb\bin
%INTEL_OPENVINO_DIR%\deployment_tools\inference_engine\bin\intel64\Release
%INTEL_OPENVINO_DIR%\deployment_tools\inference_engine\bin\intel64\Debug
%INTEL_OPENVINO_DIR%\deployment_tools\inference_engine\external\hddl\bin
%INTEL_OPENVINO_DIR%\deployment_tools\inference_engine\external\omp\lib
%INTEL_OPENVINO_DIR%\deployment_tools\inference_engine\external\gna\lib
%INTEL_OPENVINO_DIR%\deployment_tools\model_optimizer
%INTEL_OPENVINO_DIR%\opencv\bin

 

注意這適用于 2021.4 版 OpenVINO™工具組。
 變更生效可能需要系統重新開機。