简体   繁体   English

安装OpenVino会产生与张量流有关的错误

[英]Installing OpenVino generate error related to tensor-flow

I a trying to install the latest version of Opevino on my system. 我试图在我的系统上安装Opevino的最新版本。 I am following this documentation: 我正在关注此文档:
https://software.intel.com/en-us/articles/OpenVINO-Install-Windows https://software.intel.com/zh-CN/articles/OpenVINO-Install-Windows

In the step that I need to run this batch file: install_prerequisites.bat 在我需要运行此批处理文件的步骤中:install_prerequisites.bat

and I am getting this error: 我收到此错误:

C:\local\Intel\computer_vision_sdk\deployment_tools\model_optimizer\install_prerequisites>install_prerequisites.bat
Python 3.7.1
ECHO is off.
Collecting tensorflow==1.9.0 (from -r ..\requirements.txt (line 1))
  Could not find a version that satisfies the requirement tensorflow==1.9.0 (from -r ..\requirements.txt (line 1)) (from versions: )
No matching distribution found for tensorflow==1.9.0 (from -r ..\requirements.txt (line 1))
*****************************************************************************************
Warning: please expect that Model Optimizer conversion might be slow.
You can boost conversion speed by installing protobuf-*.egg located in the
"model-optimizer\install_prerequisites" folder or building protobuf library from sources.
For more information please refer to Model Optimizer FAQ, question #80.

How can I fix this error? 如何解决此错误?

As a side note, when I searched for this error, I found that it relates to PIP 18 and tensorflow: TensorFlow not found using pip 附带说明一下,当我搜索此错误时,我发现它与PIP 18和tensorflow有关: 使用pip找不到TensorFlow

OpenVINO不支持Python 3.7,这也可以解释您的问题。

Python 3.6.5 with pip is required to run the Model Optimizer. 运行模型优化程序需要具有pip的Python 3.6.5。 Use these steps to install the correct version of the Python software. 使用以下步骤安装正确版本的Python软件。

Go to the Python 3.6.5 download page and click Windows x86-64 executable installer to download the executable file. 转到Python 3.6.5下载页面,然后单击Windows x86-64可执行安装程序以下载可执行文件。 The file is saved as python-3.6.5-amd64.exe in your Downloads folder. 该文件另存为python-3.6.5-amd64.exe在“下载”文件夹中。

Browse to download Python 浏览下载Python

Double-click the file to launch the installation. 双击该文件以启动安装。

Make sure the top of the screen shows Python 3.6.5 (64-bit). 确保屏幕顶部显示Python 3.6.5(64位)。

IMPORTANT: At the bottom of the install screen, select Add Python 3.6 to PATH. 重要信息:在安装屏幕的底部,选择Add Python 3.6 to PATH。

Install Python and select environment variable option 安装Python并选择环境变量选项

Click Install Now near the top of the install screen and let the installation complete. 单击安装屏幕顶部附近的立即安装,然后完成安装。

When the installation finishes, click Close. 安装完成后,单击“关闭”。

Please verify that, the above steps are done. 请确认以上步骤已完成。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM