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

Demos failing on either VMWare Fusion or VirtualBox (MacOS High Sierra)

idata
Employee
636 Views

Both the demo programs in the the /opt/intel/computer_vision_sdk/deployment_tools/demo/ folders i.e. demo_security_barrier_camera.sh and demo_squeezenet_download_convert_run.sh give the same type of error when run with a Movidius Stick attached to a MacOS High Sierra, running either a VMWare or a VirtualBox:

 

./demo_security_barrier_camera.sh: line 112: 4331 Illegal instruction (core dumped) ./security_barrier_camera_sample -d $target_device -i $target_image_path -m "$ROOT_DIR/intel_models/vehicle-license-plate-detection-barrier-0007/FP32/vehicle-license-plate-detection-barrier-0007.xml" -m_va "$ROOT_DIR/intel_models/vehicle-attributes-recognition-barrier-0039/FP32/vehicle-attributes-recognition-barrier-0039.xml" -m_lpr "$ROOT_DIR/intel_models/license-plate-recognition-barrier-0001/FP32/license-plate-recognition-barrier-0001.xml" Error on or near line 112; exiting with status 1

 

dmesg logs:

 

[ 975.180836] usb 1-2: new high-speed USB device number 15 using ehci-pci [ 985.514544] usb 1-2: string descriptor 0 read error: -110 [ 985.514562] usb 1-2: New USB device found, idVendor=03e7, idProduct=2150 [ 985.514565] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 990.633700] usb 1-2: can't set config #1, error -110 [ 990.634010] usb 1-2: USB disconnect, device number 15 [ 1175.431282] do_trap: 23 callbacks suppressed [ 1175.431285] traps: security_barrie[4331] trap invalid opcode ip:4220e1 sp:7fff424a48b0 error:0 in security_barrier_camera_sample[400000+44000]
0 Kudos
1 Reply
idata
Employee
406 Views

Hi @neomatrix369,

 

Thanks for reaching out. Looks like you are using the OpenVINO toolkit with the NCS1, may I ask which version of the OpenVINO toolkit you have installed? Judging by this line $ROOT_DIR/intel_models/vehicle-license-plate-detection-barrier-0007/FP32/vehicle-license-plate-detection-barrier-0007.xml in the log provided, it looks like you are executing the examples with target precision of FP32. This target precision may not work with the NCS as it only supports FP16, which could explain the error.

 

There are a couple of things I could suggest:

 

     

  1. Make sure to perform the additional install steps, as described in the OpenVINO documentation here https://software.intel.com/en-us/articles/OpenVINO-Install-Linux#inpage-nav-4-2.
  2.  

  3. Execute the demo code specifying the target device: i.e. ./demo_squeezenet_download_convert_run.sh -d MYRIAD and ./demo_security_barrier_camera.sh -d MYRIAD
  4.  

  5. If the problem persists, I'd suggest to report your experienced issue in the OpenVINO community forum here https://software.intel.com/en-us/forums/computer-vision.
  6.  

 

Hope you find this information helpful.

 

Best Regards,

 

Luis
0 Kudos
Reply