My training data is in a cell array whilst my labels are a categorical array although I still get invalid training data error
9 ビュー (過去 30 日間)
古いコメントを表示
Javier Castillo
2021 年 9 月 22 日
回答済み: Anshika Chaurasia
2021 年 10 月 4 日
I am trying to experiment with our CNN structure using a sequence input, with a dataset of 360x1 cell consisting of 64x769 arrays
64 = Channels
Dataset:
And this is our label data in a categorical array:
and this is the error I am getting
Error using trainNetwork (line 184)
Invalid training data. Responses must be a cell array of categorical response sequences.
Although I am using a categorical array it still outputs this error which is very confusing.
0 件のコメント
採用された回答
Anshika Chaurasia
2021 年 10 月 4 日
Hi,
As mention in error: Responses should be cell array of categorical datatype. Hence, the response should like this:
For more information refer to following documentations:
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Deep Learning Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!