上下采样函数--interpolate
参考链接:https://zhuanlan.zhihu.com/p/166323682
x = nn.functional.interpolate(x, scale_factor=8, mode='bilinear', align_corners=False)
solov2 kernel_feat = F.interpolate(kernel_feat, size=seg_num_grid, mode='bilinear') #上采样 成 [1, seg_num_grid, seg_num_grid]