Community
cancel
Showing results for 
Search instead for 
Did you mean: 
MIfil
Beginner
261 Views

[ ERROR ] AssertionFailed: inputs.size() == 1

Running into this error when trying to build the Object Detection Sample. Can someone help me solve this error?

pi@raspberrypi:~/Downloads/build $ ./armv7l/Release/object_detection_sample_ssd -m face-detection-adas-0001.xml -d MYRIAD -i /home/pi/Documents/download.jpeg

[ INFO ] InferenceEngine: 

API version ............ 1.4

Build .................. 19154

Parsing input parameters

[ INFO ] Files were added: 1

[ INFO ]   /home/pi/Documents/download.jpeg

[ INFO ] Loading plugin

 

API version ............ 1.5

Build .................. 19154

Description ....... myriadPlugin

[ INFO ] Loading network files:

face-detection-adas-0001.xml

face-detection-adas-0001.bin

[ INFO ] Preparing input blobs

[ INFO ] Batch size is 1

[ INFO ] Preparing output blobs

[ INFO ] Loading model to the plugin

[ ERROR ] AssertionFailed: inputs.size() == 1

 

 

0 Kudos
1 Reply
Sahira_Intel
Moderator
56 Views

Hi MIfil,

A couple questions for you:

  1. What version of OpenVINO are you using? If you're not using the latest version, please upgrade and run this sample again.
  2. Are you getting an Assertion Failure error on every sample you try to build?
  3. Lastly, have you set up your environment variables? initialize environment variables using this command:
source /opt/intel/openvino/bin/setupvars.sh
  • To permanently initialize environment variables each time a new terminal is opened, run
echo "source /opt/intel/openvino/bin/setupvars.sh" >> ~/.bashrc

Best Regards,

Sahira

Reply