Help reformatting table for a Faster RCNN

1 visualizzazione (ultimi 30 giorni)
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!

Risposta accettata

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

Più risposte (0)

Categorie

Scopri di più su Graphics Object Properties in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by