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?

조회 수: 4 (최근 30일)
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?

채택된 답변

Sindhu Yerragunta
Sindhu Yerragunta 2018년 1월 10일
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
Vamshi Reddy
Vamshi Reddy 2019년 12월 20일
Is it possible in 2019a or 2019b???. Iam using 2018b.
I was unable to pass more than 3 channels from one layer to another layer which is a custom layer defined by me.
When I tried to pass 128 channels ,it is giving an error :
Error using builtin
Array inputs must share the same number of channels.
can u help me to fix this??? @Sindhu Yerragunta
Pedapudi Bharath Raja Bhoopal
Pedapudi Bharath Raja Bhoopal 2020년 12월 18일
@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: []

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Zhiyi TANG
Zhiyi TANG 2018년 3월 27일

카테고리

Help CenterFile Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by