Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Wang__Thomas
Beginner
796 Views

OpenVINO Windows 10 installation problem

Hi, I'm new to OpenVINO. I'm trying to complete the OpenVINO installation but encountered some problems that I can't run the two demos on the installation guide successfully(squeeze net and security barrier camera).

Here's my hardware information and OS:

CPU: Intel i7-8550U

OS: Windows 10 x64

I've followed the steps in the installation guide and installed:

1 OpenVINO toolkit R1.1

2 visual studio 2019

3 Cmake  3.14.5

4 Python 3.6.5150.0

set the environmental variables

configure the model optimizer (through option 2)

 

But encountered system errors:

1 unrecognized arguments: Wang\Documents\Intel\OpenVINO\openvino_models\models\FP32 Wang\Documents\Intel\OpenVINO\openvino_models\ir\cache

First of all, my user name is Thomas Wang instead of Wang. Second, I can't find the openvino_models folder at C:\Users\Thomas Wang\Documents\Intel\OpenVINO. Instead, I found inference_engine_samples_build.

2 Looking for pthread.h - not found

3 After ###############|| Run Inference Engine classification sample ||##############

the system told me that it can't find the specified root and leads to xml file not found  

Error loading xmlfile: C:\Users\Thomas Wang\Documents\Intel\OpenVINO\openvino_models\ir\FP32\classification\squeezenet\1.1\caffe\squeezenet1.1.xml, File was not found at line: 1 pos: 0


 

Here's the details of the demo error:

 

C:\Program Files (x86)\IntelSWTools\openvino\deployment_tools\demo>demo_squeezenet_download_convert_run.bat

target_precision = FP32
Python 3.6.5
ECHO 已關閉。
PYTHONPATH=C:\Program Files (x86)\IntelSWTools\openvino\python\python3.6;C:\Program Files (x86)\IntelSWTools\openvino\python\python3.6;
[setupvars.bat] OpenVINO environment initialized
INTEL_OPENVINO_DIR is set to C:\Program Files (x86)\IntelSWTools\openvino
Python 3.6.5
ECHO 已關閉。
Requirement already satisfied: pyyaml in c:\users\thomas wang\appdata\roaming\python\python36\site-packages
Requirement already satisfied: requests in c:\users\thomas wang\appdata\roaming\python\python36\site-packages
Requirement already satisfied: idna<2.7,>=2.5 in c:\users\thomas wang\appdata\roaming\python\python36\site-packages (from requests)
Requirement already satisfied: urllib3<1.23,>=1.21.1 in c:\users\thomas wang\appdata\roaming\python\python36\site-packages (from requests)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in c:\users\thomas wang\appdata\roaming\python\python36\site-packages (from requests)
Requirement already satisfied: certifi>=2017.4.17 in c:\users\thomas wang\appdata\roaming\python\python36\site-packages (from requests)
You are using pip version 9.0.3, however version 19.1.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
Download public squeezenet1.1 model

Models have been loaded previously. Skip loading model step.
Model path: C:\Users\Thomas Wang\Documents\Intel\OpenVINO\openvino_models\models\FP32\classification\squeezenet\1.1\caffe\squeezenet1.1.prototxt
python "C:\Program Files (x86)\IntelSWTools\openvino\deployment_tools\tools\model_downloader\downloader.py" --name squeezenet1.1 --output_dir C:\Users\Thomas Wang\Documents\Intel\OpenVINO\openvino_models\models\FP32 --cache_dir C:\Users\Thomas Wang\Documents\Intel\OpenVINO\openvino_models\ir\cache
error: unrecognized arguments: Wang\Documents\Intel\OpenVINO\openvino_models\models\FP32 Wang\Documents\Intel\OpenVINO\openvino_models\ir\cache
usage: downloader.py [-h] [-c CONFIG.YML] [--name PAT[,PAT...]]
                     [--list FILE.LST] [--all] [--print_all] [-o DIR]
                     [--cache_dir DIR] [--num_attempts N]

optional arguments:
  -h, --help            show this help message and exit
  -c CONFIG.YML, --config CONFIG.YML
                        path to YML configuration file
  --name PAT[,PAT...]   download only topologies whose names match at least
                        one of the specified patterns
  --list FILE.LST       download only topologies whose names match at least
                        one of the patterns in the specified file
  --all                 download all topologies from the configuration file
  --print_all           print all available topologies
  -o DIR, --output_dir DIR
                        path where to save topologies
  --cache_dir DIR       directory to use as a cache for downloaded files
  --num_attempts N      attempt each download up to N times

list_topologies.yml - default configuration file
squeezenet1.1 model downloading completed

等候  0 秒後,請按任何一個鍵繼續 ...

Target folder C:\Users\Thomas Wang\Documents\Intel\OpenVINO\openvino_models\ir\FP32\classification\squeezenet\1.1\caffe already exists. Skipping IR generation with Model Optimizer.
If you want to convert a model again, remove the entire C:\Users\Thomas Wang\Documents\Intel\OpenVINO\openvino_models\ir\FP32\classification\squeezenet\1.1\caffe folder.

等候  0 秒後,請按任何一個鍵繼續 ...

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


等候  0 秒後,請按任何一個鍵繼續 ...
Creating Visual Studio 16 2019 x64 files in C:\Users\Thomas Wang\Documents\Intel\OpenVINO\inference_engine_samples_build...
-- Selecting Windows SDK version 10.0.17763.0 to target Windows 10.0.17134.
-- The C compiler identification is MSVC 19.21.27702.2
-- The CXX compiler identification is MSVC 19.21.27702.2
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.21.27702/bin/Hostx64/x64/cl.exe
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.21.27702/bin/Hostx64/x64/cl.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.21.27702/bin/Hostx64/x64/cl.exe
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.21.27702/bin/Hostx64/x64/cl.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check size of __int32
-- Check size of __int32 - done
-- Found InferenceEngine: C:/Program Files (x86)/IntelSWTools/openvino/deployment_tools/inference_engine/lib/intel64/Release/inference_engine.lib (Required is at least version "1.6")
-- Performing Test HAVE_CPUID_INFO
-- Performing Test HAVE_CPUID_INFO - Success
-- Host CPU features:
--   3DNOW not supported
--   3DNOWEXT not supported
--   ABM not supported
--   ADX supported
--   AES supported
--   AVX supported
--   AVX2 supported
--   AVX512CD not supported
--   AVX512F not supported
--   AVX512ER not supported
--   AVX512PF not supported
--   BMI1 supported
--   BMI2 supported
--   CLFSH supported
--   CMPXCHG16B supported
--   CX8 supported
--   ERMS supported
--   F16C supported
--   FMA supported
--   FSGSBASE supported
--   FXSR supported
--   HLE not supported
--   INVPCID supported
--   LAHF supported
--   LZCNT supported
--   MMX supported
--   MMXEXT not supported
--   MONITOR supported
--   MOVBE supported
--   MSR supported
--   OSXSAVE supported
--   PCLMULQDQ supported
--   POPCNT supported
--   PREFETCHWT1 not supported
--   RDRAND supported
--   RDSEED supported
--   RDTSCP supported
--   RTM not supported
--   SEP supported
--   SHA not supported
--   SSE supported
--   SSE2 supported
--   SSE3 supported
--   SSE4.1 supported
--   SSE4.2 supported
--   SSE4a not supported
--   SSSE3 supported
--   SYSCALL supported
--   TBM not supported
--   XOP not supported
--   XSAVE supported
-- TBB include: C:/Program Files (x86)/IntelSWTools/openvino/deployment_tools/inference_engine/external/tbb/include
-- TBB Release lib: C:/Program Files (x86)/IntelSWTools/openvino/deployment_tools/inference_engine/lib/intel64/Release/tbb.lib
-- TBB Debug lib: C:/Program Files (x86)/IntelSWTools/openvino/deployment_tools/inference_engine/lib/intel64/Debug/tbb_debug.lib
-- Looking for pthread.h
-- Looking for pthread.h - not found
-- Found Threads: TRUE
-- Configuring done
-- Generating done
-- Build files have been written to: C:/Users/Thomas Wang/Documents/Intel/OpenVINO/inference_engine_samples_build

