retinaface mxnet pytorch caffe upsample

1、

https://github.com/jnulzl/Pytorch_Retinaface_To_Caffe
作者在 mycaffe 提供了该层源码

这里的caffe是,上采样NEAREST实现的
#####################Upsample_nearest_1#####################
layer{
name:“Upsample_nearest_1”
type:“Upsample”
bottom:“Conv2d_87”
bottom:“Conv2d_84”
top:“Upsample_nearest_1”
upsample_param{
mode: NEAREST
}
}

retinaface mxnet pytorch caffe upsample
retinaface mxnet pytorch caffe upsample

2、mxnet 直接转换caffe

https://github.com/clancylian/retinaface
但是upsample,使用 Convolution + crop 实现,有一点点精度损失

retinaface mxnet pytorch caffe upsample