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
Hello, to match with the paper, a residual block should :
apply convolution, then normalization, then activation function and then add the residual, two times. thus I would have guess that this should be written as :
def forward(self, x)
residual = x
y = self.conv1(x)
y = self.act1(self.norm1(y))
y = y + residual
residual = y
y = self.norm2(self.conv2(y))
y = self.act2(y)
y += residual
return y
which is not the case in the residual block I've found in the repo where the residual is added before the activation of the second block such as :
def forward(self, x):
y = self.conv1(x)
y = self.act1(self.norm1(y))
y = self.norm2(self.conv2(y))
y += x
return self.act2(y)
The text was updated successfully, but these errors were encountered:
Hello, to match with the paper, a residual block should :
apply convolution, then normalization, then activation function and then add the residual, two times. thus I would have guess that this should be written as :
which is not the case in the residual block I've found in the repo where the residual is added before the activation of the second block such as :
The text was updated successfully, but these errors were encountered: