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.

Can't run object detection sample with GPU

CLu1
Novice
1,660 Views

OpenVINO version is 2018.1.265

OS Ubuntu 16.04

Platform N4200 UP2 board

Then I run  "sudo -E ./object_detection_sample_ssd -d GPU -i ./car_300x300.bmp -m ./ssd300.xml"

It show below information.

$: /opt/intel/computer_vision_sdk/deployment_tools/inference_engine/samples/build/intel64/Release$ sudo -E ./object_detection_sample_ssd -d GPU -i ./car_300x300.bmp -m ./ssd300.xml
[ INFO ] InferenceEngine:
    API version ............ 1.0
    Build .................. 10478
Parsing input parameters
[ INFO ] Loading plugin
[ ERROR ] Cannot find plugin to use :Tried load plugin : clDNNPlugin,  error: Plugin clDNNPlugin cannot be loaded: cannot load plugin: clDNNPlugin from : Cannot load library 'libclDNNPlugin.so': libclDNN64.so: cannot open shared object file: No such file or directory, skipping
cannot load plugin: clDNNPlugin from ../../../lib/intel64: Cannot load library '../../../lib/intel64/libclDNNPlugin.so': ../../../lib/intel64/libclDNNPlugin.so: cannot open shared object file: No such file or directory, skipping
cannot load plugin: clDNNPlugin from : Cannot load library 'libclDNNPlugin.so': libclDNN64.so: cannot open shared object file: No such file or directory, skipping

Below is my LD_LIBRARY_PATH

LD_LIBRARY_PATH=/opt/intel/computer_vision_sdk_2018.1.265/opencv/share/OpenCV/3rdparty/lib:/opt/intel/computer_vision_sdk_2018.1.265/opencv/lib:/opt/intel/opencl:/opt/intel/computer_vision_sdk_2018.1.265/deployment_tools/inference_engine/lib/intel64:/opt/intel/computer_vision_sdk_2018.1.265/deployment_tools/inference_engine/external/cldnn/lib:/opt/intel/computer_vision_sdk_2018.1.265/deployment_tools/inference_engine/external/mkltiny_lnx/lib:/opt/intel/computer_vision_sdk_2018.1.265/deployment_tools/inference_engine/lib/ubuntu_16.04/intel64:/opt/intel/computer_vision_sdk_2018.1.265/deployment_tools/model_optimizer/model_optimizer_caffe/bin:/opt/intel/computer_vision_sdk_2018.1.265/openvx/lib:

 

0 Kudos
7 Replies
Severine_H_Intel
Employee
1,660 Views

Hi Collins L.,

for the platform N4200 UP2 board, OpenVINO™ toolkit only supports CPU as target hardware as you can find at this link: https://software.intel.com/en-us/openvino-toolkit (section Target System Platforms).

Best regards, 

Severine

 

0 Kudos
CLu1
Novice
1,660 Views

Hi Severine,

Thanks!

But N4200 it has Intel HD Graphic.

CPU:

  • 6th to 8th Generation Intel Core and Intel Xeon processors
  • Intel® Pentium® processor N4200/5, N3350/5, N3450/5 with Intel® HD Graphics

Graphics:

  • 6th to 8th generation Intel Core processor with Iris® Pro graphics and Intel HD Graphics
  • 6th to 8th generation Intel Xeon processor with Iris Pro graphics and Intel HD Graphics (excluding the e5 product family, which does not have graphics)
0 Kudos
Severine_H_Intel
Employee
1,660 Views

Hi Colins L.,

I know it is a bit confusing but as you can see Intel® Pentium® processor N4200/5, N3350/5, N3450/5 with Intel® HD Graphics is only listed under CPU and not Graphics (GPU). So even though it has Intel® HD Graphics, it won't be able to run with -d GPU option. Your CPU would need to be Core or Xeon for being able to run with -d GPU option. 

Best regards, 

Severne

 

0 Kudos
CLu1
Novice
1,661 Views

Hi Severne,

Thanks.

By the way, May I ask the other question?

The compatible OS for N4200 is Yocto project.

Does it mean there is no support for N4200 with ubuntu OS ?

CPU

Processors

Compatible Operating Systems

6th to 8th generation Intel Core and Intel Xeon processors
  • Ubuntu 16.04.3 LTS (64 bit)
  • Windows 10 (64 bit)
  • CentOS 7.4 (64 bit)
Intel® Pentium® processor N4200/5, N3350/5, N3450/5 with Intel® HD Graphics Yocto Project* Poky Jethro v2.0.3 (64 bit)
0 Kudos
Severine_H_Intel
Employee
1,661 Views

Hi Collins, 

the requirements page shows where the hardware has been tested and is supported. It might happen that, out of the list, it works. We can not assure it and support it, however. 

Update 09/05/2018:  our dev team has tested Platform N4200 UP2 board with OpenVINO and it is working.

Best, 

Severine

0 Kudos
om77
New Contributor I
1,661 Views

Hi,

just to place a confirmation here.

Pentium N4200 is working in GPU mode (tested on current R4 OpenVino) on Up Squared board.

Our setup uses Debian 9 with regular kernel 4.9.135 and intel-opencl_18.42.11702_amd64.deb driver.

0 Kudos
nikos1
Valued Contributor I
1,661 Views

Hi Collins L.,

I also agree with om77 that you should be able to get the https://ark.intel.com/products/95592/Intel-Pentium-Processor-N4200-2M-Cache-up-to-2-5-GHz-  to run -d GPU. I had it working before too.

First step would be to install OpenCL environment and get clinfo to enumerate and report the Intel GPU device. There are threads that have some tips on how to achieve this. Can be tricky and you may have to get a more recent kernel.

Cheers,

Nikos

0 Kudos
Reply