MYRIAD Plugin

Introducing MYRIAD Plugin

The Inference Engine MYRIAD plugin is developed for inference of neural networks on Intel® Movidius™ Neural Compute Stick and Intel® Neural Compute Stick 2.

Installation on Linux* OS

For installation instructions, refer to the Installation Guide for Linux*.

Installation on Windows* OS

For installation instructions, refer to the Installation Guide for Windows*.

Supported networks

The Inference Engine MYRIAD plugin supports the following networks:

Caffe*:

TensorFlow*:

MXNet*:

** Network is tested on Intel® Movidius™ Neural Compute Stick with BatchNormalization fusion optimization disabled during Model Optimizer import

*** Network is tested on Intel® Neural Compute Stick 2 with BatchNormalization fusion optimization disabled during Model Optimizer import

Supported Configuration Parameters

See VPU common configuration parameters for the VPU Plugins.

In addition to common parameters, the MYRIAD plugin accepts the following options:

Parameter Name Parameter Values Default Description
KEY_VPU_PLATFORM empty string/VPU_2450/VPU_2480 empty string If set, the plugin will use a device with specific platform to allocate a network.
KEY_VPU_FORCE_RESET YES/NO YES Disables force reset of all booted devices when new ExecutableNetwork is created.
This is a plugin scope option and must be used with the plugin's SetConfig method only.
See Device allocation section for details.

Device allocation  

Each IExecutableNetwork instance tries to allocate new device on InferenceEngine::InferencePlugin::LoadNetwork, but if all devices are in use already it will use the one with the minimal number of uploaded networks. The maximum number of networks single device can handle depends on device memory capacity and size of the networks.

By default the plugin resets all stalled devices on initialization for exclusive usage. This behavior can be changed by setting KEY_VPU_FORCE_RESET option to NO. This option must be passed on InferenceEngine::InferencePlugin::SetConfig before the first network is loaded into plugin.

Several applications may run simultaneously using different devices, but each application must set KEY_VPU_FORCE_RESET option to NO.

Single device cannot be shared across multiple processes.

See Also