frame

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Problem running hello_ncs.py

Have installed ncsdk2 according to: https://movidius.github.io/ncsdk/install.html
I have a Raspberry Pi 3B+ with Raspbian Stretch installed.

All of the installation seems to gone well but the sample code cannot run.

making run
python3 hello_ncs.py;
D: [ 0] ncDeviceCreate:308 ncDeviceCreate index 0

D: [ 0] ncDeviceCreate:308 ncDeviceCreate index 1

D: [ 0] ncDeviceOpen:524 File path /usr/local/lib/mvnc/MvNCAPI-ma2480.mvcmd

W: [ 0] ncDeviceOpen:528 ncDeviceOpen() XLinkBootRemote returned error 3

Error - Could not open NCS device.

Do anyone know what is wrong?

Comments

  • 10 Comments sorted by Votes Date Added
  • edited December 2 Vote Up1Vote Down

    @SR253

    I will tell you the same thing again.

    "Neural Compute Stick 2" = "NCS2" = "MvNCAPI-ma2480.mvcmd" = Intel does not support NCS2 with NCSDK.
    "Neural Compute Stick" = "NCS1" = "MvNCAPI-ma2450.mvcmd" = It is officially supported.

    In order to use "Neural Compute Stick 2", you need to use OpenVINO instead of NCSDK.
    And, OpenVINO does not work with ARM processors.
    That is, "Neural Compute Stick 2" can not be used with "RaspberryPi 3 B+".
    OpenVINO runs only on "x86/64" series Intel processors.

    Intel's engineers have officially replied that they are fully aware of the need for OpenVINO's support for ARM processors.
    We expect to have to wait for several months to a year.

  • Also why is the file path /usr/local/lib/mvnc/MvNCAPI-ma2480.mvcmd? Seems wrong...****

    The only files at the /usr/local/lib/mvnc/ directory is:
    drwxr-sr-x 2 root staff 4096 Dec 1 18:10 .
    drwxrwsr-x 5 root staff 4096 Dec 1 16:51 ..
    -rw-r--r-- 1 root staff 1090380 Dec 1 16:51 MvNCAPI-ma2450.mvcmd
    -rwxr-xr-x 1 root staff 97328 Dec 1 16:51 libmvnc.so.0

  • edited December 2 Vote Up0Vote Down

    @SR253

    Whatever happens I am not responsible at all.
    Please make a final judgment of use at your own risk.
    I have not verified anything.

    NCS2(MvNCAPI-ma2480.mvcmd) is not supported.

    MvNCAPI-ma2480.mvcmd
    https://github.com/intel/nn-hal/raw/f6c23e001c690cb32ce8392825e000ae631cf5fc/vpu-hal2/ncsdk2/api/src/mvnc/MvNCAPI-ma2480.mvcmd

    W: [         0] getDevAttributes:377    Broken protocol. DevData cant be read
    W: [         0] ncDeviceOpen:595    getDevAttributes failed!
    [Error 7] Toolkit Error: USB Failure. Code: Error opening device
    
  • @PINTO do you know why the 2480 file is missing or why the stick is asking for a non supported file? Just bought the stick and kind of irritatated that the thing doesnt work ”out of the box” as expected when following Intels installation guidelines.

  • edited December 2 Vote Up0Vote Down

    Tried copying the file to the directory, result...

    making run
    python3 hello_ncs.py;
    D: [ 0] ncDeviceCreate:308 ncDeviceCreate index 0

    D: [ 0] ncDeviceCreate:308 ncDeviceCreate index 1

    D: [ 0] ncDeviceOpen:524 File path /usr/local/lib/mvnc/MvNCAPI-ma2480.mvcmd

    I: [ 0] ncDeviceOpen:530 ncDeviceOpen() XLinkBootRemote returned success 0

    W: [ 0] ncDeviceOpen:565 failed to find device

    Error - Could not open NCS device.

    Now it passes a return success 0 but after that fails to find the device. It disconnects from USB and if I run again I get different error:

    python3 hello_ncs.py;
    D: [ 0] ncDeviceCreate:308 ncDeviceCreate index 0

    Error - no NCS devices detected, verify an NCS device is connected.

    I have to remove the stick from the Raspberry Pi and reinsert it, then it is discovered again.
    So still not working... has ANYONE got this to work with Raspberry Pi 3B+ and Rasbian Stretch 9??!

  • @PINTO thanks...

    That really s*cks...just bought the RPI 3B+ yesterday to use for this...
    The prerequisites in the installation page is not specifically clear on supported configurations.
    Is there any Raspberry Pi working with Neural Compute Stick 2?

  • I have the same error with my RPI 3B+ and neural compute stick 2:

    making run
    python3 hello_ncs.py;
    D: [ 0] ncDeviceCreate:308 ncDeviceCreate index 0

    Error - no NCS devices detected, verify an NCS device is connected.

    I have the dmesg:

    [26725.835559] usb 1-1.1.2: new high-speed USB device number 5 using dwc_otg
    [26725.966214] usb 1-1.1.2: New USB device found, idVendor=03e7, idProduct=2485
    [26725.966230] usb 1-1.1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    [26725.966239] usb 1-1.1.2: Product: Movidius MyriadX
    [26725.966247] usb 1-1.1.2: Manufacturer: Movidius Ltd.
    [26725.966256] usb 1-1.1.2: SerialNumber: 03e72485
    [29707.432306] usb 1-1.1.2: USB disconnect, device number 5

  • @SR253 @connor

    Is there any Raspberry Pi working with Neural Compute Stick 2?

    If I have something like that, I also want it.
    There are no Raspberry Pi with non-ARM processors in this world.

    For example, a device such as the following URL is necessary.
    https://click.intel.com/aaeon-up-board.html

  • hello, @PINTO ,I use the Raspberry Pi 3B+ with Neural compute stick2

  • @PINTO so the https://click.intel.com/aaeon-up-board.html will work. I do not want to order it to get a result of errors again :-)

Sign In or Register to comment.