I think I have a dimensional problem here. The message I’m receibing is:
ValueError: Input 0 of layer conv2d_transpose_6 is incompatible with the layer: : expected min_ndim=4, found ndim=3. Full shape received: [12, 16, 256]
The problem seems to be when I try to define ublock7. I’m using the first component of ublock6, the second component of cblock3 and number of filters *4, as parameters.
I can’t figure out what is wrong here. Any help is appreciated.
Hi @zbest
When you are upsampling, in the ublockx don’t reference the element number. Just use the unlock, without any reference. And your second argument is correct.
I think this can fix the issue.
Thanks Carlos, you’re right. I had the same problem, the thing is to check what kind of variables are each block storing. The ublocks only return one variable, unlike the cblocks.