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.

Having issues with new NCS1 stick

Massalin__Yerzhan
698 Views

I tried face detection model and also mask rcnn model.

Both in xml/bin format format

openvino: p_2019.1.094 I guess it stands for version too.

When running

./interactive_face_detection_demo -i /dev/video0 -m /..../dldt/face-detection-retail-0004-fp16.xml -d MYRIAD

I got:

InferenceEngine:
    API version ............ 1.6
    Build .................. custom_releases/2019/R1_c9b66a26e4d65bb986bb740e73f58c6e9e84c7c2
[ INFO ] Parsing input parameters
[ INFO ] Reading input
[ INFO ] Loading plugin MYRIAD

    API version ............ 1.6
    Build .................. 22443
    Description ....... myriadPlugin
[ INFO ] Loading network files for Face Detection
[ INFO ] Batch size is set to 1
[ INFO ] Checking Face Detection network inputs
[ INFO ] Checking Face Detection network outputs
[ INFO ] Loading Face Detection model to the MYRIAD plugin
E: [ncAPI] [    740992] ncDeviceOpen:799    Failed connection to device (1.6-ma2450) with error 5
Segmentation fault (core dumped)

Same happens with mask rcnn model.

What is the problem? Is the stick I bought came damaged already and needs replacement? Can't do anything with it.

 

This is another set of errors started showing recently:

InferenceEngine:
    API version ............ 1.6
    Build .................. custom_releases/2019/R1_c9b66a26e4d65bb986bb740e73f58c6e9e84c7c2
[ INFO ] Parsing input parameters
[ INFO ] Reading input
[ INFO ] Loading plugin MYRIAD

    API version ............ 1.6
    Build .................. 22443
    Description ....... myriadPlugin
[ INFO ] Loading network files for Face Detection
[ INFO ] Batch size is set to 1
[ INFO ] Checking Face Detection network inputs
[ INFO ] Checking Face Detection network outputs
[ INFO ] Loading Face Detection model to the MYRIAD plugin
E: [ncAPI] [    156459] resetAll:348     Failed to connect to stalled device, rc: X_LINK_ERROR
[ ERROR ] Can not init USB device: NC_ERROR

 

0 Kudos
5 Replies
JesusE_Intel
Moderator
698 Views

Hi Yerzhan,

Is the Neural Compute Stick listed when running lsusb? It should show up as device ID: 03e7:2150.

Did you configure the Neural Compute Stick USB Driver? If not, please try the configuring the USB Driver and let me know if this solves your issue. 

cd ~/intel/openvino/install_dependencies
./install_NCS_udev_rules.sh 

Regards,

Jesus

0 Kudos
Massalin__Yerzhan
698 Views

Thank you for the reply.

Seems like email responses are not reaching you. So I will write here.

 

I did the udev rules script. Also I am showing dmesg with some information:

 

