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.

error when run demo command

Heng__Chin
Beginner
628 Views

follow installation guide as https://software.intel.com/en-us/articles/OpenVINO-Install-Windows#VisualStudio-Application

got error while run command "demo_squeezenet_download_convert_run.bat"

how to fix this error ?

0 Kudos
2 Replies
Chan__William
Beginner
628 Views

can u describe your error more specifically?

0 Kudos
Kulecz__Walter
New Contributor I
628 Views

I'm having the same problem,  the instructions for Linux had a few issues with running as root or not but I straightened things out with a few chown -R commands (it put stuff root.root in my home directory which caused issues) but I'm not very familiar with Windows 10.

My error is different that the one shown in the OP attached png screen shot.

Here is a cut and paste of the error text:

C:\Intel\computer_vision_sdk\deployment_tools\demo>dir
 Volume in drive C has no label.
 Volume Serial Number is AAF0-3221

 Directory of C:\Intel\computer_vision_sdk\deployment_tools\demo

02/23/2019  11:09 PM    <DIR>          .
02/23/2019  11:09 PM    <DIR>          ..
01/28/2019  12:56 PM           310,725 car.png
01/28/2019  12:56 PM         1,432,032 car_1.bmp
01/28/2019  12:56 PM             6,640 demo_security_barrier_camera.bat
01/28/2019  12:56 PM             8,796 demo_squeezenet_download_convert_run.bat
01/28/2019  12:56 PM             2,995 README.txt
01/28/2019  12:56 PM            22,675 squeezenet1.1.labels
               6 File(s)      1,783,863 bytes
               2 Dir(s)  95,262,998,528 bytes free

C:\Intel\computer_vision_sdk\deployment_tools\demo>demo_squeezenet_download_convert_run.bat
target_precision = FP32
INTEL_CVSDK_DIR is set to C:\Intel\computer_vision_sdk
Python 3.6.5
ECHO is off.
Collecting pyyaml
  Downloading https://files.pythonhosted.org/packages/4f/ca/5fad249c5032270540c24d2189b0ddf1396aac49b0bdc548162edcf14131/PyYAML-3.13-cp36-cp36m-win_amd64.whl (206kB)
    100% |ŠŠŠŠŠŠŠŠŠŠŠŠŠŠŠŠŠŠŠŠŠŠŠŠŠŠŠŠŠŠŠŠ| 215kB 3.3MB/s
Requirement already satisfied: requests in c:\users\mini pc\appdata\roaming\python\python36\site-packages
Requirement already satisfied: urllib3<1.23,>=1.21.1 in c:\users\mini pc\appdata\roaming\python\python36\site-packages (from requests)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in c:\users\mini pc\appdata\roaming\python\python36\site-packages (from requests)
Requirement already satisfied: idna<2.7,>=2.5 in c:\users\mini pc\appdata\roaming\python\python36\site-packages (from requests)
Requirement already satisfied: certifi>=2017.4.17 in c:\users\mini pc\appdata\roaming\python\python36\site-packages (from requests)
Installing collected packages: pyyaml
Successfully installed pyyaml-3.13
You are using pip version 9.0.3, however version 19.0.3 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\MINI PC\Documents\Intel\OpenVINO\openvino_models\models\FP32\classification\squeezenet\1.1\caffe\squeezenet1.1.prototxt

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

Target folder C:\Users\MINI PC\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\MINI PC\Documents\Intel\OpenVINO\openvino_models\ir\FP32\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 ...

Target folder C:\Users\MINI PC\Documents\Intel\OpenVINO\inference_engine_samples_2017 already exists. Skipping samples building.
If you want to rebuild samples, remove the entire C:\Users\MINI PC\Documents\Intel\OpenVINO\inference_engine_samples_2017 folder.

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

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


Waiting for 0 seconds, press a key to continue ...
The system cannot find the path specified.
        0 file(s) copied.
The system cannot find the path specified.
classification_sample.exe -i C:\Intel\computer_vision_sdk\deployment_tools\demo\\car.png -m "C:\Users\MINI PC\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.
Error

This form code combined with Windows cmd cut and paste looks pretty bad!

I had problems with the Linux installs not building the samples, there was no interference_engine_samples/Intel64/Release directory.  I was able to fix it by doing make in the inference_engine_samples directory (where I discovered it was coppied as root and thus wouldn't work until I did chown -R).

 

I've no idea how to do this on Windows.

 

0 Kudos
Reply