Error forming mini-batch for network input
Ältere Kommentare anzeigen
i want to train a cnn with a folder of images with the size [h w c], the imageInputLayerargument is the same size of the images (h w c), but when training the network matlab says:
Error using trainnet (line 46)
Error forming mini-batch for network input "imageinput". Data interpreted with format "SSCB". To specify a
different format, use the InputDataFormats option.
Caused by:
Dimensions of arrays being concatenated are not consistent.
Antworten (1)
Matt J
vor etwa 3 Stunden
1 Stimme
This is not enough to reproduce the error. You haven't provided input images. My guess, however, is that there are some files in C:\data that are not 570x714x3.
Kategorien
Mehr zu Image Data Workflows finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!