等候  0 秒後,請按任何一個鍵繼續 ...

###############|| Build Inference Engine samples using MS Visual Studio (MSBuild.exe) ||###############


等候  0 秒後,請按任何一個鍵繼續 ...
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\MSBuild.exe" Samples.sln /p:Configuration=Release /t:classification_sample /clp:ErrorsOnly /m
Microsoft (R) Build Engine for .NET Framework 16.1.76+g14b0a930a7 版
Copyright (C) Microsoft Corporation. 著作權所有,並保留一切權利。


等候  0 秒後,請按任何一個鍵繼續 ...

###############|| Run Inference Engine classification sample ||###############


等候  0 秒後,請按任何一個鍵繼續 ...
系統找不到指定的路徑。
複製了         0 個檔案。
classification_sample.exe -i "C:\Program Files (x86)\IntelSWTools\openvino\deployment_tools\demo\\car.png" -m "C:\Users\Thomas Wang\Documents\Intel\OpenVINO\openvino_models\ir\FP32\classification\squeezenet\1.1\caffe\squeezenet1.1.xml" -d CPU
[ INFO ] InferenceEngine:
        API version ............ 1.6
        Build .................. 23780
[ INFO ] Parsing input parameters
[ INFO ] Files were added: 1
[ INFO ]     C:\Program Files (x86)\IntelSWTools\openvino\deployment_tools\demo\\car.png
[ INFO ] Loading plugin

        API version ............ 1.6
        Build .................. 23780
        Description ....... MKLDNNPlugin
[ INFO ] Loading network files:
        C:\Users\Thomas Wang\Documents\Intel\OpenVINO\openvino_models\ir\FP32\classification\squeezenet\1.1\caffe\squeezenet1.1.xml
        C:\Users\Thomas Wang\Documents\Intel\OpenVINO\openvino_models\ir\FP32\classification\squeezenet\1.1\caffe\squeezenet1.1.bin
[ ERROR ] Error loading xmlfile: C:\Users\Thomas Wang\Documents\Intel\OpenVINO\openvino_models\ir\FP32\classification\squeezenet\1.1\caffe\squeezenet1.1.xml, File was not found at line: 1 pos: 0
Error

 

I'll be appreciated if someone can give me some help or suggestions.

 

 

 

0 Kudos
18 Replies
Shubha_R_Intel
Employee
796 Views

Dear Wang, Thomas, 

Your errors are abnormal for sure. I use OpenVino on Windows 10 routinely and I never have such errors. 

First execute : setupvars.bat under C:\Program Files (x86)\IntelSWTools\openvino_2019.1.148\bin

Next, Under C:\Program Files (x86)\IntelSWTools\openvino_2019.1.148\inference_engine\samples, there is a  build_samples_msvc.bat. Can you kindly try executing it ? It should succeed. Once it succeeds, try running the two demos above. NOTE: you should not have to do this. The two demos running should work fine on their own if you first ran setupvars.bat.

If you have older OpenVino installations lying around, maybe uninstall them.

Thanks. Let us know how it turned out.

Shubha

Wang__Thomas
Beginner
796 Views

Hi, Shubha R. (Intel):

Thanks for your suggestions, I've only installed OpenVINO version 2019.0.1.148, though I've uninstalled it several times cause it can't run the demos successfully.  Are there any files need to be deleted?

 

Unfortunately, the suggestion didn't work well.

I ran setupvars.bat and build_samples_msvc.bat.

The build_samples_msvc.bat succeeded.

建置成功。
    0 個警告
    0 個錯誤

經過時間 00:07:44.47
Done.

But as I ran the two demos, it still can't find the xml file.

The details are the same as last one: 

 

C:\Program Files (x86)\IntelSWTools\openvino\deployment_tools\demo>demo_squeezenet_download_convert_run.bat
target_precision = FP32

Python 3.6.5
ECHO 已關閉。
PYTHONPATH=C:\Program Files (x86)\IntelSWTools\openvino\python\python3.6;C:\Program Files (x86)\IntelSWTools\openvino_2019.1.148\python\python3.6;
[setupvars.bat] OpenVINO environment initialized
INTEL_OPENVINO_DIR is set to C:\Program Files (x86)\IntelSWTools\openvino
Python 3.6.5
ECHO 已關閉。
Requirement already satisfied: pyyaml in c:\users\thomas wang\appdata\roaming\python\python36\site-packages
Requirement already satisfied: requests in c:\users\thomas wang\appdata\roaming\python\python36\site-packages
Requirement already satisfied: idna<2.7,>=2.5 in c:\users\thomas wang\appdata\roaming\python\python36\site-packages (from requests)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in c:\users\thomas wang\appdata\roaming\python\python36\site-packages (from requests)
Requirement already satisfied: certifi>=2017.4.17 in c:\users\thomas wang\appdata\roaming\python\python36\site-packages (from requests)
Requirement already satisfied: urllib3<1.23,>=1.21.1 in c:\users\thomas wang\appdata\roaming\python\python36\site-packages (from requests)
You are using pip version 9.0.3, however version 19.1.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
Download public squeezenet1.1 model

Models have been loaded previously. Skip loading model step.
Model path: C:\Users\Thomas Wang\Documents\Intel\OpenVINO\openvino_models\models\FP32\classification\squeezenet\1.1\caffe\squeezenet1.1.prototxt
python "C:\Program Files (x86)\IntelSWTools\openvino\deployment_tools\tools\model_downloader\downloader.py" --name squeezenet1.1 --output_dir C:\Users\Thomas Wang\Documents\Intel\OpenVINO\openvino_models\models\FP32 --cache_dir C:\Users\Thomas Wang\Documents\Intel\OpenVINO\openvino_models\ir\cache
error: unrecognized arguments: Wang\Documents\Intel\OpenVINO\openvino_models\models\FP32 Wang\Documents\Intel\OpenVINO\openvino_models\ir\cache
usage: downloader.py [-h] [-c CONFIG.YML] [--name PAT[,PAT...]]
                     [--list FILE.LST] [--all] [--print_all] [-o DIR]
                     [--cache_dir DIR] [--num_attempts N]

optional arguments:
  -h, --help            show this help message and exit
  -c CONFIG.YML, --config CONFIG.YML
                        path to YML configuration file
  --name PAT[,PAT...]   download only topologies whose names match at least
                        one of the specified patterns
  --list FILE.LST       download only topologies whose names match at least
                        one of the patterns in the specified file
  --all                 download all topologies from the configuration file
  --print_all           print all available topologies
  -o DIR, --output_dir DIR
                        path where to save topologies
  --cache_dir DIR       directory to use as a cache for downloaded files
  --num_attempts N      attempt each download up to N times

