How to use image data with 6 channels for CNN network training in matlab
2 次查看(过去 30 天)
显示 更早的评论
Hi, recently I have applied a 6-channel multispectral satellite image data to train CNN network using Matlan CNN code. Unlike the size of the input data 'lettersTrainSet' (28x28x1x1500), the size of my training data is 7x7x6x30,000. The difference is that instead of 1 channel my training data has 6 channels. Now while running the network training code, Matlab gives the following error: Error using trainNetwork>iAssertValidImageArray (line 575) X must be a 4-D array of images.
Error in trainNetwork>iParseInput (line 329) iAssertValidImageArray( X );
Error in trainNetwork (line 68) [layers, opts, X, Y] = iParseInput(varargin{:});
Any help on how to use training data with more than 3 channels will be highly helpful for my experiment.
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Data Workflows 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!