- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi there,
Just wondering what the return codes signify in the dispatcherEventReceive function. Currently, I can load a graph file generated using the mvNCCompile tool, but calling the allocate_with_fifos function causes the script to hang after returning the message:
dispatcherEventReceive() Read failed -4
Using 2.05.00.02 of the NCSDK, in a Virtual Box environment running Ubuntu 18.04. The hello_ncs.py sample works fine, as do other examples
Many thanks..
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In this case, the return codes passed back are generated from a call to the libusb_bulk_transfer function. The error codes can be found here:
http://libusb.sourceforge.net/api-1.0/group__misc.html
An error of -4 suggests "no such device (it may have been disconnected)"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Jay We are aware of this issue and are looking into them. So far it looks like there are multiple networks that cause the error mentioned above. I'll keep you updated as soon as we have a solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks @Tome_at_Intel .. for what its worth, the issue went away when I added back in some dropout layers I'd removed earlier, and recompiled the graph. I thought they wouldn't have an effect, but perhaps they are related to this issue..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Jay That is interesting. Thanks for the data point. Can you provide your network for testing?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If I can reproduce it next week, I'll send on the network @Tome_at_Intel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @Tome_at_Intel
I hit this issue again today with a different network. This time it made no difference whether or not the Dropout layers were present - the graph file is generated successfully from the mvNCCompile tool, but the device seems to disconnect when setting up the fifo queues. I left a copy of everything here: https://1drv.ms/f/s!AosBHN3IHTLWhrAUKvYf1fSnzFxBzA
If you have any thoughts or suggestions, do let me know!
Many thanks..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Jay Hi, thanks for providing the files. We're working on a release candidate that may address some of these hang issues. Thanks for your patience and understanding.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page