list_topologies.yml - default configuration file
squeezenet1.1 model downloading completed

等候  0 秒後,請按任何一個鍵繼續 ...

Target folder C:\Users\Thomas Wang\Documents\Intel\OpenVINO\openvino_models\ir\FP32\classification\squeezenet\1.1\caffe already exists. Skipping IR generation with Model Optimizer.
If you want to convert a model again, remove the entire C:\Users\Thomas Wang\Documents\Intel\OpenVINO\openvino_models\ir\FP32\classification\squeezenet\1.1\caffe folder.

等候  0 秒後,請按任何一個鍵繼續 ...

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


等候  0 秒後,請按任何一個鍵繼續 ...
Creating Visual Studio 16 2019 x64 files in C:\Users\Thomas Wang\Documents\Intel\OpenVINO\inference_engine_samples_build...
-- Selecting Windows SDK version 10.0.17763.0 to target Windows 10.0.17134.
-- The C compiler identification is MSVC 19.21.27702.2
-- The CXX compiler identification is MSVC 19.21.27702.2
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.21.27702/bin/Hostx64/x64/cl.exe
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.21.27702/bin/Hostx64/x64/cl.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.21.27702/bin/Hostx64/x64/cl.exe
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.21.27702/bin/Hostx64/x64/cl.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check size of __int32
-- Check size of __int32 - done
-- Found InferenceEngine: C:/Program Files (x86)/IntelSWTools/openvino/deployment_tools/inference_engine/lib/intel64/Release/inference_engine.lib (Required is at least version "1.6")
-- Performing Test HAVE_CPUID_INFO
-- Performing Test HAVE_CPUID_INFO - Success
-- Host CPU features:
--   3DNOW not supported
--   3DNOWEXT not supported
--   ABM not supported
--   ADX supported
--   AES supported
--   AVX supported
--   AVX2 supported
--   AVX512CD not supported
--   AVX512F not supported
--   AVX512ER not supported
--   AVX512PF not supported
--   BMI1 supported
--   BMI2 supported
--   CLFSH supported
--   CMPXCHG16B supported
--   CX8 supported
--   ERMS supported
--   F16C supported
--   FMA supported
--   FSGSBASE supported
--   FXSR supported
--   HLE not supported
--   INVPCID supported
--   LAHF supported
--   LZCNT supported
--   MMX supported
--   MMXEXT not supported
--   MONITOR supported
--   MOVBE supported
--   MSR supported
--   OSXSAVE supported
--   PCLMULQDQ supported
--   POPCNT supported
--   PREFETCHWT1 not supported
--   RDRAND supported
--   RDSEED supported
--   RDTSCP supported
--   RTM not supported
--   SEP supported
--   SHA not supported
--   SSE supported
--   SSE2 supported
--   SSE3 supported
--   SSE4.1 supported
--   SSE4.2 supported
--   SSE4a not supported
--   SSSE3 supported
--   SYSCALL supported
--   TBM not supported
--   XOP not supported
--   XSAVE supported
-- TBB include: C:/Program Files (x86)/IntelSWTools/openvino/deployment_tools/inference_engine/external/tbb/include
-- TBB Release lib: C:/Program Files (x86)/IntelSWTools/openvino/deployment_tools/inference_engine/lib/intel64/Release/tbb.lib
-- TBB Debug lib: C:/Program Files (x86)/IntelSWTools/openvino/deployment_tools/inference_engine/lib/intel64/Debug/tbb_debug.lib
-- Looking for pthread.h
-- Looking for pthread.h - not found
-- Found Threads: TRUE
-- Configuring done
-- Generating done
-- Build files have been written to: C:/Users/Thomas Wang/Documents/Intel/OpenVINO/inference_engine_samples_build

等候  0 秒後,請按任何一個鍵繼續 ...

###############|| Build Inference Engine samples using MS Visual Studio (MSBuild.exe) ||###############


等候  0 秒後,請按任何一個鍵繼續 ...
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\MSBuild.exe" Samples.sln /p:Configuration=Release /t:classification_sample /clp:ErrorsOnly /m
Microsoft (R) Build Engine for .NET Framework 16.1.76+g14b0a930a7 版
Copyright (C) Microsoft Corporation. 著作權所有,並保留一切權利。


等候  0 秒後,請按任何一個鍵繼續 ...

###############|| Run Inference Engine classification sample ||###############


等候  0 秒後,請按任何一個鍵繼續 ...
系統找不到指定的路徑。
複製了         0 個檔案。
classification_sample.exe -i "C:\Program Files (x86)\IntelSWTools\openvino\deployment_tools\demo\\car.png" -m "C:\Users\Thomas Wang\Documents\Intel\OpenVINO\openvino_models\ir\FP32\classification\squeezenet\1.1\caffe\squeezenet1.1.xml" -d CPU
[ INFO ] InferenceEngine:
        API version ............ 1.6
        Build .................. 23780
[ INFO ] Parsing input parameters
[ INFO ] Files were added: 1
[ INFO ]     C:\Program Files (x86)\IntelSWTools\openvino\deployment_tools\demo\\car.png
[ INFO ] Loading plugin

        API version ............ 1.6
        Build .................. 23780
        Description ....... MKLDNNPlugin
[ INFO ] Loading network files:
        C:\Users\Thomas Wang\Documents\Intel\OpenVINO\openvino_models\ir\FP32\classification\squeezenet\1.1\caffe\squeezenet1.1.xml
        C:\Users\Thomas Wang\Documents\Intel\OpenVINO\openvino_models\ir\FP32\classification\squeezenet\1.1\caffe\squeezenet1.1.bin
[ ERROR ] Error loading xmlfile: C:\Users\Thomas Wang\Documents\Intel\OpenVINO\openvino_models\ir\FP32\classification\squeezenet\1.1\caffe\squeezenet1.1.xml, File was not found at line: 1 pos: 0
Error

Shubha_R_Intel
Employee
796 Views

I see this error :

error: unrecognized arguments: Wang\Documents\Intel\OpenVINO\openvino_models\models\FP32 

Here is my guess. It's the space in "Thomas Wang". I will file a bug on this issue. If your userId was something like ThomasWang (no spaces) it would work.

Am I right ? There is a space ?

Please confirm. And sorry for all the trouble,

Shubha

Wang__Thomas
Beginner
796 Views

Yes, my user ID is Thomas Wang. But there's a problem that even if I change my user ID from the Microsoft control center, the file at C:\Users will still remains as Thomas Wang. And if I just change the file name may cause several root errors. Are there any solutions for this situation? Thanks a lot for your help.                                                

Thomas Wang

Shubha_R_Intel
Employee
796 Views

Dear Wang, Thomas, 

I'm afraid you are asking Windows system admin questions which I don't know the answer to.  Usually though userids don't have spaces in them. At least I have never seen such userIDs. Can you re-install your OS this time with a new UserID without spaces ?

Thanks,

Shubha

Shubha_R_Intel
Employee
796 Views

Dear Wang, Thomas, 

Regardless of how you installed your Windows OS (spaces in your userID or not) our demos and samples should work. And if they don't that's a problem on our side. So I have filed a bug on your behalf. 

Really sorry for all the trouble you've had.

Stay tuned. Hopefully this bug will be fixed soon !

Shubha

Tan__Shu_Chuan
Beginner
796 Views

Hey Wang, 


I am facing the problem that you stated above. Do you mind to tell me how to solve it?

