卷积神经网络常用函数Pytorch
作者:互联网
上下采样函数--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]
标签:kernel,卷积,神经网络,interpolate,seg,Pytorch,num,grid,feat 来源: https://www.cnblogs.com/ytshang/p/15651701.html