Community
cancel
Showing results for 
Search instead for 
Did you mean: 
ke__song
Beginner
84 Views

Unable to run smart classroom sample on CPU

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
84 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#support...

 

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

 

Regards,

Munesh

 

Reply