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

Unable to run smart classroom sample on CPU

ke__song
Beginner
404 Views

I want to run the smart_classroom_demo on windows 10 with openvino_2020.2.117, using the command:

smart_classroom_demo.exe -i "cam" -m_act "person-detection-action-recognition-0003.xml" -m_fd "face-detection-adas-0001.xml" -m_lm "landmarks-regression-retail-0009.xml" -m_reid "face-reidentification-retail-0095.xml"

but I get the error:

MKLDNNGraph::CreateGraph: such topology cannot be compiled for dynamic batch!

However, it works when I changed device to GPU.

0 Kudos
1 Reply
Munesh_Intel
Moderator
404 Views

Hi Song,

There are two possible reasons for being able to run the demo in GPU, but not in CPU. 

Firstly, OpenVINO supports only 6th to 10th generation Intel® Core™ processors. Please check your CPU details to ensure that it conforms to OpenVINO requirements.

The relevant information regarding these can be found at the following link:

https://software.intel.com/content/www/us/en/develop/tools/openvino-toolkit/hardware.html

 

The second possibility is that the pre-trained models that you are using contain layers that are not fully supported by CPU for Dynamic Batching feature. There are layers where CPU support is implemented via Extensibility Mechanism, whilst for some layers, CPU supports NCDHW layout.

The list of layers supported by the different plugins is available at the following page:

https://docs.openvinotoolkit.org/latest/_docs_IE_DG_supported_plugins_Supported_Devices.html#supported_layers

 

Meanwhile, the list of layers supported for Dynamic Batching is available here:

https://docs.openvinotoolkit.org/2020.2/_docs_IE_DG_DynamicBatching.html#limitations

 

The following article will walk you through setting up and running the Smart Classroom Demo on Windows.

https://software.intel.com/content/www/us/en/develop/articles/smart-classroom-demo-microsoft-windows.html

 

Regards,

Munesh

 

0 Kudos
Reply