Skip to content
This repository has been archived by the owner on Apr 17, 2023. It is now read-only.

RoIAlign layer not supported on the MYRIAD? #196

Open
starlipernl opened this issue Oct 1, 2021 · 0 comments
Open

RoIAlign layer not supported on the MYRIAD? #196

starlipernl opened this issue Oct 1, 2021 · 0 comments

Comments

@starlipernl
Copy link

starlipernl commented Oct 1, 2021

I am trying to run my exported Cascade-RCNN model on the MYRIAD device using the test_exported.py script, however it seems that the RoIAlign layer is not supported by the MYRIAD. Since the majority of the mmdetection models use this RoIAlign layer, that means most of these models are not supported on the MYRIAD. Is there any workaround for this? Error message below:

RuntimeError: DynamicToStaticShape transformation encountered dynamic node ExperimentalDetectronROIFeatureExtractor_849 of type ExperimentalDetectronROIFeatureExtractor ver. 6, but only [Ceiling ver. 0, Clamp ver. 0, Concat ver. 0, Convert ver. 0, Exp ver. 0, ExpGatherElements ver. 0, Floor ver. 0, Log ver. 0, MatMul ver. 0, Relu ver. 0, ...] types are supported for dynamic nodes

I also attempted to query the network with heterogeneous mode and got the same error, which is odd because I was under the impression querying with hetero mode would automatically assign the incompatible layer to the CPU (since it works with CPU):

ie = IECore()
net = ie.read_network(model_path, bin_path)
ie.query_network(network=net, device_name='HETERO:MYRIAD,CPU')

File "ie_api.pyx", line 395, in openvino.inference_engine.ie_api.IECore.query_network
RuntimeError: DynamicToStaticShape transformation encountered dynamic node ExperimentalDetectronROIFeatureExtractor_849 of type ExperimentalDetectronROIFeatureExtractor ver. 6, but only [Ceiling ver. 0, Clamp ver. 0, Concat ver. 0, Convert ver. 0, Exp ver. 0, ExpGatherElements ver. 0, Floor ver. 0, Log ver. 0, MatMul ver. 0, Relu ver. 0, ...] types are supported for dynamic nodes

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant