Image Classification Labelling Error:

I am going through Image Classification Model and I am almost done with it,
But I am stuck in labeling the sample data, I have images in 4 categories and so I'm using to_categorical to label the data,
and I am getting this error ...
InvalidArgumentError: logits and labels must have the same first dimension, got logits shape [20,1] and labels shape [100]
If someone can help me with this ....
Thanks in advance.

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Image Data Workflows 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by