- https://www.mathworks.com/help/releases/R2022a/vision/ug/getting-started-with-r-cnn-fast-r-cnn-and-faster-r-cnn.html
- https://www.mathworks.com/help/releases/R2022a/vision/ug/object-detection-using-deep-learning.html
- https://www.mathworks.com/help/releases/R2022a/vision/ug/object-detection-using-faster-r-cnn-deep-learning.html
Export Mask R-CNN to ONNX format
5 views (last 30 days)
Show older comments
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
0 Comments
Accepted Answer
Sourabh
on 16 May 2023
Hey Karl,
As you have mentioned, the roiAlignLayer is not supported by the exportONNXNetwork function currently. I have attached a few relevant links which might help get you started with your approach using a Fast or Faster R-CNN network:
All the best!
More Answers (0)
See Also
Categories
Find more on Deep Learning Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!