- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi there
For one just execute "xxx -d myriad" but anybody knows how to use multiple sticks in openvino??
thanks
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Nick,
Yes, it's possible but with the current samples in the package you will have to edit the source files to pass "KEY_VPU_FORCE_RESET" parameter the value "NO" in SetConfig which would look like this:
ExecutableNetwork executable_network = plugin.LoadNetwork (network, {InferenceEngine::SetConfig(KEY_VPU_FORCE_RESET, "NO")
This doesn't allow you to specifically say exactly what device it the network will load but the way it works is the network will be executed on the device with the least workload.
Kind Regards,
Monique Jones
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Monique
I got errors trying modify object_detection_demo_ssd_async sample code
object_detection_demo_ssd_async/main.cpp:192:67: error: ‘SetConfig’ is not a member of ‘InferenceEngine’
object_detection_demo_ssd_async/main.cpp:192:94: error: ‘KEY_VPU_FORCE_RESET’ was not declared in this scope
B.R.
Nick Hsiao
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Nick,
If you are using the python inference engine api then it would be:
plugin = IEPlugin(device="CPU") plugin.set_config({"VPU_FORCE_RESET": "NO"})
The guide for the Python Inference Engine API is here.
The in-package documentation has the C++ Inference Engine API in <INSTALL_DIR>/deployment_tools/documentation/docs/PluginMyriad.html where INSTALL_DIR is C:\intel\computer_vision_sdk*\ or /opt/intel/computer_vision_sdk/ depending on your OS.
Kind Regards,
Monique Jones
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jones, Monique (Intel) wrote:
plugin = IEPlugin(device="MYRIAD") plugin.set_config({"KEY_VPU_FORCE_RESET": "NO"})
Hi Monique,
Shouldn't the device be "MYRIAD"?
And adding the second line to code, the following error message is shown:
Exception ignored in: 'inference_engine.ie_api.IEPlugin.set_config' /teamcity/work/scoring_engine_build/releases_openvino-2018-r3/ie_bridges/python/inference_engine/ie_api_impl.cpp:249 RuntimeError: [NOT_FOUND] KEY_VPU_FORCE_RESET key is not exist
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi all
I found plugin.set_config({
"VPU_FORCE_RESET"
:
"NO"
}) works,need to remove "KEY"
Nick Hsiao
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Monique!
Please example or guide for using “KEY_VPU_FORCE_RESET” for c++
Vlad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jones, Monique (Intel) wrote:Hi Nick,
Yes, it's possible but with the current samples in the package you will have to edit the source files to pass "KEY_VPU_FORCE_RESET" parameter the value "NO" in SetConfig which would look like this:
ExecutableNetwork executable_network = plugin.LoadNetwork (network, {InferenceEngine::SetConfig(KEY_VPU_FORCE_RESET, "NO")This doesn't allow you to specifically say exactly what device it the network will load but the way it works is the network will be executed on the device with the least workload.
Kind Regards,
Monique Jones
I changed this line: https://github.com/opencv/open_model_zoo/blob/e458c1f0407d0303e36be4828bb963a67d6d050a/demos/object_detection_demo_yolov3_async/main.cpp#L284-L287
ExecutableNetwork network = plugin.LoadNetwork(netReader.getNetwork(), {});
to this:
ExecutableNetwork network = plugin.LoadNetwork(netReader.getNetwork(), { InferenceEngine::SetConfig(KEY_VPU_FORCE_RESET, "NO") } );
And I get this error:

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