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

[ ERROR ] Cannot find plugin for device: Default

When I running  ./demo_squeezenet_download_convert_run.sh -d -MYRIAD

target = -MYRIAD
target_precision = FP32


###################################################

Downloading the Caffe model and the prototxt
Installing dependencies
Run sudo -E apt -y install build-essential python3-pip virtualenv cmake libpng12-dev libcairo2-dev libpango1.0-dev libglib2.0-dev libgtk2.0-dev libswscale-dev libavcodec-dev libavformat-dev libgstreamer1.0-0 gstreamer1.0-plugins-base
Hit:1 http://mirrors.tuna.tsinghua.edu.cn/ubuntu xenial InRelease
Get:2 http://mirrors.tuna.tsinghua.edu.cn/ubuntu xenial-updates InRelease [109 kB]
Get:3 http://mirrors.tuna.tsinghua.edu.cn/ubuntu xenial-backports InRelease [107 kB]
Get:4 http://mirrors.tuna.tsinghua.edu.cn/ubuntu xenial-security InRelease [107 kB]
Hit:5 http://ppa.launchpad.net/damien-moore/codeblocks-stable/ubuntu xenial InRelease
Hit:6 http://ppa.launchpad.net/deadsnakes/ppa/ubuntu xenial InRelease         
Hit:7 http://ppa.launchpad.net/fkrull/deadsnakes/ubuntu xenial InRelease      
Hit:8 http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu xenial InRelease   
Fetched 323 kB in 3s (97.8 kB/s)                   
Reading package lists... Done
Building dependency tree       
Reading state information... Done
260 packages can be upgraded. Run 'apt list --upgradable' to see them.
Reading package lists... Done
Building dependency tree       
Reading state information... Done
build-essential is already the newest version (12.1ubuntu2).
libcairo2-dev is already the newest version (1.14.6-1).
libpango1.0-dev is already the newest version (1.38.1-1).
cmake is already the newest version (3.5.1-1ubuntu3).
gstreamer1.0-plugins-base is already the newest version (1.8.3-1ubuntu0.2).
libglib2.0-dev is already the newest version (2.48.2-0ubuntu4.1).
libgstreamer1.0-0 is already the newest version (1.8.3-1~ubuntu0.1).
libgtk2.0-dev is already the newest version (2.24.30-1ubuntu1.16.04.2).
libpng12-dev is already the newest version (1.2.54-1ubuntu1.1).
libavcodec-dev is already the newest version (7:2.8.15-0ubuntu0.16.04.1).
libavformat-dev is already the newest version (7:2.8.15-0ubuntu0.16.04.1).
libswscale-dev is already the newest version (7:2.8.15-0ubuntu0.16.04.1).
python3-pip is already the newest version (8.1.1-2ubuntu0.4).
virtualenv is already the newest version (15.0.1+ds-3ubuntu1).
0 upgraded, 0 newly installed, 0 to remove and 260 not upgraded.
The directory '/home/liuxiaowei/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/home/liuxiaowei/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Requirement already satisfied: pyyaml in /usr/local/lib/python3.6/site-packages
Requirement already satisfied: requests in /usr/local/lib/python3.6/site-packages
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in /usr/local/lib/python3.6/site-packages (from requests)
Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.6/site-packages (from requests)
Requirement already satisfied: urllib3<1.25,>=1.21.1 in /usr/local/lib/python3.6/site-packages (from requests)
Requirement already satisfied: idna<2.9,>=2.5 in /usr/local/lib/python3.6/site-packages (from requests)
You are using pip version 9.0.3, however version 18.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Run /opt/intel/computer_vision_sdk_2018.4.420/deployment_tools/demo/../model_downloader/downloader.py --name "squeezenet1.1" --output_dir "/home/liuxiaowei/openvino_models/FP32"


###############|| Start downloading models ||###############

...100%, 9 KB, 40019 KB/s, 0 seconds passed ========= squeezenet1.1.prototxt ====> /home/liuxiaowei/openvino_models/FP32/classification/squeezenet/1.1/caffe/squeezenet1.1.prototxt

###############|| Start downloading weights ||###############

...100%, 4834 KB, 116 KB/s, 41 seconds passed ========= squeezenet1.1.caffemodel ====> /home/liuxiaowei/openvino_models/FP32/classification/squeezenet/1.1/caffe/squeezenet1.1.caffemodel

###############|| Start downloading topologies in tarballs ||###############


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

========= Changing input dimensions in squeezenet1.1.prototxt =========


###################################################

Configure Model Optimizer

INTEL_CVSDK_DIR environment variable is not set. Trying to run ./setvars.sh to set it.
[setupvars.sh] OpenVINO environment initialized


###################################################

Install Model Optimizer dependencies

