This question is closed. Reopen it to edit or answer.

How can I save my images of same size. I'm encountering with an error "error using nnet.inter​nal.cnn.mi​niBatchDat​asourceDis​patcher>iC​ellToArray​, Unexpected Image size: All images have the same size."

1 view (last 30 days)
net = trainNetwork(trainDigitData,layers,options);
predictedLabels = classify(net,valDigitData); valLabels = valDigitData.Labels; accuracy = sum(predictedLabels == valLabels)/numel(valLabels)

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by