"trainFast​erRCNNObje​ctDetector​" returns error "Cell contents reference from a non-cell array"

1 view (last 30 days)
I'm trying to train the object detector "trainFasterRCNNObjectDetector" with my own data and it returns the error
"Cell contents reference from a non-cell array"
|However, if i try to run the same code with data given from the example from the documentation it returns no error.
Which I find strange, as you can see in the picture above, the data input is given in the exact same format.
I made trainingData and trainingData1 was given from the documentation
Thank you: Mathias J.R.S

Answers (1)

Bernhard Suhm
Bernhard Suhm on 27 Mar 2018
Your own data must be read in a way that's not consistent with what trainFasterRCNNObjectDetector expects. Validate that the type of the read data is the same as in the doc example. If you want more help, attach a sample from your data and the exact code where the error occurs.

Categories

Find more on Characters and Strings in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by