Both the demo programs in the the
/opt/intel/computer_vision_sdk/deployment_tools/demo/ folders i.e.
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
[ 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 trap invalid opcode ip:4220e1 sp:7fff424a48b0 error:0 in security_barrier_camera_sample[400000+44000]
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:
i.e. ./demo_squeezenet_download_convert_run.sh -d MYRIADand
./demo_security_barrier_camera.sh -d MYRIAD
Hope you find this information helpful.