Community
cancel
Showing results for 
Search instead for 
Did you mean: 
sky_lu
Beginner
306 Views

Error when trying demo

Hi, I have installed Openvino recently and when I try to run the demo_benchmark_app.bat to test my installation, it keeps telling me the error like below.

C:\Program Files (x86)\IntelSWTools\openvino_2020.4.318\deployment_tools\demo>conda activate tf_gpu

(tf_gpu) C:\Program Files (x86)\IntelSWTools\openvino_2020.4.318\deployment_tools\demo>demo_benchmark_app.bat -d cpu
target = cpu
target_precision = FP16
'where' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
Warning: libmmd.dll couldn't be found in %PATH%. Please check if the redistributable package for Intel(R) C++ Compiler is installed and the library path is added to the PATH environment variable. System reboot can be required to update the system environment.
[setupvars.bat] OpenVINO environment initialized
INTEL_OPENVINO_DIR is set to C:\Program Files (x86)\IntelSWTools\openvino_2020.4.318
ECHO 处于关闭状态。
Requirement already satisfied: pyyaml in c:\users\lenovo\appdata\roaming\python\python36\site-packages (from -r C:\Program Files (x86)\IntelSWTools\openvino_2020.4.318\deployment_tools\demo\..\open_model_zoo\tools\downloader\requirements.in (line 1)) (5.3.1)
Requirement already satisfied: requests in c:\users\lenovo\appdata\roaming\python\python36\site-packages (from -r C:\Program Files (x86)\IntelSWTools\openvino_2020.4.318\deployment_tools\demo\..\open_model_zoo\tools\downloader\requirements.in (line 2)) (2.18.4)
Requirement already satisfied: idna<2.7,>=2.5 in c:\users\lenovo\appdata\roaming\python\python36\site-packages (from requests->-r C:\Program Files (x86)\IntelSWTools\openvino_2020.4.318\deployment_tools\demo\..\open_model_zoo\tools\downloader\requirements.in (line 2)) (2.6)
Requirement already satisfied: urllib3<1.23,>=1.21.1 in c:\users\lenovo\appdata\roaming\python\python36\site-packages (from requests->-r C:\Program Files (x86)\IntelSWTools\openvino_2020.4.318\deployment_tools\demo\..\open_model_zoo\tools\downloader\requirements.in (line 2)) (1.22)
Requirement already satisfied: certifi>=2017.4.17 in f:\anaconda\envs\tf_gpu\lib\site-packages (from requests->-r C:\Program Files (x86)\IntelSWTools\openvino_2020.4.318\deployment_tools\demo\..\open_model_zoo\tools\downloader\requirements.in (line 2)) (2020.6.20)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in c:\users\lenovo\appdata\roaming\python\python36\site-packages (from requests->-r C:\Program Files (x86)\IntelSWTools\openvino_2020.4.318\deployment_tools\demo\..\open_model_zoo\tools\downloader\requirements.in (line 2)) (3.0.4)
Download public squeezenet1.1 model
python "C:\Program Files (x86)\IntelSWTools\openvino_2020.4.318\deployment_tools\open_model_zoo\tools\downloader\downloader.py" --name "squeezenet1.1" --output_dir "C:\Users\lenovo\Documents\Intel\OpenVINO\openvino_models\models" --cache_dir "C:\Users\lenovo\Documents\Intel\OpenVINO\openvino_models\cache"
################|| Downloading models ||################

========== Retrieving C:\Users\lenovo\Documents\Intel\OpenVINO\openvino_models\models\public\squeezenet1.1\squeezenet1.1.prototxt from the cache

========== Retrieving C:\Users\lenovo\Documents\Intel\OpenVINO\openvino_models\models\public\squeezenet1.1\squeezenet1.1.caffemodel from the cache

################|| Post-processing ||################

