I want the input of the neural network to be of data type 'SCB'

조회 수: 2 (최근 30일)
I MING
I MING 2024년 11월 8일
편집: Matt J 2024년 11월 12일
I want the input of the neural network to be of data type 'SCB', but it seems that matlab can only accept imageInputLayer and sequenceInputLayer, and their data dimensions are not what I want, and I am using inputLayer([128 128 NaN], “SCB”), but I get ” Unsupported layer. The trainNetwork and assembleNetwork functions do not support layers of type nnet.cnn.layer.InputLayer. use trainnet or InputLayer. Use trainnet or dlnetwork instead.”, is there any way to solve this?
I don't want a 'T' temporal dimensions like in the picture below.

답변 (1개)

Matt J
Matt J 2024년 11월 8일
You haven't listed your Matlab version, but in newer versions, you are encouraged to be training with trainnet instead of trainNetwork. With trainnet, you can specify the dimensional format that you want using the InputDataFormats traing option.
  댓글 수: 2
I MING
I MING 2024년 11월 11일
How do I use trainnet to customize the type of input data, the information I found on the internet does not explain how to define the input data as 'SCB'.
Matt J
Matt J 2024년 11월 11일
편집: Matt J 2024년 11월 12일
You use trainingOptions and specify the InputDataFormats option as 'SCB'.

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

카테고리

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