(self, in_channels)
| 951 | |
| 952 | class Decoder4_noRCAB(nn.Module): |
| 953 | def __init__(self, in_channels): |
| 954 | super(Decoder4_noRCAB, self).__init__() |
| 955 | self.crb = BasicConv2d(in_channels, in_channels, kernel_size=3, padding=1) |
| 956 | self.out_e = nn.Conv2d(in_channels, 1, kernel_size=3, padding=1) |
| 957 | |
| 958 | self.conv3x3 = BasicConv2d(in_channels * 2, in_channels, kernel_size=3, padding=1) |
| 959 | self.out_s = nn.Conv2d(in_channels, 1, kernel_size=3, padding=1) |
| 960 | |
| 961 | def forward(self, f4, prior_cam): |
| 962 | prior_cam = F.interpolate(prior_cam, size=f4.size()[2:], mode='bilinear', align_corners=True) # 2,1,12,12->2,1,48,48 |
nothing calls this directly
no test coverage detected