Categories
Misc

Basic assistance with matching an output layer’s shape with another output layer…

I am trying to concatenate two layers for a U-Net during the deconvolution process, but my initial input shape has an odd number of layers for depth (its 3D). So after doing a few max pools, the depth becomes even – when I start doing Conv3DTranspose, the depth only ever doubles.

So I arrive at a point where the output shape of my Conv3DTranspose is (Height, Width, 76) and the item im trying to concat it with is (Height, Width, 77)

What can I do to match the shapes? I tried following along with what the documentation says for predicting the new_depth, yet somehow I can’t seem to make it work!

submitted by /u/little_seed
[visit reddit] [comments]

Leave a Reply

Your email address will not be published.