Hello,
I have tried out the matlab example on 'Training a deep neural network for image classification'. I am getting the results as in the specified example. But my question is how do I view an output for a given input ? Note : My commands are exactly similar to the example just for trial purposes.
So after deepnet is formed : I do something like :
y = deepnet(xTest); ----------------------------------Till here same as the code finalnet = configure(deepnet,xTrainImages{1}, tTrain(:,1)) U = imread('YYY.png') imshow(U) images_chk{1} = U idj = sim(finalnet, images_chk{1})
This results in a weird decimal matrix, I would ideally like it to output the class of the input image eg a column containing 1 for 1 entry and 0 for remaining. How can I do that ?
Thanks
Best Answer