[Fri May 10 09:36:15 2019] usb 1-2: new high-speed USB device number 43 using xhci_hcd
[Fri May 10 09:36:15 2019] usb 1-2: New USB device found, idVendor=03e7, idProduct=2150
[Fri May 10 09:36:15 2019] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[Fri May 10 09:36:15 2019] usb 1-2: Product: Movidius MA2X5X
[Fri May 10 09:36:15 2019] usb 1-2: Manufacturer: Movidius Ltd.
[Fri May 10 09:36:15 2019] usb 1-2: SerialNumber: 03e72150
[Fri May 10 09:36:46 2019] usb 1-6: new high-speed USB device number 44 using xhci_hcd
[Fri May 10 09:36:46 2019] usb 1-6: New USB device found, idVendor=05a3, idProduct=9320
[Fri May 10 09:36:46 2019] usb 1-6: New USB device strings: Mfr=2, Product=1, SerialNumber=3
[Fri May 10 09:36:46 2019] usb 1-6: Product: HD USB Camera
[Fri May 10 09:36:46 2019] usb 1-6: Manufacturer: HD USB Camera
[Fri May 10 09:36:46 2019] usb 1-6: SerialNumber: HD USB Camera
[Fri May 10 09:36:46 2019] uvcvideo: Found UVC 1.00 device HD USB Camera (05a3:9320)
[Fri May 10 09:36:46 2019] uvcvideo 1-6:1.0: Entity type for entity Extension 3 was not initialized!
[Fri May 10 09:36:46 2019] uvcvideo 1-6:1.0: Entity type for entity Processing 2 was not initialized!
[Fri May 10 09:36:46 2019] uvcvideo 1-6:1.0: Entity type for entity Camera 1 was not initialized!
[Fri May 10 09:36:46 2019] input: HD USB Camera: HD USB Camera as /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/input/input19
[Fri May 10 09:36:55 2019] usb 1-2: USB disconnect, device number 43
[Fri May 10 09:36:55 2019] usb 2-6: new SuperSpeed USB device number 29 using xhci_hcd
[Fri May 10 09:36:55 2019] usb 2-6: New USB device found, idVendor=03e7, idProduct=f63b
[Fri May 10 09:36:55 2019] usb 2-6: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[Fri May 10 09:36:55 2019] usb 2-6: Product: VSC Loopback Device
[Fri May 10 09:36:55 2019] usb 2-6: Manufacturer: Intel Corporation
[Fri May 10 09:36:55 2019] usb 2-6: SerialNumber: 9B3656CF845010
[Fri May 10 09:37:10 2019] interactive_fac[574]: segfault at 0 ip 00007fd40d253ac0 sp 00007fff6d327d68 error 4 in libc-2.23.so[7fd40d10e000+1c0000]
 

It seems like serial number is: 03e72150 when I first plug it. But after trying running application, while it was running it disconnected and connected again with serial number changed to 9B3656CF845010 (as you can see from logs.)

 

Also here is the lsusb output after inserting stick to usb and another output after trying to run the program that fails with error:

lsusb:

Bus 001 Device 045: ID 03e7:2150 

 

then i ran the program which causes error and reconnection in dmesg:

usb 1-2: new high-speed USB device number 45 using xhci_hcd
[Fri May 10 13:56:19 2019] usb 1-2: New USB device found, idVendor=03e7, idProduct=2150
[Fri May 10 13:56:19 2019] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[Fri May 10 13:56:19 2019] usb 1-2: Product: Movidius MA2X5X
[Fri May 10 13:56:19 2019] usb 1-2: Manufacturer: Movidius Ltd.
[Fri May 10 13:56:19 2019] usb 1-2: SerialNumber: 03e72150
[Fri May 10 13:56:44 2019] usb 1-2: USB disconnect, device number 45
[Fri May 10 13:56:44 2019] usb 2-6: new SuperSpeed USB device number 30 using xhci_hcd
[Fri May 10 13:56:44 2019] usb 2-6: New USB device found, idVendor=03e7, idProduct=f63b
[Fri May 10 13:56:44 2019] usb 2-6: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[Fri May 10 13:56:44 2019] usb 2-6: Product: VSC Loopback Device
[Fri May 10 13:56:44 2019] usb 2-6: Manufacturer: Intel Corporation
[Fri May 10 13:56:44 2019] usb 2-6: SerialNumber: 9B3656CF845010
 

and lsusb is showing now:

Bus 002 Device 030: ID 03e7:f63b 

 

Hopefully that might help to understand the issue more.

 

 

 

0 Kudos
Shubha_R_Intel
Employee
698 Views

Dear Massalin, Yerzhan,

NCS1 has been discontinued. Please upgrade to NCS2. For more information, see the below documentation:

https://www.intel.com/content/www/us/en/support/articles/000033258/boards-and-kits/neural-compute-sticks.html

thanks,

Shubha

 

0 Kudos
whatthisismyname
Beginner
698 Views

I have the same problem with NCSv2, this is a configuration issue as other computers work as expected. Please provide some support.

0 Kudos
JesusE_Intel
Moderator
698 Views

Hi Daniel,

Please start a new discussion as this one is quite old and provide additional information about your environment. 

  • OpenVINO Version
  • Linux, Mac, Windows, Raspbian OS?
  • Error message
  • Instructions followed

Regards,

Jesus

 

0 Kudos
Reply