Thanks.

796 Views

It's because of the spaces in your build path.

Open the demo_squeezenet_download_convert_run.bat file (or any of the others) in notepad++ or any text editor of your choice

Change line 8 to something like this  -

set BUILD_FOLDER=C:\res\openvinotestbuild 

or any folder of your choice. (Just make sure the path exists, I am not sure if the bat will still run without the path)

 

Kulkarni__Vinay
New Contributor I
796 Views

I am trying to run using openvino R2, but i too get the same error:

 

C:\Program Files (x86)\IntelSWTools\openvino\deployment_tools\demo>demo_squeezenet_download_convert_run.bat
target_precision = FP16
Python 3.6.0
ECHO is off.
PYTHONPATH=C:\Program Files (x86)\IntelSWTools\openvino\python\python3.6;C:\Program Files (x86)\IntelSWTools\openvino\python\python3;C:\Program Files (x86)\IntelSWTools\openvino\python\python3.6;C:\Program Files (x86)\IntelSWTools\openvino\python\python3;D:\Vinay\gyrus\models
[setupvars.bat] OpenVINO environment initialized
INTEL_OPENVINO_DIR is set to C:\Program Files (x86)\IntelSWTools\openvino
Python 3.6.0
ECHO is off.
Requirement already satisfied: pyyaml in c:\users\gf63\appdata\roaming\python\python36\site-packages
Requirement already satisfied: requests in c:\users\gf63\appdata\roaming\python\python36\site-packages
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in c:\users\gf63\appdata\roaming\python\python36\site-packages (from requests)
Requirement already satisfied: certifi>=2017.4.17 in c:\users\gf63\appdata\roaming\python\python36\site-packages (from requests)
Requirement already satisfied: idna<2.7,>=2.5 in c:\users\gf63\appdata\roaming\python\python36\site-packages (from requests)
Requirement already satisfied: urllib3<1.23,>=1.21.1 in c:\users\gf63\appdata\roaming\python\python36\site-packages (from requests)
You are using pip version 9.0.1, however version 19.2.2 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
Download public squeezenet1.1 model

Models have been loaded previously. Skip loading model step.
Model path: C:\Users\GF63\Documents\Intel\OpenVINOtestbuild\openvino_models\models\FP16\classification\squeezenet\1.1\caffe\squeezenet1.1.prototxt
python "C:\Program Files (x86)\IntelSWTools\openvino\deployment_tools\tools\model_downloader\downloader.py" --name squeezenet1.1 --output_dir C:\Users\GF63\Documents\Intel\OpenVINOtestbuild\openvino_models\models\FP16 --cache_dir C:\Users\GF63\Documents\Intel\OpenVINOtestbuild\openvino_models\ir\cache

###############|| Downloading topologies ||###############

========= Retrieving C:\Users\GF63\Documents\Intel\OpenVINOtestbuild\openvino_models\models\FP16\classification\squeezenet\1.1\caffe\squeezenet1.1.prototxt from the cache

========= Retrieving C:\Users\GF63\Documents\Intel\OpenVINOtestbuild\openvino_models\models\FP16\classification\squeezenet\1.1\caffe\squeezenet1.1.caffemodel from the cache


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

========= Replacing text in C:\Users\GF63\Documents\Intel\OpenVINOtestbuild\openvino_models\models\FP16\classification\squeezenet\1.1\caffe\squeezenet1.1.prototxt =========
squeezenet1.1 model downloading completed

Waiting for 3 seconds, press a key to continue ...

Target folder C:\Users\GF63\Documents\Intel\OpenVINOtestbuild\openvino_models\ir\FP16\classification\squeezenet\1.1\caffe already exists. Skipping IR generation with Model Optimizer.
If you want to convert a model again, remove the entire C:\Users\GF63\Documents\Intel\OpenVINOtestbuild\openvino_models\ir\FP16\classification\squeezenet\1.1\caffe folder.

Waiting for 6 seconds, press a key to continue ...

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


Waiting for 2 seconds, press a key to continue ...
Creating Visual Studio 14 2015 x64 files in C:\Users\GF63\Documents\Intel\OpenVINOtestbuild\inference_engine_samples_build...
-- Selecting Windows SDK version  to target Windows 10.0.17134.
-- The C compiler identification is MSVC 19.0.24215.1
-- The CXX compiler identification is MSVC 19.0.24215.1
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/cl.exe
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/cl.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/cl.exe
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/cl.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check size of __int32
-- Check size of __int32 - done
-- Found InferenceEngine: C:/Program Files (x86)/IntelSWTools/openvino/deployment_tools/inference_engine/lib/intel64/Release/inference_engine.lib (Required is at least version "2.0")
-- Performing Test HAVE_CPUID_INFO
-- Performing Test HAVE_CPUID_INFO - Success
-- Host CPU features:
--   3DNOW not supported
--   3DNOWEXT not supported
--   ABM not supported
--   ADX supported
--   AES supported
--   AVX supported
--   AVX2 supported
--   AVX512CD not supported
--   AVX512F not supported
--   AVX512ER not supported
--   AVX512PF not supported
--   BMI1 supported
--   BMI2 supported
--   CLFSH supported
--   CMPXCHG16B supported
--   CX8 supported
--   ERMS supported
--   F16C supported
--   FMA supported
--   FSGSBASE supported
--   FXSR supported
--   HLE not supported
--   INVPCID supported
--   LAHF supported
--   LZCNT supported
--   MMX supported
--   MMXEXT not supported
--   MONITOR supported
--   MOVBE supported
--   MSR supported
--   OSXSAVE supported
--   PCLMULQDQ supported
--   POPCNT supported
--   PREFETCHWT1 not supported
--   RDRAND supported
--   RDSEED supported
--   RDTSCP supported
--   RTM not supported
--   SEP supported
--   SHA not supported
--   SSE supported
--   SSE2 supported
--   SSE3 supported
--   SSE4.1 supported
--   SSE4.2 supported
--   SSE4a not supported
--   SSSE3 supported
--   SYSCALL supported
--   TBM not supported
--   XOP not supported
--   XSAVE supported
-- TBB include: C:/Program Files (x86)/IntelSWTools/openvino/deployment_tools/inference_engine/external/tbb/include
-- TBB Release lib: C:/Program Files (x86)/IntelSWTools/openvino/deployment_tools/inference_engine/lib/intel64/Release/tbb.lib
-- TBB Debug lib: C:/Program Files (x86)/IntelSWTools/openvino/deployment_tools/inference_engine/lib/intel64/Debug/tbb_debug.lib
-- Looking for pthread.h
-- Looking for pthread.h - not found
-- Found Threads: TRUE
-- Configuring done
-- Generating done
-- Build files have been written to: C:/Users/GF63/Documents/Intel/OpenVINOtestbuild/inference_engine_samples_build

Waiting for 6 seconds, press a key to continue ...

###############|| Build Inference Engine samples using MS Visual Studio (MSBuild.exe) ||###############


Waiting for 2 seconds, press a key to continue ...
C:\Program Files (x86)\MSBuild\14.0\Bin\MSBuild.exe" Samples.sln /p:Configuration=Release /t:classification_sample_async /clp:ErrorsOnly /m
Microsoft (R) Build Engine version 14.0.25420.1
Copyright (C) Microsoft Corporation. All rights reserved.


Waiting for 0 seconds, press a key to continue ...

###############|| Run Inference Engine classification sample ||###############


