Feeds
提问
Invalid validation data. The output size (118) of the last layer doesn't match the number of classes (79). I am using Alexnet for classification of my dataset. It is giving the above error in trainNetwork function. ---Chandrakala
unzip('CharacterDataset.zip'); characterds = imageDatastore('CharacterDataset','IncludeSubfolders',true,'LabelSource','folderna...
8 years 前 | 0 个回答 | 0
0
个回答提问
I am getting: Error using nnet.internal.cnn.util.NetworkDataValidator/assertCorrectResponseSizeForOutputLayer (line 285) Invalid validation data. The output size (118) of the last layer doesn't match the number of classes (79).How to match??
unzip('Character-Dataset.zip'); characterds = imageDatastore('Character-Dataset','IncludeSubfolders',true,'LabelSource','folde...
8 years 前 | 0 个回答 | 0
0
个回答提问
I am getting: Error using nnet.internal.cnn.util.NetworkDataValidator/assertCorrectResponseSizeForOutputLayer (line 285) Invalid validation data. The output size (118) of the last layer doesn't match the number of classes (79).How to match??
unzip('Character-Dataset.zip'); characterds = imageDatastore('Character-Dataset','IncludeSubfolders',true,'LabelSource','folder...
8 years 前 | 0 个回答 | 0