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
convolutional_pose_machine.py 文件源码
python
阅读 24
收藏 0
点赞 0
评论 0
评论列表
文章目录