I want the input of the neural network to be of data type 'SCB'
20 次查看(过去 30 天)
显示 更早的评论
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.
0 个评论
回答(1 个)
Matt J
2024-11-8,21:10
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.
另请参阅
类别
在 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!