Skip to content Skip to sidebar Skip to footer

Keras Cnn Dimension Problems

I am trying to build a CNN using Keras for an image segmentation task, based on this article. Because my dataset is small, I wanted to use Keras ImageDataGenerator and feed it to f

Solution 1:

Ok. I did some rubberduck-debugging and read a few more articles. Of course the dimensionality was a problem. This simple answer did it for me. My labels are of shape same as the input image so the output of the model should be of that shape as well. I used Conv2DTranspose to solve this issue.


Post a Comment for "Keras Cnn Dimension Problems"