Help reformatting table for a Faster RCNN

1 Ansicht (letzte 30 Tage)
Audrey Easton
Audrey Easton am 25 Mai 2017
Kommentiert: Audrey Easton am 25 Mai 2017
I previously asked a question about an error I was getting for a modified version of the Faster RCNN tutorial (https://www.mathworks.com/matlabcentral/answers/337502-error-executing-ap-recall-precision-evaluatedetectionprecision-results-expectedresults). From those answers it seems that I have an issue with one of the tables it created being formatted incorrectly.
This seems to be the correct format for the table:https://www.mathworks.com/help/vision/ref/evaluatedetectionprecision.html?searchHighlight=evaluateDetectionPrecision&s_tid=doc_srchtitle#inputarg_groundTruthTable
Where as my table is in the format attached below.
It looks like my table is created with each column containing cells instead of a double. I have tried the cell2mat function but it gives this error: Error using cell2mat (line 42) You cannot subscript a table using linear indexing (one subscript) or multidimensional indexing (three or more subscripts). Use a row subscript and a variable subscript.
Thank you for your help!

Akzeptierte Antwort

Sean de Wolski
Sean de Wolski am 25 Mai 2017
HeadOnly.Head = num2cell(HeadOnly.Head,2)
I think.

Weitere Antworten (0)

Kategorien

Mehr zu Graphics Object Properties finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by