Hit:1 http://mirrors.tuna.tsinghua.edu.cn/ubuntu xenial InRelease
Hit:2 http://mirrors.tuna.tsinghua.edu.cn/ubuntu xenial-updates InRelease
Hit:3 http://mirrors.tuna.tsinghua.edu.cn/ubuntu xenial-backports InRelease
Hit:4 http://mirrors.tuna.tsinghua.edu.cn/ubuntu xenial-security InRelease
Hit:5 http://ppa.launchpad.net/damien-moore/codeblocks-stable/ubuntu xenial InRelease
Hit:6 http://ppa.launchpad.net/deadsnakes/ppa/ubuntu xenial InRelease         
Hit:7 http://ppa.launchpad.net/fkrull/deadsnakes/ubuntu xenial InRelease      
Hit:8 http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu xenial InRelease   
Reading package lists... Done                      
Building dependency tree       
Reading state information... Done
260 packages can be upgraded. Run 'apt list --upgradable' to see them.
Reading package lists... Done
Building dependency tree       
Reading state information... Done
python3-venv is already the newest version (3.5.1-3).
libgfortran3 is already the newest version (5.4.0-6ubuntu1~16.04.11).
python3-pip is already the newest version (8.1.1-2ubuntu0.4).
0 upgraded, 0 newly installed, 0 to remove and 260 not upgraded.
The directory '/home/liuxiaowei/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/home/liuxiaowei/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Requirement already satisfied: networkx>=1.11 in /usr/local/lib/python3.6/site-packages (from -r /opt/intel/computer_vision_sdk_2018.4.420/deployment_tools/model_optimizer/install_prerequisites/../requirements_caffe.txt (line 1))
Requirement already satisfied: numpy>=1.12.0 in /usr/local/lib/python3.6/site-packages (from -r /opt/intel/computer_vision_sdk_2018.4.420/deployment_tools/model_optimizer/install_prerequisites/../requirements_caffe.txt (line 2))
Requirement already satisfied: protobuf==3.5.1 in /usr/local/lib/python3.6/site-packages (from -r /opt/intel/computer_vision_sdk_2018.4.420/deployment_tools/model_optimizer/install_prerequisites/../requirements_caffe.txt (line 3))
Requirement already satisfied: decorator>=4.3.0 in /usr/local/lib/python3.6/site-packages (from networkx>=1.11->-r /opt/intel/computer_vision_sdk_2018.4.420/deployment_tools/model_optimizer/install_prerequisites/../requirements_caffe.txt (line 1))
Requirement already satisfied: six>=1.9 in /usr/local/lib/python3.6/site-packages (from protobuf==3.5.1->-r /opt/intel/computer_vision_sdk_2018.4.420/deployment_tools/model_optimizer/install_prerequisites/../requirements_caffe.txt (line 3))
Requirement already satisfied: setuptools in /usr/local/lib/python3.6/site-packages (from protobuf==3.5.1->-r /opt/intel/computer_vision_sdk_2018.4.420/deployment_tools/model_optimizer/install_prerequisites/../requirements_caffe.txt (line 3))
You are using pip version 9.0.3, however version 18.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
[WARNING] All Model Optimizer dependencies are installed globally.
[WARNING] If you want to keep Model Optimizer in separate sandbox
[WARNING] run install_prerequisites.sh venv {caffe|tf|mxnet|kaldi|onnx}


###################################################

Convert a model with Model Optimizer

Target folder /home/liuxiaowei/openvino_models/ir/squeezenet1.1/FP32 already exists. Skipping IR generation../demo_squeezenet_download_convert_run.sh: line 181: If you want to convert a model again, remove the entire ${$ir_dir} folder. ${run_again}: bad substitution


###################################################

Build Inference Engine samples

Target folder /home/liuxiaowei/inference_engine_samples already exists. Skipping samples building.If you want to rebuild samples, remove the entire /home/liuxiaowei/inference_engine_samples folder. Then run the script again

###################################################

Run Inference Engine classification sample

Run ./classification_sample -d -MYRIAD -i /opt/intel/computer_vision_sdk_2018.4.420/deployment_tools/demo/../demo/car.png -m /home/liuxiaowei/openvino_models/ir/squeezenet1.1/FP32/squeezenet1.1.xml

[ INFO ] InferenceEngine:
    API version ............ 1.4
    Build .................. 17328
[ INFO ] Parsing input parameters
[ INFO ] Files were added: 1
[ INFO ]     /opt/intel/computer_vision_sdk_2018.4.420/deployment_tools/demo/../demo/car.png
[ INFO ] Loading plugin
[ ERROR ] Cannot find plugin for device: Default
Error on or near line 215; exiting with status 1

I am very hurry ,thank you so much.

 

0 Kudos
7 Replies
Highlighted
Valued Contributor I
23 Views

Please try FP16

0 Kudos
Highlighted
Valued Contributor I
23 Views

Hello Xiaowei,

> [ ERROR ] Cannot find plugin for device: Default

The error comes from a typo - please try again without the -MYRIAD (just use -d MYRIAD)

 

./classification_sample -d MYRIAD -i /opt/intel/computer_vision_sdk_2018.4.420/deployment_tools/demo/../demo/car.png -m /home/liuxiaowei/openvino_models/ir/squeezenet1.1/FP32/squeezenet1.1.xml

And lease try FP16 when you generate IR or you will get this error

[ ERROR ] [VPU] Unsupported network precision : FP32

To generate FP16 IR you can add --data_type=FP16 to the model optimizer command.

Let us know if you have any issues.

Nikos

0 Kudos
Highlighted
Beginner
23 Views

thank you very much

 

 

 

 

 

 
0 Kudos
Highlighted
Valued Contributor I
23 Views

You are welcome!

Let us now if you see any more issues.

kind regards,

nikos

0 Kudos
Highlighted
Beginner
23 Views

sorry I don't quite understand,Can you tell me some detail? such as how to use FP16. because I use ./demo_squeezenet_download_convert_run.sh -d CPU also have same error

 

0 Kudos
Highlighted
Innovator
23 Views

@Liu, Xiaowei It is as nikos says. Just execute the following. The file of FP16 is automatically generated. mistake ー> "-d -MYRIAD" correct ー> "-d MYRIAD" - When using NCS or NCS 2 or GPU ./demo_squeezenet_download_convert_run.sh -d MYRIAD - When using CPU ./demo_squeezenet_download_convert_run.sh -d CPU
0 Kudos
Highlighted
Beginner
23 Views

Thank you very much. The demo have completed successfully. I first use this NCS. Thank you again

0 Kudos