(self, x)
| 240 | self.classifier=nn.Conv2d(128, num_classes, 1) |
| 241 | |
| 242 | def forward(self, x): |
| 243 | #intput_shape=x.shape[-2:] |
| 244 | x8, x16=x["8"],x["16"] |
| 245 | x16=self.head16(x16) |
| 246 | x16 = F.interpolate(x16, size=x8.shape[-2:], mode='bilinear', align_corners=False) |
| 247 | x8=self.head8(x8) |
| 248 | x= x8 + x16 |
| 249 | x=self.conv(x) |
| 250 | x=self.classifier(x) |
| 251 | return x |
| 252 | |
| 253 | class Exp2_Decoder14(nn.Module): |
| 254 | def __init__(self, num_classes, channels): |
nothing calls this directly
no outgoing calls
no test coverage detected