You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need to modify models by adding skip connections between encoder layers and decoder layers like this
x = input
x = self.layer0[-1](x)
x = x + input
x1 = self.layer1(x)
x1 = x1 + x
x2 = self.layer2(x1)
x2 = x2 + x1
x3 = self.layer3(x2)
x3 = x3 + x2
x4 = self.layer4(x3)
x4 = x4 + x3
I've tried implementing this and encountered the problem which dimensions after and before passing layers are unequal and the values and can't be added.
Is it possible to implement this? and How to implement it?