Info

此问题已关闭。 请重新打开它进行编辑或回答。

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 次查看(过去 30 天)
net = trainNetwork(trainDigitData,layers,options);
predictedLabels = classify(net,valDigitData); valLabels = valDigitData.Labels; accuracy = sum(predictedLabels == valLabels)/numel(valLabels)

回答(0 个)

此问题已关闭。

Community Treasure Hunt

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

Start Hunting!

Translated by