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

RoIAlign layer not supported on the MYRIAD?  #196

@starlipernl

Description

@starlipernl

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions