- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, I am trying to run my model on NCS2(Myriad X).
on my windows11 computer, It just works fine with ncs2.
But when I'm trying to run on my ubuntu machine, its generate unexpected NC_ERROR. Also, it works fine when I set device to "CPU".
My ubuntu host (A) is 20.04, and run the openvino ubuntu docker image (B) on it.
I think I'm totally set my environment in machine (A).
Env
host : ubuntu 20.04
docker: openvino/ubuntu18_dev:latest
running command:
docker run --rm --privileged -v /dev:/dev --net=host ...
lsusb | grep 2485
Bus 001 Device 010: ID 03e7:2485 Intel Movidius MyriadX
groups
junpyo sudo users docker enerzai
ls /etc/udev/rules.d
70-snap.snapd.rules 70-snap.snap-store.rules 97-myriad-usbboot.rules
Error
E: [global] [ 395268] [python3] addEvent:371 Condition failed: event->header.flags.bitField.ack != 1
E: [global] [ 395268] [python3] addEventWithPerf:383 addEvent(event, timeoutMs) method call failed with an error: 3
E: [global] [ 395268] [python3] XLinkReadData:156 Condition failed: (addEventWithPerf(&event, &opTime, 0xFFFFFFFF))
E: [ncAPI] [ 395268] [python3] ncGraphAllocate:2079 Can't read output tensor descriptors of the graph, rc: X_LINK_ERROR
Traceback (most recent call last):
File "/app/targets/movidius.py", line 21, in load_model
compiled_model = ie.compile_model(model, self.device)
File "/opt/intel/openvino/python/python3.6/openvino/runtime/ie_api.py", line 387, in compile_model
super().compile_model(model, device_name, {} if config is None else config),
RuntimeError: Failed to allocate graph: NC_ERROR
E: [global] [ 395281] [Scheduler00Thr] dispatcherEventSend:54 Write failed (header) (err -4) | event XLINK_CLOSE_STREAM_REQ
E: [xLink] [ 395281] [Scheduler00Thr] sendEvents:1203 Event sending failed
E: [global] [ 395281] [Scheduler00Thr] dispatcherEventSend:54 Write failed (header) (err -4) | event XLINK_RESET_REQ
E: [xLink] [ 395281] [Scheduler00Thr] sendEvents:1203 Event sending failed
E: [ncAPI] [ 405281] [python3] ncDeviceClose:1851 Device didn't appear after reboot
Thank you.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi JunpyoSeo,
Thanks for reaching out to us.
Please try run inference inside the Docker image with the following command:
docker run -it --device-cgroup-rule='c 189:* rmw' -v /dev/bus/usb:/dev/bus/usb --rm openvino/ubuntu18_dev:latest
Next, run the hello_query.py sample to detect whether Myriad (NCS2) is available or not.
Regards,
Peh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi JunpyoSeo,
This thread will no longer be monitored since we have provided a solution. If you need any additional information from Intel, please submit a new question.
Regards,
Peh
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page