- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Tom!
I'm using ncsdkv2 2.08.01 on Ubuntu 16.04 (virtalbox).
I found that it's impossible to use more than two models within one stick in the latest release.
The simplest way to reproduce it is to modify the birds example by adding an additional graph loading (line 449-):
#Load tiny yolo graph from disk and allocate graph via API
with open(tiny_yolo_graph_file, mode='rb') as ty_file:
ty_graph_from_disk = ty_file.read()
ty_graph = mvnc.Graph("Tiny Yolo Graph")
ty_fifo_in, ty_fifo_out = ty_graph.allocate_with_fifos(nc_device, ty_graph_from_disk)
with open(tiny_yolo_graph_file, mode='rb') as ty_file:
ty_1_graph_from_disk = ty_file.read()
ty_1_graph = mvnc.Graph("Tiny Yolo Graph")
ty_1_fifo_in, ty_1_fifo_out = ty_1_graph.allocate_with_fifos(nc_device, ty_1_graph_from_disk)
#Load googlenet graph from disk and allocate graph via API
with open(googlenet_graph_file, mode='rb') as gn_file:
gn_graph_from_disk = gn_file.read()
gn_graph = mvnc.Graph("GoogleNet Graph")
gn_fifo_in, gn_fifo_out = gn_graph.allocate_with_fifos(nc_device, gn_graph_from_disk)
And when the third graph is being allocated the following error occurs:
E: [ 0] XLinkOpenStream:1035 Max streamId reached deaddead!
Traceback (most recent call last):
File "birds.py", line 551, in <module>
sys.exit(main())
File "birds.py", line 465, in main
gn_fifo_in, gn_fifo_out = gn_graph.allocate_with_fifos(nc_device, gn_graph_from_disk)
File "/usr/local/lib/python3.5/dist-packages/mvnc/mvncapi.py", line 613, in allocate_with_fifos
raise Exception(Status(status))
Exception: Status.ERROR
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@itisgrisha Thanks for reporting this. This issue is a known bug and we're working on a fix for this. Hang tight. Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Tom,
I experience similar issue with > 2 graphs which used to be working on SDK 2.04.
E: [ 0] XLinkOpenStream:1035 Max streamId reached deaddead!
W: [ 0] ncGraphAllocate:1008 can't open stream for graphBuffer transmission
while NCS still has plenty of space:
device.get_option(mvncapi.DeviceOption.RO_MEMORY_SIZE)
Out[6]: 522059056
device.get_option(mvncapi.DeviceOption.RO_CURRENT_MEMORY_USED)
Out[9]: 25682520
Could you, please, give any hint on when the fix you mentioned will be published?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@dtop We can't provide an ETA at the moment for the fix, but I can say that we are working on a release candidate at the moment. Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Tome_at_Intel
Just wondering if there are any updates on the issue?
Or time of the solution?
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Tome_at_Intel
Is the bug fixed in V2.10.01 2019-01-27
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi All,
The bug has been fixed in the NCSDK version 2.10.01.01. Let me know if you have additional questions.
Regards,
Jesus

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page