Intel® Distribution of OpenVINO™ Toolkit
Community assistance about the Intel® Distribution of OpenVINO™ toolkit, OpenCV, and all aspects of computer vision-related on Intel® platforms.

OpenVINO

lim__ky
Beginner
607 Views

Hi, I'm trying to run openVINO following this link

Everything's fine until I run "demo_squeezenet_download_convert_run.bat"

It says "Error loading xmlfile:...squeezenet1.1.xml, File was not found"

Upon checking, there's only "squeezenet1.1.labels" in the "..\Intel\OpenVINO\openvino_models\ir\FP16\classification\squeezenet\1.1\caffe" folder.

Appreciate if anyone can help..

Microsoft Windows [Version 10.0.17134.885]
(c) 2018 Microsoft Corporation. All rights reserved.

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

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;
[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\limky\appdata\roaming\python\python36\site-packages
Requirement already satisfied: requests in c:\users\limky\appdata\roaming\python\python36\site-packages
Requirement already satisfied: urllib3<1.23,>=1.21.1 in c:\users\limky\appdata\roaming\python\python36\site-packages (from requests)
Requirement already satisfied: certifi>=2017.4.17 in c:\users\limky\appdata\roaming\python\python36\site-packages (from requests)
Requirement already satisfied: idna<2.7,>=2.5 in c:\users\limky\appdata\roaming\python\python36\site-packages (from requests)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in c:\users\limky\appdata\roaming\python\python36\site-packages (from requests)
You are using pip version 9.0.1, however version 19.2.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\limky\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\limky\Documents\Intel\OpenVINO\openvino_models\models\FP16 --cache_dir C:\Users\limky\Documents\Intel\OpenVINO\openvino_models\ir\cache

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

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

========= Retrieving C:\Users\limky\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\limky\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\limky\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\limky\Documents\Intel\OpenVINO\openvino_models\ir\FP16\classification\squeezenet\1.1\caffe folder.

Waiting for 2 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 16 2019 x64 files in C:\Users\limky\Documents\Intel\OpenVINO\inference_engine_samples_build...
-- Selecting Windows SDK version 10.0.18362.0 to target Windows 10.0.17134.
-- The C compiler identification is MSVC 19.22.27905.0
-- The CXX compiler identification is MSVC 19.22.27905.0
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.22.27905/bin/Hostx64/x64/cl.exe
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.22.27905/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/BuildTools/VC/Tools/MSVC/14.22.27905/bin/Hostx64/x64/cl.exe
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.22.27905/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.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/limky/Documents/Intel/OpenVINO/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)\Microsoft Visual Studio\2019\BuildTools\MSBuild\Current\Bin\MSBuild.exe" Samples.sln /p:Configuration=Release /t:classification_sample_async /clp:ErrorsOnly /m
Microsoft (R) Build Engine version 16.2.32702+c4012a063 for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.


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

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


Waiting for 2 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\limky\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\limky\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

 


Thank you.

0 Kudos
1 Reply
Kenneth_C_Intel
Employee
607 Views

C:\Users\limky\Documents\Intel\OpenVINO\openvino_models\models\FP16\classification\squeezenet\1.1\caffe\squeezenet1.1.prototxt

Delete the model that you previously  downloaded and retry the demo. 

See if it works. 

Sounds like the download may have failed. 

 

0 Kudos
Reply