(self, inplane, plane)
Note down the spatial into 1/16
Note down the spatial into 1/16
Note down the spatial into 1 / 16
def __init__(self, inplane, plane):
        super(GALDBlock, self).__init__()
        """
            Note down the spatial into 1/16
        """
        self.down = nn.Sequential(
            nn.Conv2d(inplane, inplane,kernel_size=3, groups=inplane, stride=2),
            BatchNorm2d(inplane),
            nn.ReLU(inplace=False)
        )
        self.long_relation = SpatialCGNL(inplane, plane)
        self.local_attention = LocalAttenModule(inplane)
def __init__ ( self , inplane , plane ) : super ( GALDBlock , self ) . __init__ ( ) self . down = nn . Sequential ( nn . Conv2d ( inplane , inplane , kernel_size = 3 , groups = inplane , stride = 2 ) , BatchNorm2d ( inplane ) , nn . ReLU ( inplace = False ) ) self . long_relation = SpatialCGNL ( inplane , plane ) self . local_attention = LocalAttenModule ( inplane )