Hi,
It seems that something with my dimensions is wrong, but I can’t find my bug.
This is the line that raises the error:
ublock7 = upsampling_block(ublock6[0], cblock3[1], n_filters*4)
The bottleneck layer is layer number 5, my expansive_input and contractive_input are as follows:
ublock7 = upsampling_block(ublock6[0], cblock3[1], n_filters*4)
ublock8 = upsampling_block(ublock7[0], cblock2[1], n_filters * 2)
ublock9 = upsampling_block(ublock8[0], cblock1[1], n_filters)
I get this error: ValueError: Input 0 of layer conv2d_transpose_4 is incompatible with the layer: : expected min_ndim=4, found ndim=3. Full shape received: [12, 16, 256]
I don’t know how to fix this.