convolutional_pose_machine.py 文件源码

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

项目:convolutional-pose-machines-chainer 作者: tomoyukun 项目源码 文件源码
def __call__(self, image, cmap, t):
        self.clear()
        h1 = self.stage1(image)
        h2 = self.branch(image)
        self.loss = F.mean_squared_error(h1, t)

        for name, _ in self.forward:
            f = getattr(self, name)
            h1 = f(h1, h2, cmap)
            self.loss += F.mean_squared_error(h1, t)

        return h1, self.loss
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号