Why accept Matlab no vector as a response when I use CNN with residual connection?
1 次查看(过去 30 天)
显示 更早的评论
I train my own CNN model like this tutorial:
but I need no classification layer at the end my neural network, but regression layer. That's why I need to define a vector for each sample. All in all, I have to train a matrix(40*num_of_samples), which must be converted into a 4D array like this tutorial:
I get this error:
Invalid validation data. Y must be a vector of categorical responses.
Does someone know how I can fix this?
3 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Data Workflows 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!