Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
100 Views

XML file not found

Hi,


I am trying the OpenVino demo for squeezenet. I get the following error: XML file cannot be found. In the directory of the demo, there is indeed the .bin file and a .labels file, but not the XML file. What can I do to solve this problem? Thanks.

 

###############|| 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\alexa\Documents\Intel\OpenVINO\inference_engine_samples_build...
-- Selecting Windows SDK version 10.0.18362.0 to target Windows 10.0.19041.
-- The C compiler identification is MSVC 19.27.29112.0
-- The CXX compiler identification is MSVC 19.27.29112.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.27.29110/bin/Hostx64/x64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.27.29110/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found InferenceEngine: C:/Program Files (x86)/Intel/openvino_2021/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/alexa/Documents/Intel/OpenVINO/inference_engine_samples_build

Waiting for 4 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\BuildTools\MSBuild\Current\Bin\MSBuild.exe" Samples.sln /p:Configuration=Release /t:cpp_samples\classification_sample_async /clp:ErrorsOnly /m
Microsoft (R) Build Engine version 16.7.0+b89cb5fde 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)\Intel\openvino_2021\deployment_tools\demo\car.png" -m "C:\Users\alexa\Documents\Intel\OpenVINO\openvino_models\ir\public\squeezenet1.1\FP16\squeezenet1.1.xml" -d CPU
[ INFO ] InferenceEngine:
API version ............ 2.1
Build .................. 2021.1.0-1237-bece22ac675-releases/2021/1
Description ....... API
[ INFO ] Parsing input parameters
[ INFO ] Parsing input parameters
[ INFO ] Files were added: 1
[ INFO ] C:\Program Files (x86)\Intel\openvino_2021\deployment_tools\demo\car.png
[ INFO ] Creating Inference Engine
CPU
MKLDNNPlugin version ......... 2.1
Build ........... 2021.1.0-1237-bece22ac675-releases/2021/1

[ INFO ] Loading network files
[ ERROR ] Model file C:\Users\alexa\Documents\Intel\OpenVINO\openvino_models\ir\public\squeezenet1.1\FP16\squeezenet1.1.xml cannot be opened!
Error

0 Kudos
3 Replies
Highlighted
Moderator
78 Views

Hi Ajansma,

 

Thank you for reaching out to us. If possible, could you remove the 'openvino_models' folder from the 'C:\Users\alexa\Documents\Intel\OpenVINO' and run the demo again?

 

If it doesn't work, please check and verify that the following files are available in 'C:\Users\alexa\Documents\Intel\OpenVINO\openvino_models\models\public\squeezenet1.1':

  • squeezenet1.1.caffemodel
  • squeezenet1.1.prototxt
  • squeezenet1.1.prototxt.orig

 

Thank you.

 

Regards,

Adli

 

0 Kudos
Highlighted
Beginner
74 Views

It works now, thanks.

 

I also had to install python 3.7.9 instead of 3.9, and I also encountered the problem in:

 

https://developercommunity.visualstudio.com/content/problem/1207405/fmod-after-an-update-to-windows-...

Which was solved by Use 1.19.3 Install with pip install numpy==1.19.3.

Greets

0 Kudos
Highlighted
Moderator
38 Views

Hi Ajansma,


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


Regards,

Adli


0 Kudos