How to arrange convolutional layer for 3D RGB Images
5 views (last 30 days)
Rahmawati Rahmawati on 14 May 2021
Currently I am tryinying to build encoder decoder layer for 3D RGB input, the objective is to maintain the image size of the output equal to the input. Image input size is 224x224x3. I tried to arrange the convolutional layer following by relu and max pooling layer. However, I continously get error saying that : Dimensions of arrays being concatenated are not consistent. Is there any hints how to do it correctly?
Srivardhan Gadila on 24 May 2021
The reason for the error "Dimensions of arrays being concatenated are not consistent." is because of the inconsistent use of the "..." operator while creating the decodingLayers array. To resolve the issue either use the operator after every layer in the decodingLayers array or completely remove it. Do it similarly for the encodingLayers array as well.
decodingLayers = [
Once you have resolved the current issue, you can check for other issues with your network/ layers using the analyzeNetwork function.