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

NCS2 - smart_classroom_demo - [ ERROR ] [NOT_FOUND] DYN_BATCH_ENABLED key does not exist

Shiba__Sidney
Beginner
415 Views

Hello,

I have installed OpenVINO 2018R4 (Build date:12 Nov 2018) on a Ubuntu 16.04 VM and when running the demo smart_classroom_demo I got the following error " [ ERROR ] [NOT_FOUND] DYN_BATCH_ENABLED key does not exist". Note that NCS2 stick is plugged and working. Tested on another demo without any problem.

See the execution trace below:

<TRACE>

smart_classroom_demo -d_act  MYRIAD -m_act  $MODELS/face-detection-retail-0004/FP16/face-detection-retail-0004.xml -d_fd   MYRIAD -m_fd   $MODELS/landmarks-regression-retail-0009/FP16/landmarks-regression-retail-0009.xml                      -d_reid MYRIAD -m_reid $MODELS/face-reidentification-retail-0071/FP16/face-reidentification-retail-0071.xml                      -d_lm   MYRIAD -m_lm   $MODELS/person-detection-action-recognition-0003/FP16/person-detection-action-recognition-0003.xml   -fg /home/sshiba/Pictures/faces_gallery.json

InferenceEngine:
    API version ............ 1.4
    Build .................. 17328
[ INFO ] Parsing input parameters
Reading video 'cam'
Loading plugin MYRIAD

    API version ............ 1.4
    Build .................. 17328
    Description ....... myriadPlugin
[ ERROR ] [NOT_FOUND] DYN_BATCH_ENABLED key does not exist

</TRACE>

I couldn't find any information on this error. Can anybody help resolving this issue?

Thanks in advance.

0 Kudos
2 Replies
Severine_H_Intel
Employee
415 Views

Dear Sidney, 

the movidius stick does not support dynamic batch feature which is activated for all models in the smart_classroom demo. Also our documentation shows that 2 models landmarks-regression-retail-0009 and  person-detection-action-recognition-0003 are not supported on Movidius: deployment_tools/documentation/docs/_docs_IE_DG_Samples_Overview.html

Therefore, you should run this demo with CPU or GPU. 

Finally, in case, you are interested in running it in CPU, you have the models at the wrong arguments in the command line, here is the correct order. 

smart_classroom_demo.exe -m_act $MODELS\person-detection-action-recognition-0003\FP32\person-detection-action-recognition-0003.xml -m_fd $MODELS\face-detection-retail-0004\FP32\face-detection-retail-0004.xml -m_lm $MODELS\landmarks-regression-retail-0009\FP32\landmarks-regression-retail-0009.xml -m_reid $MODELS\face-reidentification-retail-0071\FP32\face-reidentification-retail-0071.xml -d_act CPU -d_fd CPU -d_lm CPU -d_reid CPU

Best, 

Severine

 

0 Kudos
Rozeboom__Niels
Beginner
415 Views

Dear Severine,

 

are there any plans making the smart_classroom demo available for raspberry Pi in combination with the NCS2?

 

Kind regards,

Niels

0 Kudos
Reply