Closed BugOOM closed 1 year ago
self.short_conv = nn.Sequential( nn.Conv2d(inp, oup, kernel_size, stride, kernel_size//2, bias=False), nn.BatchNorm2d(oup), nn.Conv2d(oup, oup, kernel_size=(1,5), stride=1, padding=(0,2), groups=oup,bias=False), nn.BatchNorm2d(oup), nn.Conv2d(oup, oup, kernel_size=(5,1), stride=1, padding=(2,0), groups=oup,bias=False), nn.BatchNorm2d(oup), )
关于实际部署,4.1节最后一段有详细讨论,供参考。