BatchMulti​ClassNonMa​xSuppressi​on - importONNXLayers/Network issue

조회 수: 4 (최근 30일)
Hi guys,
I'm currently trying to do some DeepLearning using Matlab. I saw it was possible to import ONNX model directly in Matlab for training.
So I tried to import ssd_mobilenet_v1_fpn_coco from this official model zoo tensorflow repository:
After I convert it to ONNX format (using tf2onnx) I tried to import it using "importONNXNetwork" and "importONNXLayers" (with classification as the OutputLayers). Here are the errors I get from Matlab:
The datatype of initializer 'Postprocessor/BatchMultiClassNonMaxSuppression/map/while/PadOrClipBoxList/cond/cond/pred_id/_174__cf__177:0'
('BOOL') is not supported yet.
From what I understand it seems that Matlab doesn't support this type of layers, so my question is: what can I do to solve this ? Is there a way to implement this layer or to tell matlab to delete it and replace by another ?
Thank you in advance

채택된 답변

Divya Gaddipati
Divya Gaddipati 2020년 2월 10일
For building a custom layer, please refer to the below link:
And you can use the function replaceLayer to replace the layer with your custom layer
For more information on how to use replaceLayer, refer to the following link:
Hope this helps!
  댓글 수: 6
Vincent Dufour
Vincent Dufour 2020년 6월 11일
Hey,
nope I totally skipped Matlab, at first I found their feature to manage the data really cool (especially the video labelling feature) but then the problem with certain layers stopped me.
I used retinanet-examples repo from Nvidia on Github.
Cheers
Veer Bhansari
Veer Bhansari 2020년 6월 11일
Hi,
Yes, the Image and Video labeller tools are handy and even I wanted to explore them. But it seems, we can't leverage them completely as of now due to these limitations.
Thanks!

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by