Help reformatting table for a Faster RCNN

1 visualización (últimos 30 días)
Audrey Easton
Audrey Easton el 25 de Mayo de 2017
Comentada: Audrey Easton el 25 de Mayo de 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!

Respuesta aceptada

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

Más respuestas (0)

Community Treasure Hunt

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

Start Hunting!

Translated by