========== Replacing text in C:\Users\lenovo\Documents\Intel\OpenVINO\openvino_models\models\public\squeezenet1.1\squeezenet1.1.prototxt
squeezenet1.1 model downloading completed
'timeout' 不是内部或外部命令,也不是可运行的程序
或批处理文件。

Target folder C:\Users\lenovo\Documents\Intel\OpenVINO\openvino_models\ir\public\squeezenet1.1\FP16 already exists. Skipping IR generation with Model Optimizer.
If you want to convert a model again, remove the entire C:\Users\lenovo\Documents\Intel\OpenVINO\openvino_models\ir\public\squeezenet1.1\FP16 folder.
'timeout' 不是内部或外部命令,也不是可运行的程序
或批处理文件。

###############|| Generate VS solution for Inference Engine samples using cmake ||###############

'timeout' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
"vswhere tool is not found"
Creating Visual Studio 14 2015 x64 files in C:\Users\lenovo\Documents\Intel\OpenVINO\inference_engine_samples_build...
-- Selecting Windows SDK version 10.0.14393.0 to target Windows 10.0.18363.
-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
CMake Error at CMakeLists.txt:7 (project):
No CMAKE_C_COMPILER could be found.

 

CMake Error at CMakeLists.txt:7 (project):
No CMAKE_CXX_COMPILER could be found.

 

-- Configuring incomplete, errors occurred!
See also "C:/Users/lenovo/Documents/Intel/OpenVINO/inference_engine_samples_build/CMakeFiles/CMakeOutput.log".
See also "C:/Users/lenovo/Documents/Intel/OpenVINO/inference_engine_samples_build/CMakeFiles/CMakeError.log".
Error

I installed Visual Studio 2015, python 3.6.4 and I run the order in a new enviornment in Anaconda

0 Kudos
4 Replies
Iffa_Intel
Moderator
295 Views

Greetings,


Please help to ensure that you run the setupvars everytime you open a new terminal/command prompt.


cd C:\Program Files (x86)\IntelSWTools\openvino\bin\

run setupvars.bat


you can do the same in anaconda, navigate to this folder & run it.


Sincerely,

Iffa


sky_lu
Beginner
290 Views

(tf_gpu) C:\Program Files (x86)\IntelSWTools\openvino\bin>setupvars.bat
'where' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
Warning: libmmd.dll couldn't be found in %PATH%. Please check if the redistributable package for Intel(R) C++ Compiler is installed and the library path is added to the PATH environment variable. System reboot can be required to update the system environment.
[setupvars.bat] OpenVINO environment initialized

 

 

