top of page

Forum Posts

ben
Nov 01, 2022
In OpenNCC Q&A
Hello, I purchased an EyeCloudAI CDK (that consists of an OpenNCC-NCB (usb), eMMC module and 8MP RS Sensor Module) from Mouser.co.uk: https://www.mouser.co.uk/ProductDetail/EyeCloud/CS-EYECLOUDAI-01?qs=sGAEpiMZZMv0DJfhVcWlK143x0EF5idbZfobnKKFvv0TpzqWB144Yg%3D%3D and i cannot get any of the examples to recognise the board (whether OpenVINO or OpenNCC) Environment: Ubuntu 20.04 LTS (though i have also tried with Ubuntu 18.04 LTS and Raspbian) When i plug in the board lsusb gives me: Bus 004 Device 002: ID 03e7:f63d Intel Movidius camera (first thing i notice is all instructions and the 97-myriad-usbboot.rules file say the board should be either 03e7:2150, 03e7:2485 or 03e7:f63b, but i have 03e7:f63d) dmesg gives me: [ 2135.136369] usb 3-4: new high-speed USB device number 6 using xhci_hcd [ 2135.286277] usb 3-4: New USB device found, idVendor=03e7, idProduct=f63d, bcdDevice= 1.10 [ 2135.286285] usb 3-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 2135.286287] usb 3-4: Product: Movidius camera [ 2135.286290] usb 3-4: Manufacturer: Intel [ 2135.286291] usb 3-4: SerialNumber: DUMMY [ 2135.290230] usb 3-4: Found UVC 1.00 device Movidius camera (03e7:f63d) [ 2135.293024] usb 3-4: Failed to initialize entity for entity 3 [ 2135.293027] usb 3-4: Failed to register entities (-22). [ 2135.293838] cdc_acm 3-4:1.2: ttyACM0: USB ACM device Installation steps: According to: https://github.com/EyecloudAi/OpenNCC_NCB: following instructions on Get Started with Intel® Neural Compute Stick 2 Which tells me to use Ubuntu 18.04 LTS. According to https://www.crowdsupply.com/eyecloud/openncc-ncb "(As of now, it supports OpenVINO 2020.3 and 2021.4.)" The system requirements for OpanVINO 2021.4 say that it is compatible with Ubuntu 20.04 LTS so i use that. So in install OpenVINO 2021.4 for Ubuntu 20.04: #install openvino# cd ~ mkdir openvino && cd openvino wget "https://apt.repos.intel.com/openvino/2021/GPG-PUB-KEY-INTEL-OPENVINO-2021" sudo apt-key add ./GPG-PUB-KEY-INTEL-OPENVINO-2021 echo "deb https://apt.repos.intel.com/openvino/2021 all main" | sudo tee /etc/apt/sources.list.d/intel-openvino-2021.list sudo apt update sudo apt-get install intel-openvino-dev-ubuntu20-2021.4.752 Then i configure the USB as per https://github.com/EyecloudAi/OpenNCC_NCB: except one extra step required: after installing the OpenVINO, please download the usb-ma2x8x.mvcmd file for OpenNCC NCB from here and replace the original .mvcmd file under openvino/inference_engine/lib/intel64/usb-ma2x8x.mvcmd with it. Swap out .mvcmd file: #configure usb# #backup old .mvcmd file# sudo mv /opt/intel/openvino_2021/inference_engine/lib/intel64/usb-ma2x8x.mvcmd /opt/intel/openvino_2021/inference_engine/lib/intel64/usb-ma2x8x.mvcmd.old #get new file# wget "https://github.com/EyecloudAi/openncc/raw/R22.08.01/SDK/Source/Firmware/fw/usb-ma2x8x.mvcmd" #move to correct location# sudo cp ./usb-ma2x8x.mvcmd /opt/intel/openvino_2021/inference_engine/lib/intel64/usb-ma2x8x.mvcmd Add my device's ID to the 97-myriad-usbboot.rules and run the install_NCS_udev_rules.sh script: #add new rule to include "f63d" usb device# sudo echo "SUBSYSTEM==\"usb\", ATTRS{idProduct}==\"f63d\", ATTRS{idVendor}==\"03e7\", GROUP=\"users\", MODE=\"0660\", ENV{ID_MM_DEVICE_IGNORE}=\"1\"" >> /opt/intel/openvino_2021/inference_engine/external/97-myriad-usbboot.rules source /opt/intel/openvino_2021/bin/setupvars.sh /opt/intel/openvino_2021/install_dependencies/install_NCS_udev_rules.sh $ installing udev rules... $ udev rules have been successfully installed After a reboot: $ groups adm cdrom sudo dip plugdev users lpadmin lxd sambashare $cat /etc/udev/rules.d/97-myriad-usbboot.rules SUBSYSTEM=="usb", ATTRS{idProduct}=="2150", ATTRS{idVendor}=="03e7", GROUP="users", MODE="0660", ENV{ID_MM_DEVICE_IGNORE}="1" SUBSYSTEM=="usb", ATTRS{idProduct}=="2485", ATTRS{idVendor}=="03e7", GROUP="users", MODE="0660", ENV{ID_MM_DEVICE_IGNORE}="1" SUBSYSTEM=="usb", ATTRS{idProduct}=="f63b", ATTRS{idVendor}=="03e7", GROUP="users", MODE="0660", ENV{ID_MM_DEVICE_IGNORE}="1" SUBSYSTEM=="usb", ATTRS{idProduct}=="f63d", ATTRS{idVendor}=="03e7", GROUP="users", MODE="0660", ENV{ID_MM_DEVICE_IGNORE}="1" Test OpenVINO installation: source /opt/intel/openvino_2021/bin/setupvars.sh #install prerequisites# /opt/intel/openvino_2021/deployment_tools/model_optimizer/install_prerequisites/install_prerequisites.sh #plug in NCB# /opt/intel/openvino_2021/deployment_tools/demo/demo_squeezenet_download_convert_run.sh -d MYRIAD Result: ################################################### Run Inference Engine classification sample Run ./classification_sample_async -d MYRIAD -i /opt/intel/openvino_2021/deployment_tools/demo/car.png -m /home/pict/openvino_models/ir/public/squeezenet1.1/FP16/squeezenet1.1.xml [ INFO ] InferenceEngine: IE version ......... 2021.4.2 Build ........... 2021.4.2-3974-e2a469a3450-releases/2021/4 [ INFO ] Parsing input parameters [ INFO ] Files were added: 1 [ INFO ] /opt/intel/openvino_2021/deployment_tools/demo/car.png [ INFO ] Loading Inference Engine [ INFO ] Device info: MYRIAD myriadPlugin version ......... 2021.4.2 Build ........... 2021.4.2-3974-e2a469a3450-releases/2021/4 [ INFO ] Loading network files: [ INFO ] /home/pict/openvino_models/ir/public/squeezenet1.1/FP16/squeezenet1.1.xml [ INFO ] Preparing input blobs [ WARNING ] Image is resized from (787, 259) to (227, 227) [ INFO ] Batch size is 1 [ INFO ] Loading model to the device [ ERROR ] Can not init Myriad device: NC_ERROR Error on or near line 217; exiting with status 1 Any help would be very much appreciated. Many thanks, Ben W.
1
3
97

ben

更多動作
bottom of page