On the expanding path, I keep getting the following error for ublock 7:
ValueError: Input 0 of layer conv2d_transpose_8 is incompatible with the layer: : expected min_ndim=4, found ndim=3. Full shape received: [12, 16, 256]
For some reason, ublock 6 doesn’t have this problem, but ublock 7 does. I checked my code for both of them, and they both seem right. The only thing I can understand from this error message is that I somehow lost a dimension, but I’m not sure when or where it happened.