MATLAB: Help reformatting table for a Faster RCNN

cell arraydoublefaster rcnntables

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!

Best Answer

HeadOnly.Head = num2cell(HeadOnly.Head,2)
I think.