(tf_gpu) C:\Program Files (x86)\IntelSWTools\openvino_2020.4.318\deployment_tools\demo>demo_benchmark_app.bat -d cpu
target = cpu
target_precision = FP16
'where' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
Warning: libmmd.dll couldn't be found in %PATH%. Please check if the redistributable package for Intel(R) C++ Compiler is installed and the library path is added to the PATH environment variable. System reboot can be required to update the system environment.
[setupvars.bat] OpenVINO environment initialized
INTEL_OPENVINO_DIR is set to C:\Program Files (x86)\IntelSWTools\openvino_2020.4.318
ECHO 处于关闭状态。
Requirement already satisfied: pyyaml in c:\users\lenovo\appdata\roaming\python\python36\site-packages (from -r C:\Program Files (x86)\IntelSWTools\openvino_2020.4.318\deployment_tools\demo\..\open_model_zoo\tools\downloader\requirements.in (line 1)) (5.3.1)
Requirement already satisfied: requests in c:\users\lenovo\appdata\roaming\python\python36\site-packages (from -r C:\Program Files (x86)\IntelSWTools\openvino_2020.4.318\deployment_tools\demo\..\open_model_zoo\tools\downloader\requirements.in (line 2)) (2.18.4)
Requirement already satisfied: urllib3<1.23,>=1.21.1 in c:\users\lenovo\appdata\roaming\python\python36\site-packages (from requests->-r C:\Program Files (x86)\IntelSWTools\openvino_2020.4.318\deployment_tools\demo\..\open_model_zoo\tools\downloader\requirements.in (line 2)) (1.22)
Requirement already satisfied: idna<2.7,>=2.5 in c:\users\lenovo\appdata\roaming\python\python36\site-packages (from requests->-r C:\Program Files (x86)\IntelSWTools\openvino_2020.4.318\deployment_tools\demo\..\open_model_zoo\tools\downloader\requirements.in (line 2)) (2.6)
Requirement already satisfied: certifi>=2017.4.17 in f:\anaconda\envs\tf_gpu\lib\site-packages (from requests->-r C:\Program Files (x86)\IntelSWTools\openvino_2020.4.318\deployment_tools\demo\..\open_model_zoo\tools\downloader\requirements.in (line 2)) (2020.6.20)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in c:\users\lenovo\appdata\roaming\python\python36\site-packages (from requests->-r C:\Program Files (x86)\IntelSWTools\openvino_2020.4.318\deployment_tools\demo\..\open_model_zoo\tools\downloader\requirements.in (line 2)) (3.0.4)
Download public squeezenet1.1 model
python "C:\Program Files (x86)\IntelSWTools\openvino_2020.4.318\deployment_tools\open_model_zoo\tools\downloader\downloader.py" --name "squeezenet1.1" --output_dir "C:\Users\lenovo\Documents\Intel\OpenVINO\openvino_models\models" --cache_dir "C:\Users\lenovo\Documents\Intel\OpenVINO\openvino_models\cache"
################|| Downloading models ||################

========== Retrieving C:\Users\lenovo\Documents\Intel\OpenVINO\openvino_models\models\public\squeezenet1.1\squeezenet1.1.prototxt from the cache

========== Retrieving C:\Users\lenovo\Documents\Intel\OpenVINO\openvino_models\models\public\squeezenet1.1\squeezenet1.1.caffemodel from the cache

################|| Post-processing ||################

========== Replacing text in C:\Users\lenovo\Documents\Intel\OpenVINO\openvino_models\models\public\squeezenet1.1\squeezenet1.1.prototxt
squeezenet1.1 model downloading completed
'timeout' 不是内部或外部命令,也不是可运行的程序
或批处理文件。

Target folder C:\Users\lenovo\Documents\Intel\OpenVINO\openvino_models\ir\public\squeezenet1.1\FP16 already exists. Skipping IR generation with Model Optimizer.
If you want to convert a model again, remove the entire C:\Users\lenovo\Documents\Intel\OpenVINO\openvino_models\ir\public\squeezenet1.1\FP16 folder.
'timeout' 不是内部或外部命令,也不是可运行的程序
或批处理文件。

###############|| Generate VS solution for Inference Engine samples using cmake ||###############

'timeout' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
"vswhere tool is not found"
Creating Visual Studio 14 2015 x64 files in C:\Users\lenovo\Documents\Intel\OpenVINO\inference_engine_samples_build...
'cmake' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
Error

 

I have re-install the VS2015 this time and it still doesn't work

Iffa_Intel
Moderator
282 Views

Greetings,


I recommend you to follow this latest official documentation: https://docs.openvinotoolkit.org/latest/openvino_docs_install_guides_installing_openvino_windows.htm...


You need to get these pre-requisite correct:

  1. Microsoft Visual Studio* with C++ 2019 or 2017 with MSBuild (I recommend 2019,tick on C++/GCC if the option pops up during installation)
  2. CMake 2.8.12 or higher 64-bit (ensure to add this to your system path)
  3. Python 3.5 - 3.7 64-bit ( Irecommend to go for python 3.6)
  4. Intel® Distribution of OpenVINO™ toolkit core components (2020.4 is the latest)



Hope this helps!.


Sincerely,

Iffa


Iffa_Intel
Moderator
269 Views

Greetings,


Intel will no longer monitor this thread since we have provided a solution. If you need any additional information from Intel, please submit a new question


Sincerely,

Iffa


Reply