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.
6516 Discussions

Cannot find device with Openvino 2023.2 benchmark_app C++ example

Luo__Andy
Novice
1,331 Views

Hi, I built the C++ examples with Openvino 2023.2. However, when I ran it, the following errors happend. Please let me know how to fix it. 


Processor: Intel(R) Core(TM) Ultra 7 155H 3.80 GHz
OS: Windows 11 Home

Visual Studio 2019 with MSBuild

cmake version 3.28.1

Python: 3.11.7

 

 

(openvino_env) C:\Users\andyl\Documents\Intel\OpenVINO\openvino_cpp_samples_build\intel64\Release>benchmark_app.exe -m C:\Users\andyl\Documents\Intel\public\resnet-50-pytorch\FP16\resnet-50-pytorch.xml
[Step 1/11] Parsing and validating input arguments
[ INFO ] Parsing input parameters
[Step 2/11] Loading OpenVINO Runtime
[ INFO ] OpenVINO:
[ INFO ] Build ................................. 2023.2.0-13089-cfd42bd2cb0-HEAD
[ INFO ]
[ INFO ] Device info:
[ INFO ]
[Step 3/11] Setting device configuration
[ ERROR ] Exception from src\inference\src\core.cpp:248:
Exception from src\inference\src\dev\core_impl.cpp:559:
Device with "CPU" name is not registered in the OpenVINO Runtime

 

(openvino_env) C:\Users\andyl\Documents\Intel\OpenVINO\openvino_cpp_samples_build\intel64\Release>benchmark_app.exe -m C:\Users\andyl\Documents\Intel\public\resnet-50-pytorch\FP16\resnet-50-pytorch.xml -d AUTO
[Step 1/11] Parsing and validating input arguments
[ INFO ] Parsing input parameters
[Step 2/11] Loading OpenVINO Runtime
[ INFO ] OpenVINO:
[ INFO ] Build ................................. 2023.2.0-13089-cfd42bd2cb0-HEAD
[ INFO ]
[ INFO ] Device info:
[ INFO ]
[Step 3/11] Setting device configuration
[ ERROR ] Exception from src\inference\src\core.cpp:248:
Exception from src\inference\src\dev\core_impl.cpp:559:
Device with "AUTO" name is not registered in the OpenVINO Runtime

0 Kudos
2 Replies
Megat_Intel
Moderator
1,295 Views

Hi Luo__Andy,

Thank you for reaching out to us.

 

From your error message, it seems that your OpenVINO™ Runtime is unable to detect/recognize your devices. For your information, I was able to install OpenVINO™ Runtime 2023.2.0 from the archive and successfully ran the C++ Benchmark Sample.

 cpp_1.png

 

Could you please try to reinstall OpenVINO™ 2023.2.0 from the archive file again and run the Hello Query Device sample to verify all the devices available for inference?

 

 

Regards,

Megat

 

0 Kudos
Megat_Intel
Moderator
1,190 Views

Hi Luo__Andy,

Thank you for your question. If you need additional information from Intel, please submit a new question as this thread is no longer being monitored.

 

 

Regards,

Megat


0 Kudos
Reply