Community
cancel
Showing results for 
Search instead for 
Did you mean: 
idata
Community Manager
761 Views

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?

Tags (2)
0 Kudos
14 Replies
idata
Community Manager
275 Views

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
idata
Community Manager
275 Views

@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...

 

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
idata
Community Manager
275 Views

@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.

idata
Community Manager
275 Views

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??!
idata
Community Manager
275 Views

@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.
idata
Community Manager
275 Views

@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?
idata
Community Manager
275 Views

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
idata
Community Manager
275 Views

@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
idata
Community Manager
275 Views

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

idata
Community Manager
275 Views

@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 :-)

idata
Community Manager
275 Views

Hi @SR253 ,

 

I have installed OpenVINO on the UP board and ran the examples listed in the installation instructions. Please keep in mind OpenVINO may not have been validated on this board. I recommend checking on the OpenVINO community for more information regarding system requirements.

 

https://software.intel.com/en-us/forums/computer-vision

 

https://software.intel.com/en-us/openvino-toolkit

 

Regards,

 

Jesus
idata
Community Manager
275 Views

You will be able to use Raspberry Pi with NCS 2 soon…not months or a year but few days!

 

OpenVINO will soon run on ARM processors but the inference will be done on the Myriad chips only.

 

https://github.com/opencv/dldt/issues/3

idata
Community Manager
275 Views

@connor can you explain how you make it working ? I've got Movidius v2 stick, Raspberry Pi 3 and no example from api2 is working.

 

And also, api v1 is not working at all…
idata
Community Manager
275 Views

Hi @Metal3d

 

Take a look at the Installation Instructions for OpenVINO on Raspbian* OS.

 

You can post any OpenVINO related questions at the following forum.

 

https://software.intel.com/en-us/forums/computer-vision

 

Regards,

 

Jesus
Reply