The Inference Engine MYRIAD plugin is developed for inference of neural networks on Intel® Neural Compute Stick 2.
For installation instructions, refer to the Installation Guide for Linux*.
For installation instructions, refer to the Installation Guide for Windows*.
The Inference Engine MYRIAD plugin supports the following networks:
Caffe*:
TensorFlow*:
MXNet*:
*** Network is tested on Intel® Neural Compute Stick 2 with BatchNormalization fusion optimization disabled during Model Optimizer import
See VPU common configuration parameters for the VPU Plugins. When specifying key values as raw strings (that is, when using Python API), omit the KEY_
prefix.
In addition to common parameters, the MYRIAD plugin accepts the following options:
Parameter Name | Parameter Values | Default | Description |
---|---|---|---|
KEY_VPU_MYRIAD_PLATFORM | empty string/VPU_MYRIAD_2450 /VPU_MYRIAD_2480 | empty string | If set, the plugin will use a device with specific platform to allocate a network. |
KEY_VPU_MYRIAD_PROTOCOL | empty string/VPU_MYRIAD_USB /VPU_MYRIAD_PCIE | empty string | If set, the plugin will use a device with specific protocol to allocate a network. |
KEY_VPU_MYRIAD_FORCE_RESET | YES /NO | NO | Enables 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. |
KEY_VPU_PLATFORM | empty string/VPU_2450 /VPU_2480 | empty string | Deprecated Use KEY_VPU_MYRIAD_PLATFORM instead. If set, the plugin will use a device with specific platform to allocate a network. |
KEY_VPU_FORCE_RESET | YES /NO | NO | Deprecated Use KEY_VPU_MYRIAD_FORCE_RESET instead. Enables 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. |
KEY_VPU_MYRIAD_MOVIDIUS_DDR_TYPE | VPU_MYRIAD_DDR_AUTO / VPU_MYRIAD_DDR_MICRON_2GB / VPU_MYRIAD_DDR_SAMSUNG_2GB / VPU_MYRIAD_DDR_HYNIX_2GB / VPU_MYRIAD_DDR_MICRON_1GB | VPU_MYRIAD_DDR_AUTO | This option allows setting DDR type for the MyriadX board. |
Each IExecutableNetwork
instance tries to allocate new device on InferenceEngine::Core::LoadNetwork
, but if all available devices are already allocated 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 the size of the networks.
If KEY_VPU_MYRIAD_FORCE_RESET
option is set to YES
the plugin will reset all VPU devices in the system.
Single device cannot be shared across multiple processes.