Intel® Distribution of OpenVINO™ Toolkit
Community assistance about the Intel® Distribution of OpenVINO™ toolkit, OpenCV, and all aspects of computer vision-related on Intel® platforms.

Run parts of network on different devices


I'm so close to getting my model running on the NCS2! Unfortunately I can't make the final leap because one of my layers is not supported. I'd appreciate it if someone could answer one or both of these questions:

1. Is it possible to execute some layers on the CPU, and some layers on the MYRIAD chip? It's only one layer so I'm not worried about the performance hit.

2. The unsupported layer is the input layer, the XML of which is:

<layer id="0" name="input" precision="FP32" type="Input">
        <port id="0">

I realize that FP32 is not supported. I will rebuild it in FP16. I don't think that's the reason for the issue though because all the other layers are current FP32 as well, and they do not come up as unsupported.

I'm working in Python by the way.


Edit: To clear, it runs fine on the CPU. And I have since rebuilt it in FP16 but the problem persists.

0 Kudos
2 Replies

Hi Colin,

You can try using -d MULTI:MYRIAD,CPU for running the model on two devices.

Also, You can try to implement the unsupported layers as custom layer.


Ram prasad

0 Kudos

Thank you, I have solved the problem.

I think I was misunderstanding the need to check for unsupported layers. I was doing so for the MYRIAD and it was always telling me the first layer, whatever it was, was unsupported. I've just stopped doing that check and everything is fine.

0 Kudos