Help reformatting table for a Faster RCNN

1 vue (au cours des 30 derniers jours)
Audrey Easton
Audrey Easton le 25 Mai 2017
Commenté : Audrey Easton le 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!

Réponse acceptée

Sean de Wolski
Sean de Wolski le 25 Mai 2017
HeadOnly.Head = num2cell(HeadOnly.Head,2)
I think.
  1 commentaire
Audrey Easton
Audrey Easton le 25 Mai 2017
It worked! Thank you so much!

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Graphics Object Properties dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by