【问题标题】:Fail to run OpenVINO demo无法运行 OpenVINO 演示
【发布时间】:2020-10-26 14:23:48
【问题描述】:

我正在尝试将 OpenVINO 安装在自定义位置 (Windows 10)。到目前为止,安装没有错误。但是,当我尝试运行任何示例时,我会得到以下输出:

.\demo_benchmark_app.bat
target_precision = FP16
Python 3.7.0
[setupvars.bat] OpenVINO environment initialized
INTEL_OPENVINO_DIR is set to C:\<user_dir>\openvino\install
Python 3.7.0
ECHO is off.
ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'C:\\<user_dir>\\openvino\\install\\deployment_tools\\demo\\..\\open_model_zoo\\tools\\downloader\\requirements.in'
Error

我没有文件夹..\\open_model_zoo。这应该在安装期间创建吗?我可以在安装后下载和/或创建文件夹吗?

以下是我的安装命令:

cd <user_dir>
mkdir openvino  
cd openvino/  
git clone https://github.com/openvinotoolkit/openvino.git .  
git submodule update --init --recursive  
mkdir build  
mkdir install  
cd build  
cmake -G "Visual Studio 16 2019" -A x64 -DCMAKE_BUILD_TYPE=Release -DNGRAPH_ONNX_IMPORT_ENABLE=ON -DCMAKE_INSTALL_PREFIX:PATH="C:\<user_dir>\openvino\install" ..
cmake --build . --config Release  
cmake --install . --config Release  

【问题讨论】:

    标签: openvino


    【解决方案1】:
    推荐的答案 Intel

    Open Model Zoo 是一个单独的文件夹。它不是在“从源代码构建”安装期间创建的。您可以从此 GitHub 链接克隆 Open Model Zoo 存储库:https://github.com/openvinotoolkit/open_model_zoo.git。

    然后,将克隆的 repo 放在 deployment_tools 目录中。

    【讨论】:

    • 这绝对有很大帮助。但是,我现在在运行演示脚本时遇到此错误:'install_prerequisites_caffe.bat' is not recognized as an internal or external command, operable program or batch file.。此 bat 文件位于 model-optimizer\install_prerequisites 文件夹中。但是,在演示之前运行它并不能消除错误。是否应该将此文件夹移动和/或复制到安装目录的某个位置?
    • 您的“安装”目录中似乎缺少“install_prerequisites_caffe.bat”。我建议您重建并重新安装 OpenVINO 工具包。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2019-10-07
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2019-01-13
    • 1970-01-01
    • 2012-08-21
    相关资源
    最近更新 更多