- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Version: l_openvino_toolkit_p_2019.1.144.tgz
Encounter this assert:
../../libusb/io.c:2118: handle_events: Assertion `ctx->pollfds_cnt >= internal_nfds' failed.
Aborted (core dumped)
The code is called from the prebuilt library libmyriadPlugin.so which we do not have source code to debug with.
PluginDispatcher({TARGET_PLUGIN_PATH}).getPluginByDevice("MYRIAD");
If we use CPU device instead of "MYRIAD", the program is working fine.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We found the problem in your OpenVINO sdk.
The scope of the InferencePlugin plugin must be kept, even after the InferRequest is requested, and no body in the application side is calling or using plugin instance after "executable_network.CreateInferRequest"
i.e.
{
InferencePlugin plugin = PluginDispatcher({TARGET_PLUGIN_PATH}).getPluginByDevice(TARGET_DEVICE);
....................
// --------------------------- 4. Loading model to the plugin ------------------------------------------
ExecutableNetwork executable_network = plugin.LoadNetwork(network, {});
// --------------------------- 5. Create infer request -------------------------------------------------
h->infer_request = executable_network.CreateInferRequest();
}
will not works, since the instance of plugin will be destructed. But the above code is of no problem when using the CPU plugin instead of MYRIAD plugin.
Please fire a bug internally in the OpenVINO and fixes the problem.
And I don't expected Intel such a big company to provide me such kind of answers like "Ubuntu* 18.04 is not listed as a supported " without even dig into the problem.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Could you provide more details that can help me reproduce the issue you are observing? i.e. host OS, VM?, sample code used, configuration used to install the toolkit, using NCS1 or NCS2, using a powered usb hub, etc..
I haven't encountered this problem myself but it could be an installation problem where VPU support is missing.
Regards,
@Luis_at_Intel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Same error when I tried on neutral stick 2:
../../libusb/io.c:2118: handle_events: Assertion `ctx->pollfds_cnt >= internal_nfds' failed.
Hosted OS,
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.2 LTS
Release: 18.04
Codename: bionic
No usb hub
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It is NOT VPU support is missing, since it will output usb device not found if usb stick is not inserted:
terminate called after throwing an instance of 'InferenceEngine::details::InferenceEngineException'
what(): Can not init USB device: NC_ERROR
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for the information. Now I recall I've seen this problem in the past and it's because Ubuntu* 18.04 is not listed as a supported operating system in the documentation. Although the OpenVINO™ toolkit installs, the support for the VPUs doesn't get installed. There are some workarounds other users have tried but I wouldn't advice going that route, instead I'd strongly suggest to use one of the supported operating systems listed here.
Please let me know if you have any additional questions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We found the problem in your OpenVINO sdk.
The scope of the InferencePlugin plugin must be kept, even after the InferRequest is requested, and no body in the application side is calling or using plugin instance after "executable_network.CreateInferRequest"
i.e.
{
InferencePlugin plugin = PluginDispatcher({TARGET_PLUGIN_PATH}).getPluginByDevice(TARGET_DEVICE);
....................
// --------------------------- 4. Loading model to the plugin ------------------------------------------
ExecutableNetwork executable_network = plugin.LoadNetwork(network, {});
// --------------------------- 5. Create infer request -------------------------------------------------
h->infer_request = executable_network.CreateInferRequest();
}
will not works, since the instance of plugin will be destructed. But the above code is of no problem when using the CPU plugin instead of MYRIAD plugin.
Please fire a bug internally in the OpenVINO and fixes the problem.
And I don't expected Intel such a big company to provide me such kind of answers like "Ubuntu* 18.04 is not listed as a supported " without even dig into the problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear mok, siu,
I have filed a bug on this issue. Thanks for finding it and thank you for using OpenVino ! I appreciate your sharing your findings with the OpenVino community.
Shubha

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