Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

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 Ansicht (letzte 30 Tage)
net = trainNetwork(trainDigitData,layers,options);
predictedLabels = classify(net,valDigitData); valLabels = valDigitData.Labels; accuracy = sum(predictedLabels == valLabels)/numel(valLabels)

Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by