Waiting for 0 seconds, press a key to continue ...
        1 file(s) copied.
classification_sample_async.exe -i "C:\Program Files (x86)\IntelSWTools\openvino\deployment_tools\demo\\car.png" -m "C:\Users\GF63\Documents\Intel\OpenVINOtestbuild\openvino_models\ir\FP16\classification\squeezenet\1.1\caffe\squeezenet1.1.xml" -d CPU
[ INFO ] InferenceEngine:
        API version ............ 2.0
        Build .................. 27579
        Description ....... API
[ INFO ] Parsing input parameters
[ INFO ] Parsing input parameters
[ INFO ] Files were added: 1
[ INFO ]     C:\Program Files (x86)\IntelSWTools\openvino\deployment_tools\demo\\car.png
[ INFO ] Creating Inference Engine
        CPU
        MKLDNNPlugin version ......... 2.0
        Build ........... 27579

[ INFO ] Loading network files
[ ERROR ] Error loading xmlfile: C:\Users\GF63\Documents\Intel\OpenVINOtestbuild\openvino_models\ir\FP16\classification\squeezenet\1.1\caffe\squeezenet1.1.xml, File was not found at line: 1 pos: 0
Error

Shubha_R_Intel
Employee
796 Views

Dear Kulkarni, Vinay,

In your messages above I see the following:

Target folder C:\Users\GF63\Documents\Intel\OpenVINOtestbuild\openvino_models\ir\FP16\classification\squeezenet\1.1\caffe already exists. Skipping IR generation with Model Optimizer.
If you want to convert a model again, remove the entire C:\Users\GF63\Documents\Intel\OpenVINOtestbuild\openvino_models\ir\FP16\classification\squeezenet\1.1\caffe folder.

Are you overwriting the models directory from a previous OpenVino release ? That might be your problem. Please try deleting the directory as the above instructions advise and try again.

Thanks,

Shubha

 

Jin__Blake
Beginner
796 Views

 Downloading C:\Intel22\Documents\Intel\OpenVINO\openvino_models\models\FP32\classification\squeezenet\1.1\caffe\squeezenet1.1.prototxt
