Hallo, I defined the following network
net = NetChain[Flatten@Table[{LinearLayer[50], ElementwiseLayer[Tanh]}, 3]]
net = NetJoin[net, {LinearLayer[9]}]
the input are arrays of Length 10 and the outputs are arrays of length 9. And I trained it successfully as:
trainednet = NetTrain[net, train, ValidationSet -> test, MaxTrainingRounds -> 500]
I'm trying to find the accuracy of the net so I used the following:
res = NetTrain[net, train, All, TrainingProgressMeasurements -> {"Accuracy"}]
But I got the following error message:
NetTrain::nometriclayer: One or more measurements require a CrossEntropyLossLayer to be present in the training net, but there are none.
I tried to add CrossEntropyLossLayer, but Smth is going wrong. Can you recommend how I got the accuracy of such net. Thanx in advance.