Hello,
I felt confued about your BasicBlock module:
class BasicBlock(nn.Module):
expansion = 1
def __init__(self, inplanes, planes, stride=1, downsample=None, alpha =0.001):
...
def forward(self, x):
...
out = out + residual + self.alpha * attention * residual
if in_channels != out_channels, the last line can running?
residual: inplanes, out: planes
Looking forward to your reply. Thanks.
Hello,
I felt confued about your BasicBlock module:
if in_channels != out_channels, the last line can running?
residual: inplanes,out: planesLooking forward to your reply. Thanks.