- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Good morning!
I'm working with Myriad VPU to do inferences but when I close my program, I can see that my program is always running in VS :
If I use Ctrl+Alt+Break (pause button), I get this :
It's in french but we can see the Myriad plugin path.
How can I fix it?
Thank you.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear Daraen,
It sounds like a coding error somewhere. If you look at our samples, once
InferencePlugin plugin = PluginDispatcher().getPluginByDevice(device_name);
is given, all our samples shut down cleanly and there is no plugin hanging around anywhere afterward. It's because once the plugin goes out of scope a destructor is called which cleans up.
There could be many reasons for your issue and as I've advised you in previous posts before, you should step through your code using a Debug build of Inference Engine https://github.com/opencv/dldt/blob/2019/README.md to figure out why the plugin is not being released.
Perhaps you are instantiating your plugin in the constructor of a C++ class and not properly destructing your class as a virtual destructor, i.e. virtual ~MyClass() {} ?
Hope it helps.
Thanks,
Shubha

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