class UpBlock(nn.Module):
"""Upssampling followed by ConvBlock"""
def __init__(self, in_channels1, in_channels2, out_channels, dropout_p,
bilinear=True):
, where the default value of bilinear is "True".
However, the real value of bilinear is not fed into the UpBlock class, as follows:
Hi, Thanks for your suggestion, actually, these codes of networks are borrowed from some famous and open-access implementations. So, I will check it carefully later, thanks again.
Best,
Xiangde.
The class UpBlock is defined as:
, where the default value of bilinear is "True". However, the real value of bilinear is not fed into the UpBlock class, as follows:
Therefore, the 'nn.Upsample' is always selected in the UpBlock. You can check whether the bug exists or not.