Community
cancel
Showing results for 
Search instead for 
Did you mean: 
nnain1
New Contributor I
324 Views

failed to create engine: clGetPlatformIDs error -1001

I run this command

~/inference_engine_samples_build/intel64/Release$ ./object_detection_demo_ssd_async -i TestVideos/IMG_5715.MOV -m OpenvinoModel/fp16/openvino_ssdlite_mobilenetv2.xml -d GPU

I have error as 

InferenceEngine:
    API version ............ 1.6
    Build .................. custom_releases/2019/R1_c9b66a26e4d65bb986bb740e73f58c6e9e84c7c2
[ INFO ] Parsing input parameters
[ INFO ] Reading input
[ INFO ] Loading plugin

    API version ............ 1.6
    Build .................. 22443
    Description ....... clDNNPlugin
[ INFO ] Loading network files
[ INFO ] Batch size is forced to  1.
[ INFO ] Checking that the inputs are as the demo expects
[ INFO ] Checking that the outputs are as the demo expects
[ INFO ] Loading model to the plugin
[ ERROR ] failed to create engine: clGetPlatformIDs error -1001

 

I followed instructions  here

for GPU and it was ok.

My cpu is Intel® Core™ i7-2640M CPU @ 2.80GHz × 4

and GPU is Intel® Sandybridge Mobile

How to fix error?

 

0 Kudos
4 Replies
Shubha_R_Intel
Employee
324 Views

Dear nyan, from where did you get the original model ? if you choose from this list of supported and tested models your model optimizer command and inference should work. Can you kindly try one of the supported ssd models ?

Thanks for using OpenVino,

Shubha

 

nnain1
New Contributor I
324 Views

Hi Shubba, I used the ssdlite_mobilenet_v2_coco from here

It is supported in your list.

So it should be fine.

Could it be the issue is my driver installation has issue?

I am trying to reinstall and I have to manually remove previous installation.

 

./install_NEO_OCL_driver.sh
Intel OpenCL graphics driver installer
Looking for previously installed user-mode driver...
dpkg-query: no packages found matching intel-opencl
dpkg-query: no packages found matching intel-ocloc
dpkg-query: no packages found matching intel-gmmlib
Found intel-igc-core installed, uninstalling...
dpkg: dependency problems prevent removal of intel-igc-core:
 intel-igc-opencl depends on intel-igc-core.

dpkg: error processing package intel-igc-core (--purge):
 dependency problems - not removing
Errors were encountered while processing:
 intel-igc-core
ERROR: unable to remove intel-igc-core
       please resolve it manually and try to launch the script again.

 

How can I check my driver installation is fine?

If necessary to reinstall, how can I remove previous installation?

Michael_C_Intel1
Moderator
324 Views

Hi NyanN,

Removing packages on an Ubuntu* OS system can be accomplished with aptitude or dpkg. 

  • Perhaps try uninstalling manually up the dependency chain? Start with removing intel-igc-opencl prior to removing intel-igc-core via aptitude or dpkg... then as the script instructs launch the script again.
    • sudo apt-get remove <package-name> is a shell command to remove a package via aptitude.
  • The script appears to be uninstalling in the incorrect order... Intel may have to look into it... but to my knowledge this is the first time seeing this issue. Did you happen to alter any of the OpenCL runtime installation outside of the OpenVino scripts? If so how?
  • Release notes for NEO OpenCL runtime for Intel Graphics are here. The intent of the script is to avoid manual install... however release notes may help determine what happened to your configuration manually.

Thanks,

-MichaelC

Michael_C_Intel1
Moderator
324 Views

Hello NyanN,

Oh sorry... I accidentally skipped over one of the details you provided.

The NEO runtime, Intel® Graphics Compute Runtime for OpenCL™ driver, is not supported on Intel® Core™ i7-2640M. I expect this to be the issue related to the OpenCL™ api call failing in the example.

OpenVINO is also not supported on Intel® Core™ i7-2640M. Please have a look at the release notes for OpenVINO as well. 

 

-MichaelC

Reply