Error Connecting: HTTPSConnectionPool(host='raw.githubusercontent.com', port=443): Max retries exceeded with url: /DeepScale/SqueezeNet/a47b6f13d30985279789d08053d37013d67d131b/SqueezeNet_v1.1/deploy.prototxt (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x000002454B5BBAC8>: Failed to establish a new connection: [WinError 10060]

Shubha_R_Intel
Employee
796 Views

Dear Jin, Blake,

You need a full working Internet connection to run demo_squeezenet_download_convert_run.bat since it downloads the models it needs from the Internet.

Hope it helps,

Thanks,

Shubha

796 Views

I have successfully run the demo_security_barrier_camera but while trying demo_squeezenet_download_convert_run I am having the similar issue. Please help me if anyone already resolved the issue.

 

C:\Program Files (x86)\IntelSWTools\openvino\deployment_tools\demo>demo_squeezenet_download_convert_run.bat
target_precision = FP16
ECHO is off.
PYTHONPATH=C:\Program Files (x86)\IntelSWTools\openvino\python\python3.6;C:\Program Files (x86)\IntelSWTools\openvino\python\python3;C:\Program Files (x86)\IntelSWTools\openvino_2019.2.275\python\python3.6;C:\Program Files (x86)\IntelSWTools\openvino_2019.2.275\python\python3;
[setupvars.bat] OpenVINO environment initialized
INTEL_OPENVINO_DIR is set to C:\Program Files (x86)\IntelSWTools\openvino
ECHO is off.
Requirement already satisfied: pyyaml in c:\users\razib\anaconda3\lib\site-packages (3.12)
Requirement already satisfied: requests in c:\users\razib\appdata\roaming\python\python36\site-packages (2.18.4)
Requirement already satisfied: idna<2.7,>=2.5 in c:\users\razib\appdata\roaming\python\python36\site-packages (from requests) (2.6)
Requirement already satisfied: urllib3<1.23,>=1.21.1 in c:\users\razib\appdata\roaming\python\python36\site-packages (from requests) (1.22)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in c:\users\razib\appdata\roaming\python\python36\site-packages (from requests) (3.0.4)
Requirement already satisfied: certifi>=2017.4.17 in c:\users\razib\appdata\roaming\python\python36\site-packages (from requests) (2019.6.16)
Download public squeezenet1.1 model

Models have been loaded previously. Skip loading model step.
Model path: C:\Users\Razib\Documents\Intel\OpenVINO\openvino_models\models\FP16\classification\squeezenet\1.1\caffe\squeezenet1.1.prototxt
python "C:\Program Files (x86)\IntelSWTools\openvino\deployment_tools\tools\model_downloader\downloader.py" --name squeezenet1.1 --output_dir C:\Users\Razib\Documents\Intel\OpenVINO\openvino_models\models\FP16 --cache_dir C:\Users\Razib\Documents\Intel\OpenVINO\openvino_models\ir\cache

###############|| Downloading topologies ||###############

========= Retrieving C:\Users\Razib\Documents\Intel\OpenVINO\openvino_models\models\FP16\classification\squeezenet\1.1\caffe\squeezenet1.1.prototxt from the cache

========= Retrieving C:\Users\Razib\Documents\Intel\OpenVINO\openvino_models\models\FP16\classification\squeezenet\1.1\caffe\squeezenet1.1.caffemodel from the cache


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

========= Replacing text in C:\Users\Razib\Documents\Intel\OpenVINO\openvino_models\models\FP16\classification\squeezenet\1.1\caffe\squeezenet1.1.prototxt =========
squeezenet1.1 model downloading completed

Waiting for 0 seconds, press a key to continue ...

Target folder C:\Users\Razib\Documents\Intel\OpenVINO\openvino_models\ir\FP16\classification\squeezenet\1.1\caffe already exists. Skipping IR generation with Model Optimizer.
If you want to convert a model again, remove the entire C:\Users\Razib\Documents\Intel\OpenVINO\openvino_models\ir\FP16\classification\squeezenet\1.1\caffe folder.

Waiting for 0 seconds, press a key to continue ...

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


Waiting for 0 seconds, press a key to continue ...
Creating Visual Studio 15 2017 x64 files in C:\Users\Razib\Documents\Intel\OpenVINO\inference_engine_samples_build...
-- Selecting Windows SDK version 10.0.17763.0 to target Windows 10.0.18362.
-- The C compiler identification is MSVC 19.16.27032.1
-- The CXX compiler identification is MSVC 19.16.27032.1
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x64/cl.exe
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x64/cl.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x64/cl.exe
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x64/cl.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check size of __int32
-- Check size of __int32 - done
-- Found InferenceEngine: C:/Program Files (x86)/IntelSWTools/openvino/deployment_tools/inference_engine/lib/intel64/Release/inference_engine.lib (Required is at least version "2.0")
-- Performing Test HAVE_CPUID_INFO
-- Performing Test HAVE_CPUID_INFO - Success
-- Host CPU features:
--   3DNOW not supported
--   3DNOWEXT not supported
--   ABM not supported
--   ADX supported
--   AES supported
--   AVX supported
--   AVX2 supported
--   AVX512CD not supported
--   AVX512F not supported
--   AVX512ER not supported
--   AVX512PF not supported
--   BMI1 supported
--   BMI2 supported
--   CLFSH supported
--   CMPXCHG16B supported
--   CX8 supported
--   ERMS supported
--   F16C supported
--   FMA supported
--   FSGSBASE supported
--   FXSR supported
--   HLE not supported
--   INVPCID supported
--   LAHF supported
--   LZCNT supported
--   MMX supported
--   MMXEXT not supported
--   MONITOR supported
--   MOVBE supported
--   MSR supported
--   OSXSAVE supported
--   PCLMULQDQ supported
--   POPCNT supported
--   PREFETCHWT1 not supported
--   RDRAND supported
--   RDSEED supported
--   RDTSCP supported
--   RTM not supported
--   SEP supported
--   SHA not supported
--   SSE supported
--   SSE2 supported
--   SSE3 supported
--   SSE4.1 supported
--   SSE4.2 supported
--   SSE4a not supported
--   SSSE3 supported
--   SYSCALL supported
--   TBM not supported
--   XOP not supported
--   XSAVE supported
-- TBB include: C:/Program Files (x86)/IntelSWTools/openvino/deployment_tools/inference_engine/external/tbb/include
-- TBB Release lib: C:/Program Files (x86)/IntelSWTools/openvino/deployment_tools/inference_engine/lib/intel64/Release/tbb.lib
-- TBB Debug lib: C:/Program Files (x86)/IntelSWTools/openvino/deployment_tools/inference_engine/lib/intel64/Debug/tbb_debug.lib
-- Looking for pthread.h
-- Looking for pthread.h - not found
-- Found Threads: TRUE
-- Configuring done
-- Generating done
-- Build files have been written to: C:/Users/Razib/Documents/Intel/OpenVINO/inference_engine_samples_build

Waiting for 0 seconds, press a key to continue ...

###############|| Build Inference Engine samples using MS Visual Studio (MSBuild.exe) ||###############


Waiting for 0 seconds, press a key to continue ...
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\MSBuild.exe" Samples.sln /p:Configuration=Release /t:classification_sample_async /clp:ErrorsOnly /m
Microsoft (R) Build Engine version 15.9.21+g9802d43bc3 for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.


Waiting for 0 seconds, press a key to continue ...

###############|| Run Inference Engine classification sample ||###############


Waiting for 0 seconds, press a key to continue ...
        1 file(s) copied.
classification_sample_async.exe -i "C:\Program Files (x86)\IntelSWTools\openvino\deployment_tools\demo\\car.png" -m "C:\Users\Razib\Documents\Intel\OpenVINO\openvino_models\ir\FP16\classification\squeezenet\1.1\caffe\squeezenet1.1.xml" -d CPU
[ INFO ] InferenceEngine:
        API version ............ 2.0
        Build .................. 27579
        Description ....... API
[ INFO ] Parsing input parameters
[ INFO ] Parsing input parameters
[ INFO ] Files were added: 1
[ INFO ]     C:\Program Files (x86)\IntelSWTools\openvino\deployment_tools\demo\\car.png
[ INFO ] Creating Inference Engine
        CPU
        MKLDNNPlugin version ......... 2.0
        Build ........... 27579

[ INFO ] Loading network files
[ ERROR ] Error loading xmlfile: C:\Users\Razib\Documents\Intel\OpenVINO\openvino_models\ir\FP16\classification\squeezenet\1.1\caffe\squeezenet1.1.xml, File was not found at line: 1 pos: 0
Error

C:\Program Files (x86)\IntelSWTools\openvino\deployment_tools\demo>

 

 

796 Views

Solved my issue by following steps.

  • Uninstalled previous version of anaconda. 
  • Installed latest version (Anaconda 2019.07) with python 3.73
  • Uninstall and re-install OpenVINO.
  • Deleted Cache from (..\Documents\Intel\OpenVINO\openvino_models\ir\cache) 
  • Deleted caffe folder (..\Documents\Intel\OpenVINO\openvino_models\ir\FP16\classification\squeezenet\1.1\caffe)
  • Run the demo and it worked.
lai__autumn
Beginner
796 Views

Hello:
I have encountered the same problem, my solution is as follows,
Environment variables can be added to python。
Problem: [ ERROR ] Error loading xmlfile: C:\Users\autum\Documents\Intel\OpenVINO\openvino_models\ir\FP32\classification\squeezenet\1.1\caffe\squeezenet1.1.xml, File was not found at line: 1 Pos: 0
Added: classification_sample.exe -i "C:\Program Files (x86)\IntelSWTools\openvino\deployment_tools\demo\\car.png" -m "C:\Users\autum\Documents\Intel\OpenVINO\openvino_models\ Ir\FP32\classification\squeezenet\1.1\caffe\squeezenet1.1.xml" -d CPU
[ INFO ] InferenceEngine:
        API version ............1.6
        Build .................. 23780
[ INFO ] Parsing input parameters
[ INFO ] Files were added: 1
[ INFO ] C:\Program Files (x86)\IntelSWTools\openvino\deployment_tools\demo\\car.png
[ INFO ] Loading plugin

        API version ............1.6
        Build .................. 23780
        Description ....... MKLDNNPlugin
[ INFO ] Loading network files:
        C:\Users\autum\Documents\Intel\OpenVINO\openvino_models\ir\FP32\classification\squeezenet\1.1\caffe\squeezenet1.1.xml
        C:\Users\autum\Documents\Intel\OpenVINO\openvino_models\ir\FP32\classification\squeezenet\1.1\caffe\squeezenet1.1.bin
[ INFO ] Preparing input blobs
[ WARNING ] Image is resized from (787, 259) to (227, 227)
[ INFO ] Batch size is 1
[ INFO ] Preparing output blobs
[ INFO ] Loading model to the plugin
[ INFO ] Starting inference (1 iterations)
[ INFO ] Processing output blobs

Top 10 results:

Image C:\Program Files (x86)\IntelSWTools\openvino\deployment_tools\demo\\car.png

Classid probability label
------- ----------- -----
817 0.8363345 sports car, sport car
511 0.0946488 convertible
479 0.0419131 car wheel
751 0.0091071 racer, race car, racing car
436 0.0068161 beach wagon, station wagon, wagon, estate car, beach waggon, station waggon, waggon
656 0.0037564 minivan
586 0.0025741 half track
717 0.0016069 pickup, pickup truck
864 0.0012027 tow truck, tow car, wrecker
581 0.0005882 grille, radiator grille


Total inference time: 31.1868005
Average running time of one iteration: 31.1868005 ms

Throughput: 32.0648475 FPS

[ INFO ] Execution successful

###############|| Classification demo completed successfully ||###############
the above!  you can try it! !

Nag1
Beginner
796 Views

Hello,

I have encountered the same problem,
My Env: VisualStudio2019, CMake 3.14, Python 3.6.5

Thanks


--- LOGS --- 
C:\Program Files (x86)\IntelSWTools\openvino\deployment_tools\demo>demo_squeezenet_download_convert_run.bat
target_precision = FP16
Python 3.6.5
ECHO is off.
PYTHONPATH=C:\Program Files (x86)\IntelSWTools\openvino\deployment_tools\open_model_zoo\tools\accuracy_checker;C:\Program Files (x86)\IntelSWTools\openvino\python\python3.6;C:\Program Files (x86)\IntelSWTools\openvino\python\python3;
[setupvars.bat] OpenVINO environment initialized
INTEL_OPENVINO_DIR is set to C:\Program Files (x86)\IntelSWTools\openvino
Python 3.6.5
ECHO is off.
Requirement already satisfied: pyyaml in c:\users\dell\appdata\roaming\python\python36\site-packages (from -r C:\Program Files (x86)\IntelSWTools\openvino\deployment_tools\demo\\..\open_model_zoo\tools\downloader\requirements.in (line 1))
Requirement already satisfied: requests in c:\users\dell\appdata\roaming\python\python36\site-packages (from -r C:\Program Files (x86)\IntelSWTools\openvino\deployment_tools\demo\\..\open_model_zoo\tools\downloader\requirements.in (line 2))
Requirement already satisfied: urllib3<1.23,>=1.21.1 in c:\users\dell\appdata\roaming\python\python36\site-packages (from requests->-r C:\Program Files (x86)\IntelSWTools\openvino\deployment_tools\demo\\..\open_model_zoo\tools\downloader\requirements.in (line 2))
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in c:\users\dell\appdata\roaming\python\python36\site-packages (from requests->-r C:\Program Files (x86)\IntelSWTools\openvino\deployment_tools\demo\\..\open_model_zoo\tools\downloader\requirements.in (line 2))
Requirement already satisfied: idna<2.7,>=2.5 in c:\users\dell\appdata\roaming\python\python36\site-packages (from requests->-r C:\Program Files (x86)\IntelSWTools\openvino\deployment_tools\demo\\..\open_model_zoo\tools\downloader\requirements.in (line 2))
Requirement already satisfied: certifi>=2017.4.17 in c:\users\dell\appdata\roaming\python\python36\site-packages (from requests->-r C:\Program Files (x86)\IntelSWTools\openvino\deployment_tools\demo\\..\open_model_zoo\tools\downloader\requirements.in (line 2))
You are using pip version 9.0.3, however version 19.3.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
Download public squeezenet1.1 model

Models have been loaded previously. Skip loading model step.
Model path: C:\Users\DELL\Documents\Intel\OpenVINO\openvino_models\models\FP16\public\squeezenet1.1\squeezenet1.1.prototxt
python "C:\Program Files (x86)\IntelSWTools\openvino\deployment_tools\open_model_zoo\tools\downloader\downloader.py" --name squeezenet1.1 --output_dir C:\Users\DELL\Documents\Intel\OpenVINO\openvino_models\models\FP16 --cache_dir C:\Users\DELL\Documents\Intel\OpenVINO\openvino_models\ir\cache
################|| Downloading models ||################

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

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

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

========== Replacing text in C:\Users\DELL\Documents\Intel\OpenVINO\openvino_models\models\FP16\public\squeezenet1.1\squeezenet1.1.prototxt
squeezenet1.1 model downloading completed

Waiting for 0 seconds, press a key to continue ...

Target folder C:\Users\DELL\Documents\Intel\OpenVINO\openvino_models\ir\FP16\public\squeezenet1.1 already exists. Skipping IR generation with Model Optimizer.
If you want to convert a model again, remove the entire C:\Users\DELL\Documents\Intel\OpenVINO\openvino_models\ir\FP16\public\squeezenet1.1 folder.

Waiting for 0 seconds, press a key to continue ...

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


Waiting for 0 seconds, press a key to continue ...
Creating Visual Studio 16 2019 x64 files in C:\Users\DELL\Documents\Intel\OpenVINO\inference_engine_samples_build...
-- The C compiler identification is MSVC 19.23.28107.0
-- The CXX compiler identification is MSVC 19.23.28107.0
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.23.28105/bin/Hostx64/x64/cl.exe
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.23.28105/bin/Hostx64/x64/cl.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.23.28105/bin/Hostx64/x64/cl.exe
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.23.28105/bin/Hostx64/x64/cl.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check size of __int32
-- Check size of __int32 - done
-- Found InferenceEngine: C:/Program Files (x86)/IntelSWTools/openvino/deployment_tools/inference_engine/lib/intel64/Release/inference_engine.lib (Required is at least version "2.1")
-- Performing Test HAVE_CPUID_INFO
-- Performing Test HAVE_CPUID_INFO - Success
-- Host CPU features:
--   3DNOW not supported
--   3DNOWEXT not supported
--   ABM not supported
--   ADX not supported
--   AES supported
--   AVX supported
--   AVX2 supported
--   AVX512CD not supported
--   AVX512F not supported
--   AVX512ER not supported
--   AVX512PF not supported
--   BMI1 supported
--   BMI2 supported
--   CLFSH supported
--   CMPXCHG16B supported
--   CX8 supported
--   ERMS supported
--   F16C supported
--   FMA supported
--   FSGSBASE supported
--   FXSR supported
--   HLE not supported
--   INVPCID supported
--   LAHF supported
--   LZCNT supported
--   MMX supported
--   MMXEXT not supported
--   MONITOR supported
--   MOVBE supported
--   MSR supported
--   OSXSAVE supported
--   PCLMULQDQ supported
--   POPCNT supported
--   PREFETCHWT1 not supported
--   RDRAND supported
--   RDSEED not supported
--   RDTSCP supported
--   RTM not supported
--   SEP supported
--   SHA not supported
--   SSE supported
--   SSE2 supported
--   SSE3 supported
--   SSE4.1 supported
--   SSE4.2 supported
--   SSE4a not supported
--   SSSE3 supported
--   SYSCALL supported
--   TBM not supported
--   XOP not supported
--   XSAVE supported
-- TBB include: C:/Program Files (x86)/IntelSWTools/openvino/deployment_tools/inference_engine/external/tbb/include
-- TBB Release lib: C:/Program Files (x86)/IntelSWTools/openvino/deployment_tools/inference_engine/lib/intel64/Release/tbb.lib
-- TBB Debug lib: C:/Program Files (x86)/IntelSWTools/openvino/deployment_tools/inference_engine/lib/intel64/Debug/tbb_debug.lib
-- Looking for pthread.h
-- Looking for pthread.h - not found
-- Found Threads: TRUE
-- Configuring done
-- Generating done
-- Build files have been written to: C:/Users/DELL/Documents/Intel/OpenVINO/inference_engine_samples_build

Waiting for 0 seconds, press a key to continue ...

###############|| Build Inference Engine samples using MS Visual Studio (MSBuild.exe) ||###############


Waiting for 0 seconds, press a key to continue ...
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\MSBuild.exe" Samples.sln /p:Configuration=Release /t:classification_sample_async /clp:ErrorsOnly /m
Microsoft (R) Build Engine version 16.3.2+e481bbf88 for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.


Waiting for 0 seconds, press a key to continue ...

###############|| Run Inference Engine classification sample ||###############


Waiting for 0 seconds, press a key to continue ...
        1 file(s) copied.
classification_sample_async.exe -i "C:\Program Files (x86)\IntelSWTools\openvino\deployment_tools\demo\\car.png" -m "C:\Users\DELL\Documents\Intel\OpenVINO\openvino_models\ir\FP16\public\squeezenet1.1\squeezenet1.1.xml" -d CPU
[ INFO ] InferenceEngine:
        API version ............ 2.1
        Build .................. 30677
        Description ....... API
[ INFO ] Parsing input parameters
[ INFO ] Parsing input parameters
[ INFO ] Files were added: 1
[ INFO ]     C:\Program Files (x86)\IntelSWTools\openvino\deployment_tools\demo\\car.png
[ INFO ] Creating Inference Engine
        CPU
        MKLDNNPlugin version ......... 2.1
        Build ........... 30677

[ INFO ] Loading network files
[ ERROR ] Error loading xmlfile: C:\Users\DELL\Documents\Intel\OpenVINO\openvino_models\ir\FP16\public\squeezenet1.1\squeezenet1.1.xml, File was not found at line: 1 pos: 0
Error

 

 

Jayesh
Beginner
796 Views

hey y'all 

I've been facing the following error while running demo_squeezenet_download_convert_run.bat

The system cannot find the path specified.
classification_sample.exe -i "D:\program files\openvino_2019.3.379\deployment_tools\demo\car.png" -m "C:\Users\home\Documents\Intel\OpenVINO\openvino_models\ir\FP32\classification\squeezenet\1.1\caffe\squeezenet1.1.xml" -d CPU
'classification_sample.exe' is not recognized as an internal or external command,
operable program or batch file.

Also there are no files at- C:\Users\home\Documents\Intel\OpenVINO\inference_engine_demos_build\intel64\Release\

I tried running build_samples_msvc but it can't find build tools for visual studio, although i've installed it multiple times.

Please help!!

Jhou__Yu_-_sin
Beginner
796 Views

Hello, please help me :(((

I have encountered a problem, it said "bad convertion" then just  stop... . i don't what happened here
My Env: VisualStudio2019, CMake 3.14, Python 3.6.5

Thanks

--- LOGS --- 

C:\Program Files (x86)\IntelSWTools\openvino\deployment_tools\demo>demo_squeezenet_download_convert_run
target_precision = FP16
Python 3.6.5
ECHO 已關閉。
PYTHONPATH=C:\Program Files (x86)\IntelSWTools\openvino\deployment_tools\open_model_zoo\tools\accuracy_checker;C:\Program Files (x86)\IntelSWTools\openvino\python\python3.6;C:\Program Files (x86)\IntelSWTools\openvino\python\python3;C:\Program Files (x86)\IntelSWTools\openvino\deployment_tools\model_optimizer;
[setupvars.bat] OpenVINO environment initialized
INTEL_OPENVINO_DIR is set to C:\Program Files (x86)\IntelSWTools\openvino
Python 3.6.5
ECHO 已關閉。
Requirement already satisfied: pyyaml in c:\users\語新\appdata\roaming\python\python36\site-packages (from -r C:\Program Files (x86)\IntelSWTools\openvino\deployment_tools\demo\..\open_model_zoo\tools\downloader\requirements.in (line 1)) (5.3)
Requirement already satisfied: requests in c:\users\語新\appdata\roaming\python\python36\site-packages (from -r C:\Program Files (x86)\IntelSWTools\openvino\deployment_tools\demo\..\open_model_zoo\tools\downloader\requirements.in (line 2)) (2.18.4)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in c:\users\語新\appdata\roaming\python\python36\site-packages (from requests->-r C:\Program Files (x86)\IntelSWTools\openvino\deployment_tools\demo\..\open_model_zoo\tools\downloader\requirements.in (line 2)) (3.0.4)
Requirement already satisfied: certifi>=2017.4.17 in c:\users\語新\appdata\roaming\python\python36\site-packages (from requests->-r C:\Program Files (x86)\IntelSWTools\openvino\deployment_tools\demo\..\open_model_zoo\tools\downloader\requirements.in (line 2)) (2019.11.28)
Requirement already satisfied: idna<2.7,>=2.5 in c:\users\語新\appdata\roaming\python\python36\site-packages (from requests->-r C:\Program Files (x86)\IntelSWTools\openvino\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\語新\appdata\roaming\python\python36\site-packages (from requests->-r C:\Program Files (x86)\IntelSWTools\openvino\deployment_tools\demo\..\open_model_zoo\tools\downloader\requirements.in (line 2)) (1.22)
Download public squeezenet1.1 model
python "C:\Program Files (x86)\IntelSWTools\openvino\deployment_tools\open_model_zoo\tools\downloader\downloader.py" --name "squeezenet1.1" --output_dir "C:\Users\語新\Documents\Intel\OpenVINO\openvino_models\models" --cache_dir "C:\Users\ 語新\Documents\Intel\OpenVINO\openvino_models\cache"
################|| Downloading models ||################

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

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

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

========== Replacing text in C:\Users\語新\Documents\Intel\OpenVINO\openvino_models\models\public\squeezenet1.1\squeezenet1.1.prototxt
squeezenet1.1 model downloading completed

等候  0 秒後,請按任何一個鍵繼續 ...

Target folder C:\Users\語新\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\語新\Documents\Intel\OpenVINO\openvino_models\ir\public\squeezenet1.1\FP16 folder.

等候  1 秒後,請按任何一個鍵繼續 ...

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


等候  1 秒後,請按任何一個鍵繼續 ...
Creating Visual Studio 16 2019 x64 files in C:\Users\語新\Documents\Intel\OpenVINO\inference_engine_samples_build...
-- Selecting Windows SDK version 10.0.18362.0 to target Windows 10.0.18363.
-- The C compiler identification is MSVC 19.25.28610.4
-- The CXX compiler identification is MSVC 19.25.28610.4
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Preview/VC/Tools/MSVC/14.25.28610/bin/Hostx64/x64/cl.exe
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Preview/VC/Tools/MSVC/14.25.28610/bin/Hostx64/x64/cl.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Preview/VC/Tools/MSVC/14.25.28610/bin/Hostx64/x64/cl.exe
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Preview/VC/Tools/MSVC/14.25.28610/bin/Hostx64/x64/cl.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found InferenceEngine: C:/Program Files (x86)/IntelSWTools/openvino/deployment_tools/inference_engine/lib/intel64/Release/inference_engine.lib (Required is at least version "2.1")
-- Configuring done
-- Generating done
-- Build files have been written to: C:/Users/語新/Documents/Intel/OpenVINO/inference_engine_samples_build

等候  5 秒後,請按任何一個鍵繼續 ...

###############|| Build Inference Engine samples using MS Visual Studio (MSBuild.exe) ||###############


等候  2 秒後,請按任何一個鍵繼續 ...
"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\MSBuild.exe" Samples.sln /p:Configuration=Release /t:classification_sample_async /clp:ErrorsOnly /m
Microsoft (R) Build Engine for .NET Framework 16.4.0+e901037fe 版
Copyright (C) Microsoft Corporation. 著作權所有,並保留一切權利。


等候  4 秒後,請按任何一個鍵繼續 ...

###############|| Run Inference Engine classification sample ||###############


等候  0 秒後,請按任何一個鍵繼續 ...
複製了         1 個檔案。
classification_sample_async.exe -i "C:\Program Files (x86)\IntelSWTools\openvino\deployment_tools\demo\car.png" -m "C:\Users\語新\Documents\Intel\OpenVINO\openvino_models\ir\public\squeezenet1.1\FP16\squeezenet1.1.xml" -d CPU
[ INFO ] InferenceEngine:
        API version ............ 2.1
        Build .................. 37988
        Description ....... API
[ INFO ] Parsing input parameters
[ INFO ] Parsing input parameters
[ INFO ] Files were added: 1
[ INFO ]     C:\Program Files (x86)\IntelSWTools\openvino\deployment_tools\demo\car.png
[ INFO ] Creating Inference Engine
        CPU
        MKLDNNPlugin version ......... 2.1
        Build ........... 37988

[ INFO ] Loading network files
[ ERROR ] bad conversion
Error