lib/backbones/resnet.py [64:75]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    def __init__(self, block, num_blocks, strides): # strides for the first layer of four layer blocks
        super().__init__()
        self.in_channels = 64

        # temporally for small patches
        self.conv1 = nn.Conv2d(3, 64, kernel_size=3, stride=1, padding=1, bias=False)
        self.bn1 = nn.BatchNorm2d(64)

        self.layer1 = self.make_layer(block,  64, num_blocks[0], strides[0])
        self.layer2 = self.make_layer(block, 128, num_blocks[1], strides[1])
        self.layer3 = self.make_layer(block, 256, num_blocks[2], strides[2])
        self.layer4 = self.make_layer(block, 512, num_blocks[3], strides[3])
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



lib/backbones/senet.py [43:51]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    def __init__(self, block, num_blocks, strides):
        super().__init__()
        self.in_channels = 64
        self.conv1 = nn.Conv2d(3, 64, kernel_size=3, stride=1, padding=1, bias=False)
        self.bn1 = nn.BatchNorm2d(64)
        self.layer1 = self.make_layer(block,   64, num_blocks[0], strides[0])
        self.layer2 = self.make_layer(block,  128, num_blocks[1], strides[1])
        self.layer3 = self.make_layer(block,  256, num_blocks[2], strides[2])
        self.layer4 = self.make_layer(block,  512, num_blocks[3], strides[3])
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



