retinanet.py 文件源码

python
阅读 25 收藏 0 点赞 0 评论 0

项目:RetinaNet 作者: c0nn3r 项目源码 文件源码
def _upsample(self, original_feature, scaled_feature, scale_factor=2):
        # is this correct? You do lose information on the upscale...
        height, width = scaled_feature.size()[2:]
        return F.upsample(original_feature, scale_factor=scale_factor)[:, :, :height, :width]
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号