Hi, Is it possible to train a Convolutional Neural Network for NxNxM inputs, where M is the size of the channel and is greater than 3?
15 views (last 30 days)
Show older comments
vince65201
on 6 Jan 2018
Commented: Pedapudi Bharath Raja Bhoopal
on 18 Dec 2020
The Image Input layer of a convolutional neural network only takes in NxNx1 (gray scale) or NxNx3 (RGB). However my data is NxNx25, is there a way to train this sort of data with Matlab?
0 Comments
Accepted Answer
Sindhu Yerragunta
on 10 Jan 2018
Hi Vince,
As of now it is not possible to train a convolutional Neural Network to be able to work with more than 3 channels data.
This enhancement will be supported in one of the future releases of Neural Network Toolbox.
-Sindhu
3 Comments
Pedapudi Bharath Raja Bhoopal
on 18 Dec 2020
@Sindhu Yerragunta
Can you please comfirm if multi channel is supported in latest matlab desktop version? (name the version)
I have observed that in matlab online, multichannel is acceptable for ImageInputLayer function.
inLayer=imageInputLayer([28 28 128])
inLayer =
ImageInputLayer with properties:
Name: ''
InputSize: [28 28 128]
Hyperparameters
DataAugmentation: 'none'
Normalization: 'zerocenter'
NormalizationDimension: 'auto'
Mean: []
More Answers (1)
See Also
Categories
Find more on Image Data Workflows in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!