Why accept Matlab no vector as a response when I use CNN with residual connection?
Ältere Kommentare anzeigen
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 Kommentare
Shivam Sardana
am 29 Mai 2019
Can you please provide more information about inputs and outputs to your CNN? It will be good if you can provide code sample.
Osama Tabbakh
am 29 Mai 2019
Zezhong Wang
am 26 Mai 2021
Same problem here.
Antworten (0)
Kategorien
Mehr zu Deep Learning Toolbox finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!