Export Mask R-CNN to ONNX format

I am considering using MATLAB to train a Mask R-CNN network but the trained network must be able to be exported to ONNX format afterwards so I can import and use it in my application.
I took a look at the exportONNXFormat function and exporting a roiAlignLayer doesn't seem to be listed. Can anyone confirm whether this kind of layer is compatible with the ONNX export?
Otherwise I can probably use a Fast or Faster R-CNN for my application, and the roiMaxPooling2D layer is explicitly mentioned in the function documentation as being supported.
Thank you

 Accepted Answer

Sourabh
Sourabh on 16 May 2023

1 Comment

Thank you,
I have also found that one of the layers in a faster R-CNN is not supported by the ONNX export.
I have designed a fast R-CNN and that should be ok according to the documentation.

Sign in to comment.

More Answers (0)

Categories

Find more on Deep Learning Toolbox in Help Center and File Exchange

Products

Release

R2022a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!